12 #ifndef _CU_LINEAR_OPERATOR_CU_AFFINE_MATRIX_FUNCTION_H_
13 #define _CU_LINEAR_OPERATOR_CU_AFFINE_MATRIX_FUNCTION_H_
20 #include "../_definitions/types.h"
39 template <
typename DataType>
52 const DataType* known_parameters,
53 const DataType known_eigenvalue,
54 const DataType* inquiry_parameters)
const;
60 const DataType* input_vector,
63 DataType* output_vector)
const;
Base class for affine matrix functions of one parameter.
virtual ~cuAffineMatrixFunction()
Virtual destructor.
cuAffineMatrixFunction()
Constructor.
void set_parameters(DataType *t)
DataType get_eigenvalue(const DataType *known_parameters, const DataType known_eigenvalue, const DataType *inquiry_parameters) const
This function defines an analytic relationship between a given set of parameters and the correspondin...
void _add_scaled_vector(const DataType *input_vector, const LongIndexType vector_size, const DataType scale, DataType *output_vector) const
Performs the operation , where is an input vector scaled by and it the output vector.
Base class for linear operators. This class serves as interface for all derived classes.