de.grogra.xl.lang
Interface FloatToFloat

All Known Implementing Classes:
Abs, Acos, Asin, Atan, Ceil, Chain, Cos, Cosh, Cubic, CustomFunction, E, Exp, Exp2, Expm1, Floor, Function, FunctionRef, Id, Log, Log10, Phi, Pi, Rad, Ramp, Rnd, Rndabs, Scallop, Sin, Sin01, Sinh, SplineFunction, Sqr, Sqrt, Tan, Tanh, Triangle

public interface FloatToFloat

Instances of FloatToFloat represent functions which take floats as input and return values of type float. Such instances are created by lambda expressions of the XL programming language, e.g., FloatToFloat f = float x => float some expression containing x;.

Author:
Ole Kniemeyer

Method Summary
 float evaluateFloat(float x)
          Computes the value of this function at x.
 

Method Detail

evaluateFloat

float evaluateFloat(float x)
Computes the value of this function at x.

Parameters:
x - where the function is to be evaluated
Returns:
function value at x