|
void | print_parameters (std::string &text, const std::string &sep) const |
| Prints the values of model parameters and fit flags to a string.
|
|
void | calculate (Result &result, std::vector< Result > *grad) |
| Return the result and its gradient.
|
|
virtual const Result | get_identity () const =0 |
| Return the group identity.
|
|
virtual void | operate (Result &total, const Result &element)=0 |
| Set the total equal to "total group operation element".
|
|
virtual const Result | partial (const Result &element) const =0 |
| Neighbouring terms stay in each other's partial derivatives.
|
|
template<class T>
class MEAL::GroupRule< T >
Abstract base class of closed, associative, binary operators.
Because the binary operation is associative, this class is implemented as a series of elements; that is, an arbitrary number of models can be added. By inheriting this class and defining the get_identity(), operate(), and partial() pure virtual methods, derived classes may define the closed, associative binary operation, such as the product or sum.