Tenncor
Classes | Namespaces | Typedefs | Functions
funcarg.hpp File Reference
#include "teq/itensor.hpp"
#include "teq/coord.hpp"
Include dependency graph for funcarg.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  teq::FuncArg
 Coordinate mapper and tensor pair. More...
 

Namespaces

 teq
 

Typedefs

using teq::ArgsT = std::vector< FuncArg >
 Type of functor arguments. More...
 

Functions

Shape teq::apply_shaper (const CoordptrT &shaper, Shape inshape)
 
FuncArg teq::identity_map (TensptrT tensor)
 Return FuncArg that identity maps input tensor. More...
 
FuncArg teq::reduce_1d_map (TensptrT tensor, RankT rank)
 
FuncArg teq::reduce_map (TensptrT tensor, RankT rank, std::vector< DimT > red)
 
FuncArg teq::extend_map (TensptrT tensor, RankT rank, std::vector< DimT > ext)
 
FuncArg teq::permute_map (TensptrT tensor, std::vector< RankT > order)
 
FuncArg teq::flip_map (TensptrT tensor, RankT dim)
 Return FuncArg that flips input tensor along dimension. More...
 
ArgsT teq::to_args (TensptrsT tens)
 Return ArgsT with each tensor in TensptrsT attached to identity mapper. More...