public class SplineFunction
A spline is function piecewise-defined by polynomial functions. Points at which polynomial pieces connect are known as knots.
Constructor and Description |
---|
SplineFunction(java.util.TreeMap<java.lang.Double,net.corda.core.math.Polynomial> segmentMap)
A spline is function piecewise-defined by polynomial functions.
Points at which polynomial pieces connect are known as knots.
|
Modifier and Type | Method and Description |
---|---|
double |
getValue(double x) |
public SplineFunction(java.util.TreeMap<java.lang.Double,net.corda.core.math.Polynomial> segmentMap)
A spline is function piecewise-defined by polynomial functions. Points at which polynomial pieces connect are known as knots.
segmentMap
- a mapping between a knot and the polynomial that covers the subsequent interval.