ConstantFunction< constant_template > Class Template Reference
[Function classes]
Constant function class.
More...
#include <function.h>
List of all members.
|
Public Member Functions |
|
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
|