|
void | operator*= (T *model) |
| Add the model to the product.
|
|
std::string | get_name () const |
| Return the name of the class.
|
|
| GroupRule () |
| Default constructor.
|
|
| GroupRule (const GroupRule &meta) |
| Copy constructor.
|
|
GroupRule & | operator= (const GroupRule &meta) |
| Assignment operator.
|
|
| ~GroupRule () |
| Destructor.
|
|
void | add_model (T *model) |
| Add an element to the result.
|
|
void | remove_model (T *model) |
| Remove an element from the result.
|
|
T * | get_model (unsigned i) |
| Get the specified component.
|
|
const T * | get_model (unsigned i) const |
|
unsigned | get_nmodel () const |
| Get the number of components.
|
|
void | clear () |
| Clear all models.
|
|
void | parse (const std::string &text) |
| Parse the values of model parameters and fit flags from a string.
|
|
std::string | class_name () const |
|
|
const Result | get_identity () const |
| Return the identity of the multiplication group (one)
|
|
void | operate (Result &total, const Result &element) |
| Multiply the total by the element.
|
|
const Result | partial (const Result &element) const |
| Neighbouring terms stay in each other's partial derivatives.
|
|
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.
|
|
template<class T>
class MEAL::ProductRule< T >
Represents a product of models.