35#ifndef _BLAZE_MATH_EXPRESSIONS_SVECFIXEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_SVECFIXEXPR_H_
93 template<
typename Type >
96 if(
sv_.size() != list.size() ) {
117 template<
typename VT2 >
120 if(
sv_.size() != (*rhs).size() ) {
Deactivation of problematic macros.
Expression object for fixing the size of a sparse vector.
Definition: SVecFixExpr.h:70
SVecFixExpr(VT &sv) noexcept
Constructor for the SVecTransposer class.
Definition: SVecFixExpr.h:77
SVecFixExpr & operator=(const Vector< VT2, TF > &rhs)
Assignment operator for different vectors.
Definition: SVecFixExpr.h:118
VT & sv_
The sparse vector operand.
Definition: SVecFixExpr.h:132
SVecFixExpr & operator=(initializer_list< Type > list)
List assignment to all vector elements.
Definition: SVecFixExpr.h:94
Base class for sparse vectors.
Definition: SparseVector.h:72
Base class for N-dimensional vectors.
Definition: Vector.h:82
Constraint on the data type.
Constraint on the data type.
Header file for the SparseVector 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_VECTOR_WITH_TRANSPOSE_FLAG(T, TF)
Constraint on the data type.
Definition: TransposeFlag.h:63
#define BLAZE_CONSTRAINT_MUST_BE_SPARSE_VECTOR_TYPE(T)
Constraint on the data type.
Definition: SparseVector.h:61
decltype(auto) fix(SparseVector< VT, TF > &sv) noexcept
Fixing the size of the given sparse vector.
Definition: SVecFixExpr.h:172
#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.
Constraint on the data type.