12 #ifndef _C_LINEAR_OPERATOR_C_AFFINE_MATRIX_FUNCTION_H_
13 #define _C_LINEAR_OPERATOR_C_AFFINE_MATRIX_FUNCTION_H_
20 #include "../_definitions/types.h"
39 template <
typename DataType>
54 const DataType* known_parameters,
55 const DataType known_eigenvalue,
56 const DataType* inquiry_parameters)
const;
62 const DataType* input_vector,
65 DataType* output_vector)
const;
Base class for affine matrix functions of one parameter.
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.
virtual ~cAffineMatrixFunction()
Virtual destructor.
void set_parameters(DataType *t)
cAffineMatrixFunction(const LongIndexType num_rows_, const LongIndexType num_columns_)
Constructor.
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...
Base class for linear operators. This class serves as interface for all derived classes.