Ginkgo  Generated from pipelines/224724463 branch based on develop. Ginkgo version 1.3.0
A numerical linear algebra library targeting many-core architectures
Public Types | Public Member Functions | List of all members
gko::ReadableFromMatrixData< ValueType, IndexType > Class Template Referenceabstract

A LinOp implementing this interface can read its data from a matrix_data structure. More...

#include <ginkgo/core/base/lin_op.hpp>

Public Types

using value_type = ValueType
 
using index_type = IndexType
 

Public Member Functions

virtual void read (const matrix_data< ValueType, IndexType > &data)=0
 Reads a matrix from a matrix_data structure. More...
 
void read (const matrix_assembly_data< ValueType, IndexType > &data)
 Reads a matrix from a matrix_assembly_data structure. More...
 

Detailed Description

template<typename ValueType, typename IndexType>
class gko::ReadableFromMatrixData< ValueType, IndexType >

A LinOp implementing this interface can read its data from a matrix_data structure.

Member Function Documentation

◆ read() [1/2]

template<typename ValueType, typename IndexType>
void gko::ReadableFromMatrixData< ValueType, IndexType >::read ( const matrix_assembly_data< ValueType, IndexType > &  data)
inline

Reads a matrix from a matrix_assembly_data structure.

Parameters
datathe matrix_assembly_data structure

◆ read() [2/2]

template<typename ValueType, typename IndexType>
virtual void gko::ReadableFromMatrixData< ValueType, IndexType >::read ( const matrix_data< ValueType, IndexType > &  data)
pure virtual

The documentation for this class was generated from the following file: