#include <Kokkos_CisMatrix.hpp>
Inheritance diagram for Kokkos::CisMatrix< OrdinalType, ScalarType >:
Public Member Functions | |
Constructors/Destructor. | |
| virtual | ~CisMatrix () |
| CisMatrix Destructor. | |
Matrix entry access methods. | |
| virtual int | getIndices (OrdinalType i, OrdinalType &numEntries, OrdinalType *&indices) const =0 |
| Returns number of entries in ith row/column, and pointer to an array of these indices. | |
| virtual int | getValues (OrdinalType i, ScalarType *&values) const =0 |
| Returns a pointer to an array of values for the ith row/column. | |
Matrix Attribute access methods. | |
| virtual bool | getIsRowOriented () const =0 |
| Returns true if the compressed index matrix should be interpreted as a row matrix. | |
| virtual bool | getIsUpperTriangular () const =0 |
| Returns true if the compressed index matrix has no entries below the diagonal. | |
| virtual bool | getIsLowerTriangular () const =0 |
| Returns true if the compressed index matrix has no entries above the diagonal. | |
| virtual bool | getHasImplicitUnitDiagonal () const =0 |
| Returns true if the compressed index matrix has no diagonal entries, but should be treated as unit diagonal. | |
| virtual OrdinalType | getNumRows () const =0 |
| Number of rows. | |
| virtual OrdinalType | getNumCols () const =0 |
| Number of columns. | |
| virtual OrdinalType | getNumEntries () const =0 |
| Number of matrix entries. | |
The Kokkos::CisMatrix specifies the interface that any sparse matrix interfacing to the Kokkos Operators classes must implement.
At this time, the primary function provided by Kokkos::CisMatrix is access to matrix indices and values.
|
||||||||||||||||||||
|
Returns number of entries in ith row/column, and pointer to an array of these indices. Extract the number of entries and a pointer to the indices in the ith row/column of the matrix. Note that the indices are not copied by this method. Memory allocation is handled by the matrix object itself.
Implemented in Kokkos::HbMatrix< OrdinalType, ScalarType >, and Kokkos::OskiMatrix< OrdinalType, ScalarType >. |
|
||||||||||||||||
|
Returns a pointer to an array of values for the ith row/column. Extract the values in the ith row/column of the matrix. Note that the values are not copied by this method. Memory allocation is handled by the matrix object itself.
Implemented in Kokkos::HbMatrix< OrdinalType, ScalarType >, and Kokkos::OskiMatrix< OrdinalType, ScalarType >. |
1.3.9.1