Package cnuphys.splot.fit
Class ErfcFit
java.lang.Object
com.nr.model.Fitmrq
cnuphys.splot.fit.ErfcFit
- All Implemented Interfaces:
- IValueGetter
- 
Field SummaryFields inherited from class com.nr.model.Fitmrqa, alpha, chisq, covar, ia
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoubleGet the chi square of the fitdouble[][]Get the covariance matrixdouble[]Get the fit parametersstatic double[]initialGuess(Fit fit) A method to generate an initial guessdoublevalue(double x) Methods inherited from class com.nr.model.Fitmrqcovsrt, fit, free, hold, mrqcof
- 
Constructor Details- 
ErfcFitCreate a Error function Fit- Parameters:
- fit- the fit data
- tolerance- the tolerance
- Throws:
- IllegalArgumentException
 
 
- 
- 
Method Details- 
initialGuessA method to generate an initial guess- Parameters:
- fit- the fit data
- Returns:
- initial guess
 
- 
getFitParameterspublic double[] getFitParameters()Get the fit parameters- Returns:
- the fit parameters
 
- 
getCovarianceMatrixpublic double[][] getCovarianceMatrix()Get the covariance matrix- Returns:
- the covariance matrix
 
- 
getChiSquarepublic double getChiSquare()Get the chi square of the fit- Returns:
- the chi square
 
- 
valuepublic double value(double x) - Specified by:
- valuein interface- IValueGetter
 
 
-