struct
#include <eckit/linalg/SparseMatrix.h>
Shape
Constructors, destructors, conversion operators
- Shape() defaulted
Public functions
- void reset()
- auto rows() const -> Size
- auto cols() const -> Size
- auto nonZeros() const -> Size
- auto dataSize() const -> Size
- auto innerSize() const -> Size
- auto outerSize() const -> Size
- auto allocSize() const -> size_t
- auto sizeofData() const -> size_t
- auto sizeofOuter() const -> size_t
- auto sizeofInner() const -> size_t
-
void print(std::
ostream&) const
Public variables
Friends
-
auto operator<<(std::
ostream& os, const Shape& p) -> std:: ostream&
Function documentation
Size eckit:: linalg:: SparseMatrix:: Shape:: rows() const
Returns | number of rows |
---|
Size eckit:: linalg:: SparseMatrix:: Shape:: cols() const
Returns | number of columns |
---|
Size eckit:: linalg:: SparseMatrix:: Shape:: nonZeros() const
Returns | number of non-zeros |
---|
Size eckit:: linalg:: SparseMatrix:: Shape:: dataSize() const
Returns | number of non-zeros |
---|
Size eckit:: linalg:: SparseMatrix:: Shape:: innerSize() const
Returns | number of non-zeros |
---|
Size eckit:: linalg:: SparseMatrix:: Shape:: outerSize() const
Returns | outer size is number of rows + 1 |
---|