|
Blaze 3.9
|
Expression object for fixing the size of a dense vector. More...
#include <DVecFixExpr.h>
Public Member Functions | |
| DVecFixExpr (VT &dv) noexcept | |
| Constructor for the DVecTransposer class. | |
| template<typename Type> | |
| DVecFixExpr & | operator= (initializer_list< Type > list) |
| List assignment to all vector elements. | |
| template<typename Other, size_t Dim> | |
| DVecFixExpr & | operator= (const Other(&array)[Dim]) |
| Array assignment to all vector elements. | |
| template<typename Other, size_t Dim> | |
| DVecFixExpr & | operator= (const std::array< Other, Dim > &array) |
| Array assignment to all vector elements. | |
| template<typename VT2> | |
| DVecFixExpr & | operator= (const Vector< VT2, TF > &rhs) |
| Assignment operator for different vectors. | |
Private Attributes | |
| VT & | dv_ |
| The dense vector operand. | |
Expression object for fixing the size of a dense vector.
The DVecFixExpr class represents the compile time expression for fixing the size of dense vectors.
|
inlineexplicitnoexcept |
Constructor for the DVecTransposer class.
| dv | The dense vector operand. |
|
inline |
Array assignment to all vector elements.
| array | Static array for the assignment. |
| std::invalid_argument | Invalid assignment to fixed-size vector. |
This assignment operator offers the option to directly (copy) assign to all elements of the vector by means of a static array. In case the size of the given array doesn't match the size of this vector, a std::invalid_argument exception is thrown.
|
inline |
Array assignment to all vector elements.
| array | The given std::array for the assignment. |
| std::invalid_argument | Invalid assignment to fixed-size vector. |
This assignment operator offers the option to directly (copy) assign to all elements of the vector by means of a std::array. In case the size of the given array doesn't match the size of this vector, a std::invalid_argument exception is thrown.
|
inline |
Assignment operator for different vectors.
| rhs | Vector to be copied. |
| std::invalid_argument | Invalid assignment to fixed-size vector. |
This assignment operator offers the option to directly (copy) assign to all elements of the vector by means of a vector. In case the size of the given vector doesn't match the size of this vector, a std::invalid_argument exception is thrown.
|
inline |
List assignment to all vector elements.
| list | The initializer list. |
| std::invalid_argument | Invalid assignment to fixed-size vector. |
This assignment operator offers the option to directly (copy) assign to all elements of the vector by means of an initializer list. In case the size of the given initializer doesn't match the size of this vector, a std::invalid_argument exception is thrown.