Represents a value with no free parameters. More...

#include <Value.h>

Public Types

typedef T::Result Result

Public Member Functions

 Value ()
 Default constructor.
 Value (const Result &_value)
 Construct with initial value.
void set_value (const Result &_value)
 Set the value.
const Result & get_value () const
 Get the value.
std::string get_name () const
 Return the name of the class.

Protected Member Functions

void calculate (Result &result, std::vector< Result > *grad=0)
 Return the value (and gradient, if requested) of the function.
void init ()

Protected Attributes

Result value
 The value.

Detailed Description

template<typename T>
class MEAL::Value< T >

Represents a value with no free parameters.


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

Generated using doxygen 1.14.0