Class AlgorithmDEMRI3.Fit25HModel

    • Field Detail

      • xData

        private double[] xData
      • yData

        private double[] yData
    • Constructor Detail

      • Fit25HModel

        public Fit25HModel​(int nPoints,
                           double[] xData,
                           double[] yData,
                           double[] initial)
        Creates a new Fit25HModel object.
        Parameters:
        nPoints - DOCUMENT ME!
        xData - DOCUMENT ME!
        yData - DOCUMENT ME!
        initial - DOCUMENT ME!
    • Method Detail

      • dumpResults

        public void dumpResults()
        Display results of displaying exponential fitting parameters.
      • fitToFunction

        public void fitToFunction​(double[] a,
                                  double[] residuals,
                                  double[][] covarMat)
        Fit to function - Math.pow((a[0] * Math.log(xSeries[i])),a[1]) + a[2]
        Specified by:
        fitToFunction in class NLConstrainedEngine
        Parameters:
        a - The x value of the data point.
        residuals - The best guess parameter values.
        covarMat - The derivative values of y with respect to fitting parameters.