Package cnuphys.splot.fit
Class FitHold
java.lang.Object
cnuphys.splot.fit.FitHold
This class is used to place holds on fit parameters
- Author:
- heddle
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FitHold
(int index, double value) Create a hold on a fitting parameter. -
Method Summary
-
Field Details
-
index
protected int index -
value
protected double value
-
-
Constructor Details
-
FitHold
protected FitHold(int index, double value) Create a hold on a fitting parameter. When the fit is performed, any parameters that are "held" will be set to a fixed value and no changed in the optimization- Parameters:
index
- the parameter index. All fits have a parameter array (usually calleda[]
. This is an index into that array.value
- the value that should be held.
-