SyTen
sparse_transpose.h File Reference

Transposition of a sparse tensor. More...

+ Include dependency graph for sparse_transpose.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 syten
 Syten namespace.
 

Functions

template<typename Scalar >
SparseTensor< 2, Scalar > syten::herm (SparseTensor< 2, Scalar > const &a)
 Transposes the last two indices and complex-conjugates all entries. More...
 
template<Rank rank, typename Scalar >
SparseTensor< rank, Scalar > syten::multi_transpose (SparseTensor< rank, Scalar > const &in, ConstSpan< Index > const perm, bool conjugate=false)
 Transposes the sparse tensor according to the permutation perm. More...
 
template<typename Scalar >
SparseTensor< 2, Scalar > syten::transpose (SparseTensor< 2, Scalar > const &a)
 Transposes the last two indices. More...
 
template<Rank rank, typename Scalar >
SparseTensor< rank, Scalar > syten::transpose_exchange (SparseTensor< rank, Scalar > const &a, ConstSpan< Index > axes, bool conjugate=false)
 Transposes the two legs specified by axes of the sparse tensor a and conjugates each element if conjugate is true. More...
 

Detailed Description

Transposition of a sparse tensor.