highprecisionpso::GeometricAverageReduceOperation Class Reference
This vector reduce operation reduces a vector by calculation of its geometric average. More...
#include <general_objects.h>
Inheritance diagram for highprecisionpso::GeometricAverageReduceOperation:
Public Member Functions | |
GeometricAverageReduceOperation () | |
The constructor. More... | |
mpf_t * | Evaluate (const std::vector< mpf_t * > &vec) |
Reduces the vector by calculation of its geometric average. More... | |
std::string | GetName () |
Returns a string representation of this object. More... | |
Public Member Functions inherited from highprecisionpso::VectorReduceOperation | |
virtual | ~VectorReduceOperation () |
The destructor. More... | |
Detailed Description
This vector reduce operation reduces a vector by calculation of its geometric average.
Constructor & Destructor Documentation
highprecisionpso::GeometricAverageReduceOperation::GeometricAverageReduceOperation | ( | ) |
The constructor.
Member Function Documentation
|
virtual |
Reduces the vector by calculation of its geometric average.
- Parameters
-
vec The vector which should be reduced.
- Returns
- The geometric average of the vector vec.
Implements highprecisionpso::VectorReduceOperation.
|
virtual |
Returns a string representation of this object.
- Returns
- The name of the object.
Implements highprecisionpso::VectorReduceOperation.
The documentation for this class was generated from the following file:
- src/general/general_objects.h