Class Weight
java.lang.Object
org.apache.commons.math3.optimization.Weight
- All Implemented Interfaces:
OptimizationData
Deprecated.
As of 3.1 (to be removed in 4.0).
Weight matrix of the residuals between model and observations.
Immutable class.
Immutable class.
- Since:
- 3.1
-
Constructor Summary
ConstructorsConstructorDescriptionWeight
(double[] weight) Deprecated.Creates a diagonal weight matrix.Weight
(RealMatrix weight) Deprecated. -
Method Summary
-
Constructor Details
-
Weight
public Weight(double[] weight) Deprecated.Creates a diagonal weight matrix.- Parameters:
weight
- List of the values of the diagonal.
-
Weight
Deprecated.- Parameters:
weight
- Weight matrix.- Throws:
NonSquareMatrixException
- if the argument is not a square matrix.
-
-
Method Details
-
getWeight
Deprecated.Gets the initial guess.- Returns:
- the initial guess.
-