12 #ifndef _CU_LINEAR_OPERATOR_CU_DENSE_AFFINE_MATRIX_FUNCTION_H_
13 #define _CU_LINEAR_OPERATOR_CU_DENSE_AFFINE_MATRIX_FUNCTION_H_
20 #include "../_definitions/types.h"
29 template <
typename DataType>
40 const int num_gpu_devices_);
49 const int num_gpu_devices_);
54 const DataType* vector,
58 const DataType* vector,
Base class for affine matrix functions of one parameter.
cuDenseMatrix< DataType > A
virtual void dot(const DataType *vector, DataType *product)
Computes the matrix vector product:
virtual ~cuDenseAffineMatrixFunction()
cuDenseAffineMatrixFunction(const DataType *A_, const FlagType A_is_row_major_, const LongIndexType num_rows_, const LongIndexType num_colums_, const int num_gpu_devices_)
Constructor. Matrix B is assumed to be the identity matrix.
cuDenseMatrix< DataType > B
virtual void transpose_dot(const DataType *vector, DataType *product)
Computes the matrix vector product: