Class MEAL::SumRule

template<class T>
class SumRule : public MEAL::GroupRule<T>

Represents a sum of models.

Public Functions

inline void operator+=(T *model)

Add the model to the sum.

inline std::string get_name() const

Return the name of the class.