This class is an abstract class. It supplies the interface to operate on single mpf_t values. More...
#include <general_objects.h>
Public Member Functions | |
virtual | ~Operation () |
The destructor. More... | |
virtual std::string | GetName ()=0 |
Returns a string representation of this object. More... | |
virtual mpf_t * | Operate (mpf_t *value)=0 |
Calculates a operation of the supplied mpf_t value. More... | |
Detailed Description
This class is an abstract class. It supplies the interface to operate on single mpf_t values.
Constructor & Destructor Documentation
|
inlinevirtual |
The destructor.
Member Function Documentation
|
pure virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implemented in highprecisionpso::LogEOperation, highprecisionpso::ArctanOperation, highprecisionpso::ArccosOperation, highprecisionpso::ArcsinOperation, highprecisionpso::TanOperation, highprecisionpso::CosOperation, highprecisionpso::SinOperation, highprecisionpso::ExpOperation, highprecisionpso::AbsOperation, highprecisionpso::Log2DoubleOperation, highprecisionpso::Log2Operation, highprecisionpso::PowOperation, and highprecisionpso::SqrtOperation.
|
pure virtual |
Calculates a operation of the supplied mpf_t value.
- Parameters
-
value The value which should be operated on.
- Returns
- The result of the operation.
Implemented in highprecisionpso::LogEOperation, highprecisionpso::ArctanOperation, highprecisionpso::ArccosOperation, highprecisionpso::ArcsinOperation, highprecisionpso::TanOperation, highprecisionpso::CosOperation, highprecisionpso::SinOperation, highprecisionpso::ExpOperation, highprecisionpso::AbsOperation, highprecisionpso::Log2DoubleOperation, highprecisionpso::Log2Operation, highprecisionpso::PowOperation, and highprecisionpso::SqrtOperation.
The documentation for this class was generated from the following file:
- src/general/general_objects.h