highprecisionpso::Log2Operation Class Reference

This operation calculates the logarithm with base two of the supplied value. More...

#include <general_objects.h>

Inheritance diagram for highprecisionpso::Log2Operation:

Public Member Functions

std::string GetName ()
 Returns a string representation of this object. More...
 
mpf_t * Operate (mpf_t *value)
 Calculates the logarithm with base two of the supplied value. More...
 
- Public Member Functions inherited from highprecisionpso::Operation
virtual ~Operation ()
 The destructor. More...
 

Detailed Description

This operation calculates the logarithm with base two of the supplied value.

Member Function Documentation

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

Returns a string representation of this object.

Returns
The name of the object.

Implements highprecisionpso::Operation.

mpf_t* highprecisionpso::Log2Operation::Operate ( mpf_t *  value)
virtual

Calculates the logarithm with base two of the supplied value.

Parameters
valueThe value which should be operated on.
Returns
The logarithm with base two of the supplied value.

Implements highprecisionpso::Operation.


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