Class ReflectedNonLinearInterpolator
java.lang.Object
solvers.priority.interpolators.ReflectedNonLinearInterpolator
- All Implemented Interfaces:
Interpolator
Reflected non-linear interpolator of the priority MVA utilization calculators.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleinterpolate(double a, double b, double c, double d, double x) (a, b), (c, d) y = d + f(x - c)/(x - c - 1)
-
Constructor Details
-
ReflectedNonLinearInterpolator
public ReflectedNonLinearInterpolator()
-
-
Method Details
-
interpolate
public double interpolate(double a, double b, double c, double d, double x) (a, b), (c, d) y = d + f(x - c)/(x - c - 1)f is a scalar factor to ensure it passes through (a, b) f = (a - c - 1) * (b - d) / (a - c)
- Specified by:
interpolatein interfaceInterpolator
-