org.jscience.mathematics.analysis
Interface PrimitiveMapping

All Superinterfaces:
AbstractMapping
All Known Subinterfaces:
PrimitiveInterpolator
All Known Implementing Classes:
ConstantDoubleFunction, DoubleCubicSplineInterpolator, DoubleFunction, DoubleLinearSplineInterpolator, DoublePolynomial, DoublePolynomialFraction, ExponentialDoubleFunction, IdentityDoubleFunction, LinearDoubleFunction, LogisticMap, RandomMap

public interface PrimitiveMapping
extends AbstractMapping

This interface defines a map or function. It is used to pass user-defined functions to some of the other maths classes.

See Also:
NumericalMathUtils, AbstractMapping

Method Summary
 double map(double x)
          A user-defined function.
 double map(float x)
          DOCUMENT ME!
 double map(int x)
          DOCUMENT ME!
 double map(long x)
          DOCUMENT ME!
 

Method Detail

map

double map(int x)
DOCUMENT ME!

Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!

map

double map(long x)
DOCUMENT ME!

Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!

map

double map(float x)
DOCUMENT ME!

Parameters:
x - DOCUMENT ME!
Returns:
DOCUMENT ME!

map

double map(double x)
A user-defined function. We do not state anything about the domain on which this function applies.

See Also:
org.jscience.mathematics.analysis.IntervalList.