![]() |
Expression object for the transposition of a dense matrix.The DMatTransposer class is a wrapper object for the temporary transposition of a dense matrix. More...
#include <DMatTransposer.h>
Inherits blaze::DenseMatrix< DMatTransposer< MT, SO >, SO >.
Public Types | |
enum | { vectorizable = MT::vectorizable } |
Compilation flag for intrinsic optimization. More... | |
typedef DMatTransposer< MT, SO > | This |
Type of this DMatTransposer instance. | |
typedef MT::TransposeType | ResultType |
Result type for expression template evaluations. | |
typedef MT::OppositeType | OppositeType |
Result type with opposite storage order for expression template evaluations. | |
typedef MT::ResultType | TransposeType |
Transpose type for expression template evaluations. | |
typedef MT::ElementType | ElementType |
Resulting element type. | |
typedef MT::ReturnType | ReturnType |
Return type for expression template evaluations. | |
typedef const This & | CompositeType |
Data type for composite expression templates. | |
typedef MT::Reference | Reference |
Reference to a non-constant matrix value. | |
typedef MT::ConstReference | ConstReference |
Reference to a constant matrix value. | |
typedef MT | MatrixType |
Type of the matrix. | |
Public Member Functions | |
DMatTransposer (MT &dm) | |
Constructor for the DMatTransposer class. | |
Reference | operator() (size_t i, size_t j) |
2D-access to the matrix elements. | |
ElementType * | data () |
Low-level data access to the matrix elements. | |
size_t | rows () const |
Returns the current number of rows of the matrix. | |
size_t | columns () const |
Returns the current number of columns of the matrix. | |
size_t | spacing () const |
Returns the spacing between the beginning of two rows. | |
void | reset () |
Resets the matrix elements. | |
template<typename Other > | |
bool | isAliased (const Other *alias) const |
Returns whether the matrix is aliased with the given address alias. | |
template<typename MT2 > | |
void | assign (const DenseMatrix< MT2, SO > &rhs) |
Implementation of the transpose assignment of a row-major dense matrix. | |
template<typename MT2 > | |
void | assign (const DenseMatrix< MT2,!SO > &rhs) |
Implementation of the transpose assignment of a column-major dense matrix. | |
template<typename MT2 > | |
void | assign (const SparseMatrix< MT2, SO > &rhs) |
Implementation of the transpose assignment of a row-major sparse matrix. | |
template<typename MT2 > | |
void | assign (const SparseMatrix< MT2,!SO > &rhs) |
Implementation of the transpose assignment of a column-major sparse matrix. | |
template<typename MT2 > | |
void | addAssign (const DenseMatrix< MT2, SO > &rhs) |
Implementation of the transpose addition assignment of a row-major dense matrix. | |
template<typename MT2 > | |
void | addAssign (const DenseMatrix< MT2,!SO > &rhs) |
Implementation of the transpose addition assignment of a column-major dense matrix. | |
template<typename MT2 > | |
void | addAssign (const SparseMatrix< MT2, SO > &rhs) |
Implementation of the transpose addition assignment of a row-major sparse matrix. | |
template<typename MT2 > | |
void | addAssign (const SparseMatrix< MT2,!SO > &rhs) |
Implementation of the transpose addition assignment of a column-major sparse matrix. | |
template<typename MT2 > | |
void | subAssign (const DenseMatrix< MT2, SO > &rhs) |
Implementation of the transpose subtraction assignment of a row-major dense matrix. | |
template<typename MT2 > | |
void | subAssign (const DenseMatrix< MT2,!SO > &rhs) |
Implementation of the transpose subtraction assignment of a column-major dense matrix. | |
template<typename MT2 > | |
void | subAssign (const SparseMatrix< MT2, SO > &rhs) |
Implementation of the transpose subtraction assignment of a row-major sparse matrix. | |
template<typename MT2 > | |
void | subAssign (const SparseMatrix< MT2,!SO > &rhs) |
Implementation of the transpose subtraction assignment of a column-major sparse matrix. | |
MatrixType & | operator~ () |
Conversion operator for non-constant matrices. | |
const MatrixType & | operator~ () const |
Conversion operator for constant matrices. | |
Private Attributes | |
MT & | dm_ |
The dense matrix operand. | |
Expression object for the transposition of a dense matrix.
The DMatTransposer class is a wrapper object for the temporary transposition of a dense matrix.
anonymous enum |
Compilation flag for intrinsic optimization.
The vectorizable compilation flag indicates whether expressions the matrix is involved in can be optimized via intrinsics. In case the dense matrix operand is vectorizable, the vectorizable compilation flag is set to true, otherwise it is set to false.
|
inlineexplicit |
Constructor for the DMatTransposer class.
dm | The dense matrix operand. |
|
inline |
Implementation of the transpose addition assignment of a row-major dense matrix.
rhs | The right-hand side dense matrix to be added. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.
|
inline |
Implementation of the transpose addition assignment of a column-major dense matrix.
rhs | The right-hand side dense matrix to be added. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.
|
inline |
Implementation of the transpose addition assignment of a row-major sparse matrix.
rhs | The right-hand side sparse matrix to be added. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.
|
inline |
Implementation of the transpose addition assignment of a column-major sparse matrix.
rhs | The right-hand side sparse matrix to be added. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.
|
inline |
Implementation of the transpose assignment of a row-major dense matrix.
rhs | The right-hand side dense matrix to be assigned. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.
|
inline |
Implementation of the transpose assignment of a column-major dense matrix.
rhs | The right-hand side dense matrix to be assigned. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.
|
inline |
Implementation of the transpose assignment of a row-major sparse matrix.
rhs | The right-hand side sparse matrix to be assigned. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.
|
inline |
Implementation of the transpose assignment of a column-major sparse matrix.
rhs | The right-hand side sparse matrix to be assigned. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.
|
inline |
Returns the current number of columns of the matrix.
|
inline |
Low-level data access to the matrix elements.
|
inline |
Returns whether the matrix is aliased with the given address alias.
alias | The alias to be checked. |
|
inline |
2D-access to the matrix elements.
i | Access index for the row. The index has to be in the range ![]() |
j | Access index for the column. The index has to be in the range ![]() |
|
inlineinherited |
Conversion operator for non-constant matrices.
|
inlineinherited |
Conversion operator for constant matrices.
|
inline |
Resets the matrix elements.
|
inline |
Returns the current number of rows of the matrix.
|
inline |
Returns the spacing between the beginning of two rows.
|
inline |
Implementation of the transpose subtraction assignment of a row-major dense matrix.
rhs | The right-hand side dense matrix to be subtracted. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.
|
inline |
Implementation of the transpose subtraction assignment of a column-major dense matrix.
rhs | The right-hand side dense matrix to be subtracted. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.
|
inline |
Implementation of the transpose subtraction assignment of a row-major sparse matrix.
rhs | The right-hand side sparse matrix to be subtracted. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.
|
inline |
Implementation of the transpose subtraction assignment of a column-major sparse matrix.
rhs | The right-hand side sparse matrix to be subtracted. |
This function must NOT be called explicitly! It is used internally for the performance optimized evaluation of expression templates. Calling this function explicitly might result in erroneous results and/or in compilation errors. Instead of using this function use the assignment operator.