org.apache.commons.math3.fitting.leastsquares
package
(cf. MATH-1008).@Deprecated public class Weight extends Object implements OptimizationData
Constructor and Description |
---|
Weight(double[] weight)
Deprecated.
Creates a diagonal weight matrix.
|
Weight(RealMatrix weight)
Deprecated.
|
public Weight(double[] weight)
weight
- List of the values of the diagonal.public Weight(RealMatrix weight)
weight
- Weight matrix.NonSquareMatrixException
- if the argument is not
a square matrix.public RealMatrix getWeight()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.