Class AlgorithmDEMRI3.Fit24DModel

    • Field Detail

      • xData

        private double[] xData
      • yData

        private float[] yData
    • Constructor Detail

      • Fit24DModel

        public Fit24DModel​(int nPoints,
                           double[] xData,
                           float[] yData,
                           double[] initial)
        Creates a new Fit24DModel 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 - a0 - a1*(a2**x).
        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.