35#ifndef _BLAZE_MATH_EXPRESSIONS_SMATFIXEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_SMATFIXEXPR_H_
93 template<
typename Type >
117 template<
typename MT2
121 if(
sm_.rows() != (*rhs).rows() ||
sm_.columns() != (*rhs).columns() ) {
Deactivation of problematic macros.
Base class for matrices.
Definition: Matrix.h:85
Expression object for fixing the size of a sparse matrix.
Definition: SMatFixExpr.h:70
SMatFixExpr & operator=(const Matrix< MT2, SO2 > &rhs)
Assignment operator for different matrices.
Definition: SMatFixExpr.h:119
SMatFixExpr(MT &sm) noexcept
Constructor for the SMatTransposer class.
Definition: SMatFixExpr.h:77
SMatFixExpr & operator=(initializer_list< initializer_list< Type > > list)
List assignment to all matrix elements.
Definition: SMatFixExpr.h:94
MT & sm_
The sparse matrix operand.
Definition: SMatFixExpr.h:133
Base class for sparse matrices.
Definition: SparseMatrix.h:77
Constraint on the data type.
Constraint on the data type.
Header file for the SparseMatrix base class.
#define BLAZE_CONSTRAINT_MUST_NOT_BE_EXPRESSION_TYPE(T)
Constraint on the data type.
Definition: Expression.h:81
#define BLAZE_CONSTRAINT_MUST_BE_SPARSE_MATRIX_TYPE(T)
Constraint on the data type.
Definition: SparseMatrix.h:61
#define BLAZE_CONSTRAINT_MUST_BE_MATRIX_WITH_STORAGE_ORDER(T, SO)
Constraint on the data type.
Definition: StorageOrder.h:63
constexpr size_t determineColumns(initializer_list< initializer_list< Type > > list) noexcept
Determines the maximum number of columns specified by the given initializer list.
Definition: InitializerList.h:107
decltype(auto) fix(SparseMatrix< MT, SO > &sm) noexcept
Fixing the size of the given sparse matrix.
Definition: SMatFixExpr.h:173
#define BLAZE_THROW_INVALID_ARGUMENT(MESSAGE)
Macro for the emission of a std::invalid_argument exception.
Definition: Exception.h:235
Header file for the exception macros of the math module.
Header file for the extended initializer_list functionality.
Constraints on the storage order of matrix types.