|
Blaze 3.9
|
Expression object for fixing the size of a dense matrix. More...
#include <DMatFixExpr.h>
Public Member Functions | |
| DMatFixExpr (MT &dm) noexcept | |
| Constructor for the DMatTransposer class. | |
| template<typename Type> | |
| DMatFixExpr & | operator= (initializer_list< initializer_list< Type > > list) |
| List assignment to all matrix elements. | |
| template<typename Other, size_t Rows, size_t Cols> | |
| DMatFixExpr & | operator= (const Other(&array)[Rows][Cols]) |
| Array assignment to all matrix elements. | |
| template<typename Other, size_t Rows, size_t Cols> | |
| DMatFixExpr & | operator= (const std::array< std::array< Other, Cols >, Rows > &array) |
| Array assignment to all matrix elements. | |
| template<typename MT2, bool SO2> | |
| DMatFixExpr & | operator= (const Matrix< MT2, SO2 > &rhs) |
| Assignment operator for different matrices. | |
Private Attributes | |
| MT & | dm_ |
| The dense matrix operand. | |
Expression object for fixing the size of a dense matrix.
The DMatFixExpr class represents the compile time expression for fixing the size of dense matrices.
|
inlineexplicitnoexcept |
Constructor for the DMatTransposer class.
| dm | The dense matrix operand. |
|
inline |
Assignment operator for different matrices.
| rhs | Matrix to be copied. |
| std::invalid_argument | Invalid assignment to fixed-size matrix. |
This assignment operator offers the option to directly (copy) assign to all elements of the matrix by means of a matrix. In case the size of the given matrix doesn't match the size of this matrix, a std::invalid_argument exception is thrown.
|
inline |
Array assignment to all matrix elements.
| array | Static array for the assignment. |
| std::invalid_argument | Invalid assignment to fixed-size matrix. |
This assignment operator offers the option to directly (copy) assign to all elements of the matrix by means of a static array. In case the size of the given array doesn't match the size of this matrix, a std::invalid_argument exception is thrown.
|
inline |
Array assignment to all matrix elements.
| array | The given std::array for the assignment. |
| std::invalid_argument | Invalid assignment to fixed-size matrix. |
This assignment operator offers the option to directly (copy) assign to all elements of the matrix by means of a std::array. In case the size of the given array doesn't match the size of this matrix, a std::invalid_argument exception is thrown.
|
inline |
List assignment to all matrix elements.
| list | The initializer list. |
| std::invalid_argument | Invalid assignment to fixed-size matrix. |
This assignment operator offers the option to directly (copy) assign to all elements of the matrix by means of an initializer list. In case the size of the given initializer doesn't match the size of this matrix, a std::invalid_argument exception is thrown.