|
| HypreCSRMatrix (const HypreCSRMatrix &other)=delete |
|
| HypreCSRMatrix (hypre_CSRMatrix *handle, bool take_ownership=true) |
| Convert Hypre's format to HypreCSRMatrix.
|
|
| HypreCSRMatrix (HypreCSRMatrix &&other) noexcept |
|
| HypreCSRMatrix (IndexType rows, IndexType columns, ValuesViewType values, ColumnIndexesViewType columnIndexes, ColumnIndexesViewType rowOffsets) |
|
| HypreCSRMatrix (ViewType view) |
|
void | bind (hypre_CSRMatrix *handle, bool take_ownership=true) |
| Convert Hypre's format to HypreCSRMatrix.
|
|
void | bind (HypreCSRMatrix &matrix) |
|
void | bind (IndexType rows, IndexType columns, ValuesViewType values, ColumnIndexesViewType columnIndexes, ColumnIndexesViewType rowOffsets) |
| Drop previously set data (deallocate if the matrix was the owner) and bind to the given data (i.e., the matrix does not become the owner).
|
|
void | bind (MatrixType &matrix) |
|
void | bind (ViewType view) |
|
ColumnIndexesViewType | getColumnIndexes () |
|
ConstColumnIndexesViewType | getColumnIndexes () const |
|
IndexType | getColumns () const |
|
ConstViewType | getConstView () const |
|
IndexType | getNonzeroElementsCount () const |
|
ColumnIndexesViewType | getRowOffsets () |
|
ConstColumnIndexesViewType | getRowOffsets () const |
|
IndexType | getRows () const |
|
SegmentsViewType | getSegments () |
|
ConstSegmentsViewType | getSegments () const |
|
ValuesViewType | getValues () |
|
ConstValuesViewType | getValues () const |
|
ViewType | getView () |
|
| operator const hypre_CSRMatrix * () const noexcept |
|
| operator HYPRE_CSRMatrix () noexcept |
|
| operator hypre_CSRMatrix * () noexcept |
|
HypreCSRMatrix & | operator= (const HypreCSRMatrix &other)=delete |
|
HypreCSRMatrix & | operator= (HypreCSRMatrix &&other) noexcept |
|
void | reorderDiagonalEntries () |
| Reorders the column and data arrays of a square matrix, such that the first entry in each row is the diagonal one.
|
|
void | reset () |
| Reset the matrix to empty state.
|
|
void | setDimensions (IndexType rows, IndexType cols) |
| Set the new matrix dimensions.
|
|
template<typename RowCapacitiesVector> |
void | setRowCapacities (const RowCapacitiesVector &rowCapacities) |
|
template<typename InVector, typename OutVector> |
void | vectorProduct (const InVector &inVector, OutVector &outVector, RealType matrixMultiplicator=1.0, RealType outVectorMultiplicator=0.0, IndexType begin=0, IndexType end=0) const |
|