Class PolyFit

java.lang.Object
com.nr.model.Fitsvd
cnuphys.splot.fit.PolyFit
All Implemented Interfaces:
IValueGetter

public class PolyFit extends com.nr.model.Fitsvd implements IValueGetter
  • Constructor Details

    • PolyFit

      public PolyFit(Fit fit)
      Parameters:
      fit - the fit data
  • Method Details

    • getFitParameters

      public double[] getFitParameters()
      Get the fit parameters
      Returns:
      the fit parameters
    • getCovarianceMatrix

      public double[][] getCovarianceMatrix()
      Get the covariance matrix
      Returns:
      the covariance matrix
    • getChiSquare

      public double getChiSquare()
      Get the chi square of the fit
      Returns:
      the chi square
    • value

      public double value(double x)
      Specified by:
      value in interface IValueGetter