ReadableFromMatrixData< ValueType, IndexType > Class Template Reference

ReadableFromMatrixData&lt; ValueType, IndexType &gt; Class Template Reference#

Reference API: gko::ReadableFromMatrixData< ValueType, IndexType > Class Template Reference
Reference API
gko::ReadableFromMatrixData< ValueType, IndexType > Class Template Referenceabstract

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

Inheritance diagram for gko::ReadableFromMatrixData< ValueType, IndexType >:
[legend]

Public Types

using value_type = ValueType
 
using index_type = IndexType
 

Public Member Functions

virtual void read (const matrix_data< ValueType, IndexType > &data)=0
 
void read (const matrix_assembly_data< ValueType, IndexType > &data)
 
virtual void read (const device_matrix_data< ValueType, IndexType > &data)
 
virtual void read (device_matrix_data< ValueType, IndexType > &&data)
 

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/4]

◆ read() [2/4]

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

References gko::matrix_assembly_data< ValueType, IndexType >::get_ordered_data(), and gko::read().

◆ read() [3/4]

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

◆ read() [4/4]

template<typename ValueType , typename IndexType >
virtual void gko::ReadableFromMatrixData< ValueType, IndexType >::read ( device_matrix_data< ValueType, IndexType > &&  data)
inlinevirtual

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