|
template<typename Type , size_t N, bool TF> |
void | blaze::reset (StaticVector< Type, N, TF > &v) |
| Resetting the given static vector. More...
|
|
template<typename Type , size_t N, bool TF> |
void | blaze::clear (StaticVector< Type, N, TF > &v) |
| Clearing the given static vector. More...
|
|
template<typename Type , size_t N, bool TF> |
bool | blaze::isDefault (const StaticVector< Type, N, TF > &v) |
| Returns whether the given static vector is in default state. More...
|
|
template<typename Type , size_t N, bool TF> |
void | blaze::swap (StaticVector< Type, N, TF > &a, StaticVector< Type, N, TF > &b) |
| Swapping the contents of two static vectors. More...
|
|
template<typename Type , size_t N, bool TF> |
void | blaze::move (StaticVector< Type, N, TF > &dst, StaticVector< Type, N, TF > &src) |
| Moving the contents of one static vector to another. More...
|
|
template<typename Type , bool TF> |
const StaticVector< Type, 2UL, TF > | blaze::perp (const StaticVector< Type, 2UL, TF > &v) |
| Unary perp dot product operator for the calculation of a perpendicular vector ( ). More...
|
|
template<typename Type , bool TF> |
const StaticVector< Type, 3UL, TF > | blaze::perp (const StaticVector< Type, 3UL, TF > &v) |
| Creates a perpendicular vector b which satisfies . More...
|
|
template<typename Type, size_t N, bool TF = defaultTransposeFlag>
Compilation flag for intrinsic optimization.
The vectorizable compilation flag indicates whether expressions the vector is involved in can be optimized via intrinsics. In case the element type of the vector is a vectorizable data type, the vectorizable compilation flag is set to true, otherwise it is set to false.
template<typename Type, size_t N, bool TF = defaultTransposeFlag>
Compilation flag for SMP assignments.
The smpAssignable compilation flag indicates whether the vector can be used in SMP (shared memory parallel) assignments (both on the left-hand and right-hand side of the assignment).
template<typename Type , size_t N, bool TF>
bool blaze::isDefault |
( |
const StaticVector< Type, N, TF > & |
v | ) |
|
|
inline |
Returns whether the given static vector is in default state.
- Parameters
-
v | The vector to be tested for its default state. |
- Returns
- true in case the given vector is component-wise zero, false otherwise.
This function checks whether the static vector is in default state. For instance, in case the static vector is instantiated for a built-in integral or floating point data type, the function returns true in case all vector elements are 0 and false in case any vector element is not 0. Following example demonstrates the use of the isDefault function: