![]() |
The Blaze library currently offers two dense vector types (StaticVector and DynamicVector) and one sparse vector type (CompressedVector). All vectors can be specified as either column vectors
or row vectors
Per default, all vectors in Blaze are column vectors.
The blaze::StaticVector class template is the representation of a fixed-size vector with statically allocated elements of arbitrary type. The type of the elements, the number of elements, and the transpose flag of the vector can be specified via the three template parameters:
blaze::rowVector
) or a column vector (blaze::columnVector
). The default value is blaze::columnVector
.
The blaze::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:
blaze::rowVector
) or a column vector (blaze::columnVector
). The default value is blaze::columnVector
.
The blaze::CompressedVector class is the representation of an arbitrarily sized sparse vector, which stores only non-zero elements of arbitrary type. The type of the elements and the transpose flag of the vector can be specified via the two template parameters:
blaze::rowVector
) or a column vector (blaze::columnVector
). The default value is blaze::columnVector
.