| org.jscience.mathematics.function.DiscreteFunction
DiscreteFunction | final public class DiscreteFunction extends Function (Code) | | This class represents a function defined from a mapping betweem
two sets (points and values).
Instance of this class can be used to approximate continuous
functions or to numerically solve differential systems.
author: Jean-Marie Dautelle version: 3.0, February 13, 2006 |
DiscreteFunction | public DiscreteFunction(SortedMap<X, Y> pointValues, Interpolator<X, Y> interpolator, Variable<X> variable)(Code) | | Creates the discrete function for the specified point-value entries.
Parameters: pointValues - the point-value entries of this function. Parameters: interpolator - the interpolator. Parameters: variable - this function variable. |
evaluate | public Y evaluate()(Code) | | |
getInterpolator | public Interpolator<X, Y> getInterpolator()(Code) | | Returns the interpolator used by this discrete function.
the interpolator used to estimate the value between two points. |
getPointValues | public SortedMap<X, Y> getPointValues()(Code) | | Returns the point-value entries of this discrete function.
the point-value mapping. |
toText | public Text toText()(Code) | | |
|
|