org.jquantlib.math.interpolations
Interface Interpolation
-
- All Superinterfaces:
- Extrapolator, Ops.DoubleOp
- All Known Implementing Classes:
- AbstractInterpolation, BackwardFlatInterpolation, CubicInterpolation, ForwardFlatInterpolation, LinearInterpolation, LogCubicInterpolation, LogLinearInterpolation, MonotonicNaturalCubicInterpolation, NaturalCubicInterpolation, SABRInterpolation
public interface Interpolation extends Extrapolator, Ops.DoubleOp
Interface for 1-D interpolations.Classes implementing from this interface will provide interpolated values from two sequences of equal length, representing discretized values of a variable and a function of the former, respectively.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static interfaceInterpolation.Interpolator
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublederivative(double x)doublederivative(double x, boolean allowExtrapolation)booleanempty()booleanisInRange(double x)doubleop(double x)doubleop(double x, boolean allowExtrapolation)doubleprimitive(double x)doubleprimitive(double x, boolean allowExtrapolation)doublesecondDerivative(double x)doublesecondDerivative(double x, boolean allowExtrapolation)voidupdate()doublexMax()doublexMin()-
Methods inherited from interface org.jquantlib.math.interpolations.Extrapolator
allowsExtrapolation, disableExtrapolation, enableExtrapolation
-
-
-
-
Method Detail
-
empty
boolean empty()
-
op
double op(double x, boolean allowExtrapolation)
-
primitive
double primitive(double x, boolean allowExtrapolation)
-
derivative
double derivative(double x, boolean allowExtrapolation)
-
secondDerivative
double secondDerivative(double x, boolean allowExtrapolation)
-
op
double op(double x)
- Specified by:
opin interfaceOps.DoubleOp
-
primitive
double primitive(double x)
-
derivative
double derivative(double x)
-
secondDerivative
double secondDerivative(double x)
-
xMin
double xMin()
-
xMax
double xMax()
-
isInRange
boolean isInRange(double x)
-
update
void update()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG