Class GeneralizedLeastSquareResults<T>

  • Type Parameters:
    T - The type of the inputs to the basis functions

    public class GeneralizedLeastSquareResults<T>
    extends LeastSquareResults
    Generalized least square calculator.
    • Constructor Detail

      • GeneralizedLeastSquareResults

        public GeneralizedLeastSquareResults​(List<Function<T,​Double>> basisFunctions,
                                             double chiSq,
                                             DoubleArray parameters,
                                             DoubleMatrix covariance)
        Creates an instance.
        Parameters:
        basisFunctions - the basis functions
        chiSq - the chi-squared of the fit
        parameters - the parameters that were fit
        covariance - the covariance matrix of the result