12 #ifndef _C_LINEAR_OPERATOR_C_DENSE_AFFINE_MATRIX_FUNCTION_H_
13 #define _C_LINEAR_OPERATOR_C_DENSE_AFFINE_MATRIX_FUNCTION_H_
20 #include "../_definitions/types.h"
29 template <
typename DataType>
52 const DataType* vector,
56 const DataType* vector,
Base class for affine matrix functions of one parameter.
cDenseAffineMatrixFunction(const DataType *A_, const FlagType A_is_row_major_, const LongIndexType num_rows_, const LongIndexType num_colums_)
Constructor. Matrix B is assumed to be the identity matrix.
virtual void dot(const DataType *vector, DataType *product)
Computes the matrix vector product:
virtual ~cDenseAffineMatrixFunction()
cDenseMatrix< DataType > B
cDenseMatrix< DataType > A
virtual void transpose_dot(const DataType *vector, DataType *product)
Computes the matrix vector product: