Class RMCurveFit.ScaledFunc
- java.lang.Object
- 
- com.inductiveautomation.rm.base.RMMath.RMFunc
- 
- com.inductiveautomation.rm.graphics.RMCurveFit.ScaledFunc
 
 
- 
- Enclosing class:
- RMCurveFit
 
 public static class RMCurveFit.ScaledFunc extends RMMath.RMFunc A function scaled such that f(1) == 1
- 
- 
Constructor SummaryConstructors Constructor Description ScaledFunc(RMMath.RMFunc real)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublef(double x)doublefprime(double x, int order)nth derivative of function at x.- 
Methods inherited from class com.inductiveautomation.rm.base.RMMath.RMFuncintegrate, solve
 
- 
 
- 
- 
- 
Constructor Detail- 
ScaledFuncpublic ScaledFunc(RMMath.RMFunc real) 
 
- 
 - 
Method Detail- 
fpublic double f(double x) - Specified by:
- fin class- RMMath.RMFunc
 
 - 
fprimepublic double fprime(double x, int order)Description copied from class:RMMath.RMFuncnth 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:
- fprimein class- RMMath.RMFunc
 
 
- 
 
-