glot::function Class Reference

#include <function.h>

List of all members.

Public Types

typedef double(* double_function )(double x)
 A double-to-double mapping.
typedef double(* double_2d_1d_function )(double x, double y)
 A 2D to 1D mapping function.

Public Member Functions

 function (double_function f)
 Constructor.
 function (double_2d_1d_function f)
double eval (double x) const
 Evaluate the function at a point.
double eval (double x, double y) const


Member Typedef Documentation

typedef double(* glot::function::double_2d_1d_function)(double x, double y)

A 2D to 1D mapping function.

Parameters:
x - the x parameter
y - the y parameter

typedef double(* glot::function::double_function)(double x)

A double-to-double mapping.

Parameters:
x - for a given x, return another double
Just a mapping of R1 onto R1, using any C++ code meeting that definition


Constructor & Destructor Documentation

glot::function::function ( double_function  f  )  [inline]

Constructor.

Parameters:
f - a function

glot::function::function ( double_2d_1d_function  f  )  [inline]


Member Function Documentation

double glot::function::eval ( double  x,
double  y 
) const [inline]

double glot::function::eval ( double  x  )  const [inline]

Evaluate the function at a point.

Parameters:
x - the x value at which to evaluate


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

Generated on Fri Nov 20 18:09:06 2009 for OpenGLot by  doxygen 1.5.8