12#ifndef _CU_LINEAR_OPERATOR_CU_CSR_AFFINE_MATRIX_FUNCTION_H_
13#define _CU_LINEAR_OPERATOR_CU_CSR_AFFINE_MATRIX_FUNCTION_H_
20#include "../_definitions/types.h"
44template <
typename DataType>
51 const DataType* A_data_,
57 const int num_gpu_devices_);
60 const DataType* A_data_,
66 const DataType* B_data_,
70 const int num_gpu_devices_);
77 const DataType* vector,
81 const DataType* vector,
Base class for affine matrix functions of one parameter.
Container for CSR affine matrix functions of one parameter.
virtual void set_symmetry(const FlagType symmetric)
Specify whether the matrices are symmetic or non-symmetric.
virtual void dot(const DataType *vector, DataType *product)
Matrix vector product.
virtual void transpose_dot(const DataType *vector, DataType *product)
Matrix vector product written in place.
cuCSRMatrix< DataType > B
cuCSRMatrix< DataType > A
virtual ~cuCSRAffineMatrixFunction()
Destructor.
Container for CSR matrices.