35#ifndef _BLAZE_MATH_EXPRESSIONS_DVECFIXEXPR_H_
36#define _BLAZE_MATH_EXPRESSIONS_DVECFIXEXPR_H_
95 template<
typename Type >
98 if(
dv_.size() != list.size() ) {
119 template<
typename Other
123 if(
dv_.size() != Dim ) {
144 template<
typename Other
148 if(
dv_.size() != Dim ) {
169 template<
typename VT2 >
172 if(
dv_.size() != (*rhs).size() ) {
Deactivation of problematic macros.
Expression object for fixing the size of a dense vector.
Definition: DVecFixExpr.h:72
DVecFixExpr & operator=(const Vector< VT2, TF > &rhs)
Assignment operator for different vectors.
Definition: DVecFixExpr.h:170
VT & dv_
The dense vector operand.
Definition: DVecFixExpr.h:184
DVecFixExpr & operator=(initializer_list< Type > list)
List assignment to all vector elements.
Definition: DVecFixExpr.h:96
DVecFixExpr & operator=(const Other(&array)[Dim])
Array assignment to all vector elements.
Definition: DVecFixExpr.h:121
DVecFixExpr(VT &dv) noexcept
Constructor for the DVecTransposer class.
Definition: DVecFixExpr.h:79
DVecFixExpr & operator=(const std::array< Other, Dim > &array)
Array assignment to all vector elements.
Definition: DVecFixExpr.h:146
Base class for N-dimensional dense vectors.
Definition: DenseVector.h:77
Base class for N-dimensional vectors.
Definition: Vector.h:82
Constraint on the data type.
Constraint on the data type.
Header file for the DenseVector base class.
decltype(auto) fix(DenseVector< VT, TF > &dv) noexcept
Fixing the size of the given dense vector.
Definition: DVecFixExpr.h:224
#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_DENSE_VECTOR_TYPE(T)
Constraint on the data type.
Definition: DenseVector.h:61
#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.
Header file for basic type definitions.