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 Link icon

    • PolyFit Link icon

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

    • getFitParameters Link icon

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

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

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

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