Class MEAL::GroupRule
-
template<class T>
class GroupRule : public 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.
Subclassed by MEAL::ProductRule< T >, MEAL::SumRule< T >