Documentation of 'hep.aida.ref.pdf.FunctionDerivative' Java class
FunctionDerivative
hep.aida.ref.pdf

Class FunctionDerivative



  • public abstract class FunctionDerivative
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double derivative(Function f, Variable x, double h)
      Computes the derivative of a function with respect to one argument.
      • Methods inherited from class java.lang.Object

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

      • FunctionDerivative

        public FunctionDerivative()
    • Method Detail

      • derivative

        public static double derivative(Function f,
                                        Variable x,
                                        double h)
        Computes the derivative of a function with respect to one argument. Adapted from Numerical Recipes in FORTRAN dfridr, pp. 182-183.
        Parameters:
        f - a JAIDA IFunction
        x - a double[] with the point where the derivative is evaluated
        ind - the index of the argument of f we differentiate wrto
        h - a typical step size for x[ind]
        Returns:
        the value of df/dx[ind] at x[]

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.