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

    Fields inherited from class com.nr.model.Fitmrq

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

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

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

    Methods inherited from class com.nr.model.Fitmrq

    covsrt, fit, free, hold, mrqcof

    Methods inherited from class java.lang.Object

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

    • AltPolynomialFit

      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

    • value

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

      public static FPoly createFPoly(int numPoly)