org.freehep.math.minuit
Class FunctionMinimum
- java.lang.Object
-
- org.freehep.math.minuit.FunctionMinimum
-
public class FunctionMinimum extends java.lang.ObjectResult of the minimization.The FunctionMinimum is the output of the minimizers and contains the minimization result. The methods
- userState(),
- userParameters() and
- userCovariance()
- See Also:
userState(),userParameters(),userCovariance(),MnPrint
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleedm()returns the expected vertical distance to the minimum (EDM)doubleerrorDef()doublefval()Returns the function value at the minimum.booleanisValid()In general, if this returnstrue, the minimizer did find a minimum without running into troubles.intnfcn()returns the total number of function calls during the minimization.java.lang.StringtoString()MnUserCovarianceuserCovariance()MnUserParametersuserParameters()MnUserParameterStateuserState()user representation of state at minimum
-
-
-
Method Detail
-
userState
public MnUserParameterState userState()
user representation of state at minimum
-
userParameters
public MnUserParameters userParameters()
-
userCovariance
public MnUserCovariance userCovariance()
-
fval
public double fval()
Returns the function value at the minimum.
-
edm
public double edm()
returns the expected vertical distance to the minimum (EDM)
-
nfcn
public int nfcn()
returns the total number of function calls during the minimization.
-
errorDef
public double errorDef()
-
isValid
public boolean isValid()
In general, if this returnstrue, the minimizer did find a minimum without running into troubles. However, in some cases a minimum cannot be found, then the return value will befalse. Reasons for the minimization to fail are- the number of allowed function calls has been exhausted
- the minimizer could not improve the values of the parameters (and knowing that it has not converged yet)
- a problem with the calculation of the covariance matrix Additional methods for the analysis of the state at the minimum are provided.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG