![]() |
CLA3P v0.3.1
Compact Linear Algebra Parallel Portable Package
|
One-dimensional metadata container. More...
Public Member Functions | |
| T_Int | size () const |
| Vector size. | |
| bool | empty () const |
| Tests whether the object has zero dimension. | |
| operator bool () const | |
| Boolean conversion operator. | |
One-dimensional metadata container.
| T_Int | Integer type for storing the dimension value. |
Provides storage and accessors for vector size. This class serves as a base for dimension metadata in dense vector structures.
|
inline |
Vector size.
Returns the number of entries stored in (*this).
|
inline |
Tests whether the object has zero dimension.
Returns true if the size is zero.
true if the object is empty, false otherwise.
|
inlineexplicit |
Boolean conversion operator.
Enables implicit conversion to bool; returns true if object has non-zero dimension.
true if the object is not empty, false otherwise.