Class Weight

  • All Implemented Interfaces:
    OptimizationData

    @Deprecated
    public class Weight
    extends Object
    implements OptimizationData
    Deprecated.
    As of 3.1 (to be removed in 4.0).
    Weight matrix of the residuals between model and observations.
    Immutable class.
    Since:
    3.1
    • Constructor Detail

      • Weight

        public Weight​(double[] weight)
        Deprecated.
        Creates a diagonal weight matrix.
        Parameters:
        weight - List of the values of the diagonal.
    • Method Detail

      • getWeight

        public RealMatrix getWeight()
        Deprecated.
        Gets the initial guess.
        Returns:
        the initial guess.