Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

ConstantFunction< constant_template > Class Template Reference
[Function classes]

Constant function class. More...

#include <function.h>

List of all members.

Public Member Functions

Function realization
float operator() (float) const throw ()
 Evaluation of this subterm.


Detailed Description

template<int constant_template>
class ConstantFunction< constant_template >

Constant function class.

This function represents a constant that is already known at compile time.


Member Function Documentation

template<int constant_template>
float ConstantFunction< constant_template >::operator() float   )  const throw ()
 

Evaluation of this subterm.

Parameters:
x the point where to evaluate
Returns:
the function value