de.grogra.xl.lang
Interface DoubleToDouble

All Known Subinterfaces:
Collector, Spectrum
All Known Implementing Classes:
Collector3d, Collector3dList, CollectorW3d, Spectrum3d, Spectrum3f

public interface DoubleToDouble

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

Author:
Ole Kniemeyer

Method Summary
 double evaluateDouble(double x)
          Computes the value of this function at x.
 

Method Detail

evaluateDouble

double evaluateDouble(double x)
Computes the value of this function at x.

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