Ask a Question | Search PSRCHIVE: |
![]()
|
MEAL::GroupRule< T > Class Template Referenceabstract Abstract base class of closed, associative, binary operators. More...
Inheritance diagram for MEAL::GroupRule< T >:
![]()
Detailed Descriptiontemplate<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. Member Function Documentation◆ get_identity()
template<class T>
Return the group identity. Implemented in MEAL::ProductRule< T >, MEAL::ProductRule< Complex >, MEAL::ProductRule< Complex2 >, and MEAL::SumRule< T >. ◆ operate()
template<class T>
Set the total equal to "total group operation element". Implemented in MEAL::ProductRule< T >, MEAL::ProductRule< Complex >, MEAL::ProductRule< Complex2 >, and MEAL::SumRule< T >. Referenced by calculate(). ◆ partial()
template<class T>
Neighbouring terms stay in each other's partial derivatives. Implemented in MEAL::ProductRule< T >, MEAL::ProductRule< Complex >, MEAL::ProductRule< Complex2 >, and MEAL::SumRule< T >. Referenced by calculate(). The documentation for this class was generated from the following file: Generated using doxygen 1.14.0
|