Ginkgo  Generated from pipelines/1589998975 branch based on develop. Ginkgo version 1.10.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>

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
 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...
 
virtual void read (const device_matrix_data< ValueType, IndexType > &data)
 Reads a matrix from a device_matrix_data structure. More...
 
virtual void read (device_matrix_data< ValueType, IndexType > &&data)
 Reads a matrix from a device_matrix_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/4]

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

◆ 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

◆ 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: