![]() |
CLA3P v0.3.1
Compact Linear Algebra Parallel Portable Package
|
Two-dimensional metadata container. More...

Public Member Functions | |
| virtual T_Int | nrows () const |
| Number of rows. | |
| virtual T_Int | ncols () const |
| Number of columns. | |
| bool | empty () const |
| Tests whether the object has zero dimensions. | |
| operator bool () const | |
| Boolean conversion operator. | |
Two-dimensional metadata container.
| T_Int | Integer type for storing dimension values. |
Provides storage and accessors for matrix dimensions (rows and columns). This class serves as a base for dimension metadata in dense matrix structures.
|
inlinevirtual |
Number of rows.
Returns the number of rows stored in (*this).
Reimplemented in cla3p::lra::XxMatrix< T_Matrix >, cla3p::lra::XxMatrix< dns::CdMatrix >, cla3p::lra::XxMatrix< dns::CfMatrix >, cla3p::lra::XxMatrix< dns::RdMatrix >, and cla3p::lra::XxMatrix< dns::RfMatrix >.
|
inlinevirtual |
Number of columns.
Returns the number of columns stored in (*this).
Reimplemented in cla3p::lra::XxMatrix< T_Matrix >, cla3p::lra::XxMatrix< dns::CdMatrix >, cla3p::lra::XxMatrix< dns::CfMatrix >, cla3p::lra::XxMatrix< dns::RdMatrix >, and cla3p::lra::XxMatrix< dns::RfMatrix >.
|
inline |
Tests whether the object has zero dimensions.
Returns true if either dimension 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 dimensions.
true if the object is not empty, false otherwise.