org.freehep.math.minuit
Interface FCNGradientBase

All Superinterfaces:
FCNBase

public interface FCNGradientBase
extends FCNBase

Extension of FCNBase for providing the analytical gradient of the function. The user-gradient is checked at the beginning of the minimization against the Minuit internal numerical gradient in order to spot problems in the analytical gradient calculation.

Version:
$Id: FCNGradientBase.java 8584 2006-08-10 23:06:37Z duns $
See Also:
MnApplication.setUseAnalyticalDerivatives(boolean), MnApplication.setCheckAnalyticalDerivatives(boolean)

Method Summary
 double[] gradient(double[] par)
          Calculate the function gradient with respect to each parameter at the given point in parameter space.
 
Methods inherited from interface org.freehep.math.minuit.FCNBase
valueOf
 

Method Detail

gradient

double[] gradient(double[] par)
Calculate the function gradient with respect to each parameter at the given point in parameter space. The size of the output gradient vector must be equal to the size of the input parameter vector.



Copyright © 2000-2006 FreeHEP. All Rights Reserved.