template<typename MT, bool SO>
class blaze::SMatFixExpr< MT, SO >
Expression object for fixing the size of a sparse matrix.
The SMatFixExpr class represents the compile time expression for fixing the size of sparse matrices.
template<typename MT , bool SO>
template<typename MT2 , bool SO2>
Assignment operator for different matrices.
- Parameters
-
- Exceptions
-
std::invalid_argument | Invalid assignment to fixed-size matrix. |
- Returns
- Reference to the assigned 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.
template<typename MT , bool SO>
template<typename Type >
List assignment to all matrix elements.
- Parameters
-
list | The initializer list. |
- Exceptions
-
std::invalid_argument | Invalid assignment to fixed-size matrix. |
- Returns
- Reference to the assigned 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.