Class AltPolynomialFit

java.lang.Object
com.nr.model.Fitmrq
cnuphys.splot.fit.AltPolynomialFit
All Implemented Interfaces:
IValueGetter

public class AltPolynomialFit extends com.nr.model.Fitmrq implements IValueGetter
  • Field Summary Link icon

    Fields inherited from class com.nr.model.Fitmrq Link icon

    a, alpha, chisq, covar, ia
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    Create an alternate polynomial fit that uses the nonlinear fitter rather than generalized least squares.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    static FPoly
    createFPoly(int numPoly)
     
    double
    value(double x)
     

    Methods inherited from class com.nr.model.Fitmrq Link icon

    covsrt, fit, free, hold, mrqcof

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • AltPolynomialFit Link icon

      public AltPolynomialFit(Fit fit)
      Create an alternate polynomial fit that uses the nonlinear fitter rather than generalized least squares.
      Parameters:
      fit - the fit data
  • Method Details Link icon

    • value Link icon

      public double value(double x)
      Specified by:
      value in interface IValueGetter
    • createFPoly Link icon

      public static FPoly createFPoly(int numPoly)