Matrix transposition functions. More...
#include "inc/util/span.h"
#include "inc/util/toggle_enums.h"
#include "inc/util/scalars.h"
#include "inc/dense/dense.h"
#include "inc/dense/dense_conj.h"
Namespaces | |
namespace | syten |
Syten namespace. | |
Functions | |
template<typename Scalar > | |
DenseTensor< 2, Scalar > | syten::herm (DenseTensor< 2, Scalar > const &in) |
Convenience entry point for hermitian conjugation of a matrix. More... | |
template<typename Scalar > | |
DenseTensor< 2, Scalar > | syten::transpose (DenseTensor< 2, Scalar > const &in, Conj const conj=Conj::n()) |
Convenience entry point for transposition of a matrix. More... | |
template<typename Scalar , Index use_library = 1> | |
void | syten::transpose_r2 (ConstSpan< Scalar > const inp, MutSpan< Scalar > out, Index const inp_rows, Index const inp_cols, Conj const conj=Conj::n()) |
Standard entry point for rank-2 transposition of any continous array, handles used backend as necessary. More... | |
template<typename Scalar , Index use_library = 1> | |
DenseTensor< 2, Scalar > | syten::transpose_r2 (DenseTensor< 2, Scalar > const &in, Conj const conj=Conj::n()) |
Standard entry point for rank-2 transposition of a DenseTensor. More... | |
template<typename Scalar > | |
void | syten::transpose_r2_direct (ConstSpan< Scalar > const inp, MutSpan< Scalar > out, Index const inp_rows, Index const inp_cols, Conj const do_conj=Conj::n()) |
Direct, naive, error-free transposition. More... | |
template<typename Scalar > | |
void | syten::transpose_r2_lib (ConstSpan< Scalar > const inp, MutSpan< Scalar > out, Index const inp_rows, Index const inp_cols, Conj const conj=Conj::n()) |
Entry point for library-backed transposition of arrays. More... | |
Matrix transposition functions.