![]() |
Classes | |
struct | blaze::DynamicVector< Type, TF >::Rebind< ET > |
Rebind mechanism to obtain a DynamicVector with different data/element type. More... | |
class | blaze::DynamicVector< Type, TF > |
Efficient implementation of an arbitrary sized vector.The DynamicVector class template is the representation of an arbitrary sized vector with dynamically allocated elements of arbitrary type. The type of the elements and the transpose flag of the vector can be specified via the two template parameters: More... | |
Typedefs | |
typedef DynamicVector< float, false > | blaze::VecNf |
N-dimensional single precision vector. | |
typedef DynamicVector< double, false > | blaze::VecNd |
N-dimensional double precision vector. | |
typedef DynamicVector< real, false > | blaze::VecN |
N-dimensional vector with system-specific precision. | |
Enumerations | |
enum | { vectorizable = IsVectorizable<Type>::value } |
Compilation flag for intrinsic optimization. More... | |
enum | { smpAssignable = !IsSMPAssignable<Type>::value } |
Compilation flag for SMP assignments. More... | |
DynamicVector operators | |
template<typename Type , bool TF> | |
void | blaze::reset (DynamicVector< Type, TF > &v) |
Resetting the given dynamic vector. More... | |
template<typename Type , bool TF> | |
void | blaze::clear (DynamicVector< Type, TF > &v) |
Clearing the given dynamic vector. More... | |
template<typename Type , bool TF> | |
bool | blaze::isDefault (const DynamicVector< Type, TF > &v) |
Returns whether the given dynamic vector is in default state. More... | |
template<typename Type , bool TF> | |
void | blaze::swap (DynamicVector< Type, TF > &a, DynamicVector< Type, TF > &b) |
Swapping the contents of two vectors. More... | |
template<typename Type , bool TF> | |
void | blaze::move (DynamicVector< Type, TF > &dst, DynamicVector< Type, TF > &src) |
Moving the contents of one dynamic vector to another. More... | |
anonymous enum |
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 an intrinsic data type, the vectorizable compilation flag is set to true, otherwise it is set to false.
anonymous enum |
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).
|
inline |
Clearing the given dynamic vector.
v | The dynamic vector to be cleared. |
|
inline |
Returns whether the given dynamic vector is in default state.
v | The dynamic vector to be tested for its default state. |
This function checks whether the dynamic vector is in default (constructed) state, i.e. if it's size is 0. In case it is in default state, the function returns true, else it will return false. The following example demonstrates the use of the isDefault() function:
|
inline |
Moving the contents of one dynamic vector to another.
dst | The destination vector. |
src | The source vector. |
no-throw | guarantee. |
|
inline |
Resetting the given dynamic vector.
v | The dynamic vector to be resetted. |
|
inline |
Swapping the contents of two vectors.
a | The first vector to be swapped. |
b | The second vector to be swapped. |
no-throw | guarantee. |