WritableToMatrixData< ValueType, IndexType > Class Template Reference#
|
Reference API
|
gko::WritableToMatrixData< ValueType, IndexType > Class Template Referenceabstract
#include <ginkgo/core/base/lin_op.hpp>
Inheritance diagram for gko::WritableToMatrixData< ValueType, IndexType >:
Public Types | |
| using | value_type = ValueType |
| using | index_type = IndexType |
Public Member Functions | |
| virtual void | write (matrix_data< ValueType, IndexType > &data) const =0 |
Detailed Description
template<typename ValueType, typename IndexType>
class gko::WritableToMatrixData< ValueType, IndexType >
class gko::WritableToMatrixData< ValueType, IndexType >
A LinOp implementing this interface can write its data to a matrix_data structure.
Member Function Documentation
◆ write()
template<typename ValueType , typename IndexType >
|
pure virtual |
Writes a matrix to a matrix_data structure.
- Parameters
-
data the matrix_data structure
Implemented in gko::matrix::ScaledPermutation< ValueType, IndexType >, gko::matrix::Coo< ValueType, IndexType >, gko::matrix::Csr< ValueType, IndexType >, gko::matrix::Ell< ValueType, IndexType >, gko::matrix::Fbcsr< ValueType, IndexType >, gko::matrix::Hybrid< ValueType, IndexType >, gko::matrix::Sellp< ValueType, IndexType >, gko::matrix::SparsityCsr< ValueType, IndexType >, and gko::preconditioner::Jacobi< ValueType, IndexType >.
The documentation for this class was generated from the following file:
- ginkgo/core/base/lin_op.hpp
Generated by