Class AlgorithmAutoCovariance.FitCovarianceModel

    • Field Detail

      • xData

        private float[] xData
      • yData

        private float[] yData
    • Constructor Detail

      • FitCovarianceModel

        public FitCovarianceModel​(int nPoints,
                                  float[] xData,
                                  float[] yData,
                                  double[] initial)
        Creates a new FitCovarianceModel 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)
        Description copied from class: NLConstrainedEngine
        fitToFunction communicates with 3 protected variables param, nPts, and ctrlMat ctrlMat is used as a wrapper for ctrl or lctrl. Evaluates the residuals or the Jacobian at a certain a[]
        Specified by:
        fitToFunction in class NLConstrainedEngine
        Parameters:
        a - The best guess parameter values.
        residuals - ymodel - yData.
        covarMat - The derivative values of y with respect to fitting parameters.