Documentation of 'org.apache.commons.math3.optim.nonlinear.vector.Weight' Java class
Weight
org.apache.commons.math3.optim.nonlinear.vector

Class Weight

  • All Implemented Interfaces:
    OptimizationData

    Deprecated. 
    All classes and interfaces in this package are deprecated. The optimizers that were provided here were moved to the org.apache.commons.math3.fitting.leastsquares package (cf. MATH-1008).

    @Deprecated
    public class Weight
    extends java.lang.Object
    implements OptimizationData
    Weight matrix of the residuals between model and observations.
    Immutable class.
    Since:
    3.1
    • Constructor Summary

      Constructors 
      Constructor and Description
      Weight(double[] weight)
      Deprecated. 
      Creates a diagonal weight matrix.
      Weight(RealMatrix weight)
      Deprecated. 
       
    • 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.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.