SLATE 2024.05.31
Software for Linear Algebra Targeting Exascale
|
Modules | |
Constructor functions | |
Useful functions for SLATE's "lambda" constructors. | |
Functions | |
template<typename MatrixType > | |
MatrixType | slate::transpose (MatrixType &A) |
Transpose a Tile or any type of Matrix object, changing op flag from NoTrans to Trans, or from Trans to NoTrans. | |
template<typename MatrixType > | |
MatrixType | slate::conj_transpose (MatrixType &A) |
Conjugate-transpose a Tile or any type of Matrix object, changing op flag from NoTrans to ConjTrans, or from ConjTrans to NoTrans. | |
template<typename T > | |
T | slate::internal::next_power2 (T x) |
MatrixType slate::conj_transpose | ( | MatrixType & | A | ) |
Conjugate-transpose a Tile or any type of Matrix object, changing op flag from NoTrans to ConjTrans, or from ConjTrans to NoTrans.
Returns shallow copy of op(A) that is conjugate-transpose.
T slate::internal::next_power2 | ( | T | x | ) |
MatrixType slate::transpose | ( | MatrixType & | A | ) |
Transpose a Tile or any type of Matrix object, changing op flag from NoTrans to Trans, or from Trans to NoTrans.
Returns shallow copy of op(A) that is transposed.
Making this a template avoids repeating the code ad nauseam in each class. Tile and BaseMatrix make this a friend, to change op.