highprecisionpso::MultiplyOperation Class Reference

This pair combination operation reduces two values by multiplication. More...

#include <general_objects.h>

Inheritance diagram for highprecisionpso::MultiplyOperation:

Public Member Functions

mpf_t * Evaluate (mpf_t *value1, mpf_t *value2)
 Reduces the two values by multiplication. More...
 
std::string GetName ()
 Returns a string representation of this object. More...
 
- Public Member Functions inherited from highprecisionpso::PairReduceOperation
virtual ~PairReduceOperation ()
 The destructor. More...
 

Detailed Description

This pair combination operation reduces two values by multiplication.

Member Function Documentation

mpf_t* highprecisionpso::MultiplyOperation::Evaluate ( mpf_t *  value1,
mpf_t *  value2 
)
virtual

Reduces the two values by multiplication.

Parameters
value1The first value which should be reduced.
value2The second value which should be reduced.
Returns
The product of value1 and value2

Implements highprecisionpso::PairReduceOperation.

std::string highprecisionpso::MultiplyOperation::GetName ( )
virtual

Returns a string representation of this object.

Returns
The name of the object.

Implements highprecisionpso::PairReduceOperation.


The documentation for this class was generated from the following file: