Class RMCurveFit.InverseFunc
java.lang.Object
com.inductiveautomation.rm.base.RMMath.RMFunc
com.inductiveautomation.rm.graphics.RMCurveFit.InverseFunc
- Enclosing class:
- RMCurveFit
A function whose value is the inverse of another function ie. realFunc.f(x)=y ==> inverseFunc.f(y)=x
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.inductiveautomation.rm.base.RMMath.RMFunc
integrate, solve
-
Constructor Details
-
InverseFunc
-
-
Method Details
-
f
public double f(double x) - Specified by:
f
in classRMMath.RMFunc
-
fprime
public double fprime(double x, int order) Description copied from class:RMMath.RMFunc
nth derivative of function at x. Base class calculates it numerically, but you could override this if you know the exact form. order=1 for first derivative, 2 for second derivative, etc.- Overrides:
fprime
in classRMMath.RMFunc
-