Changes the basis of the parameterization. More...

#include <BasisRule.h>

Inherits T.

Public Types

typedef T::Result Result
 

Public Member Functions

 BasisRule ()
 Default constructor.
 
 BasisRule (const BasisRule &rule)
 Copy constructor.
 
BasisRuleoperator= (const BasisRule &rule)
 Assignment operator.
 
void set_model (T *model)
 Set the Function with the parameters to be transformed.
 
void set_transformation (const Matrix< N, N, double > &xform)
 Set the basis transformation.
 
std::string get_name () const
 Return the name of the class.
 

Protected Member Functions

void calculate (Result &result, std::vector< Result > *gradient)
 Return the Result and its gradient.
 

Protected Attributes

Project< T > model
 The Function with the parameters to be transformed.
 
Null parameters
 The free parameters.
 
Project< Nullproject
 The projection of the free parameters.
 
Matrix< N, N, double > transformation
 The basis transformation.
 

Detailed Description

template<unsigned N, class T>
class MEAL::BasisRule< N, T >

Changes the basis of the parameterization.

Given any Function, $ M({\bf a}) $, and a linear transformation, $ {\bf T} $, this class evaluates $ M({\bf Ta}) $ and its partial derivatives.


The documentation for this class was generated from the following file:

Generated using doxygen 1.8.17