Class RMCurveFit.InverseFunc

  • Enclosing class:
    RMCurveFit

    public static class RMCurveFit.InverseFunc
    extends RMMath.RMFunc
    A function whose value is the inverse of another function ie. realFunc.f(x)=y ==> inverseFunc.f(y)=x
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double f​(double x)  
      double fprime​(double x, int order)
      nth derivative of function at x.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • f

        public double f​(double x)
        Specified by:
        f in class RMMath.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 class RMMath.RMFunc