hep.aida.ref.pdf
Class FunctionDerivative
java.lang.Object
  
hep.aida.ref.pdf.FunctionDerivative
- public abstract class FunctionDerivative
- extends Object
  
- Author:
 
  - The FreeHEP team @ SLAC
 
- Source Code:
 - FunctionDerivative.java
 
 
| 
Method Summary | 
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 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FunctionDerivative
public FunctionDerivative()
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 IFunctionx - a double[] with the point where the derivative is evaluatedh - a typical step size for x[ind]
- Returns:
 - the value of df/dx[ind] at x[]
 
 
 
Copyright © 2000-2004 FreeHEP, All Rights Reserved.