Expression object for fixing the size of a dense vector.
More...
#include <DVecFixExpr.h>
|
VT & | dv_ |
| The dense vector operand.
|
|
template<typename VT, bool TF>
class blaze::DVecFixExpr< VT, TF >
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.
◆ DVecFixExpr()
template<typename VT , bool TF>
Constructor for the DVecTransposer class.
- Parameters
-
dv | The dense vector operand. |
◆ operator=() [1/4]
template<typename VT , bool TF>
template<typename Other , size_t Dim>
Array assignment to all vector elements.
- Parameters
-
array | Static array for the assignment. |
- Exceptions
-
std::invalid_argument | Invalid assignment to fixed-size vector. |
- Returns
- Reference to the assigned 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.
◆ operator=() [2/4]
template<typename VT , bool TF>
template<typename Other , size_t Dim>
Array assignment to all vector elements.
- Parameters
-
array | The given std::array for the assignment. |
- Exceptions
-
std::invalid_argument | Invalid assignment to fixed-size vector. |
- Returns
- Reference to the assigned 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.
◆ operator=() [3/4]
template<typename VT , bool TF>
template<typename VT2 >
Assignment operator for different vectors.
- Parameters
-
- Exceptions
-
std::invalid_argument | Invalid assignment to fixed-size vector. |
- Returns
- Reference to the assigned 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.
◆ operator=() [4/4]
template<typename VT , bool TF>
template<typename Type >
List assignment to all vector elements.
- Parameters
-
list | The initializer list. |
- Exceptions
-
std::invalid_argument | Invalid assignment to fixed-size vector. |
- Returns
- Reference to the assigned 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.
The documentation for this class was generated from the following file: