org.apache.commons.math3.optimization
@Deprecated public class Weight extends java.lang.Object implements OptimizationData
Modifier and Type | Field and Description |
---|---|
private RealMatrix |
weightMatrix
Deprecated.
Weight matrix.
|
Constructor and Description |
---|
Weight(double[] weight)
Deprecated.
Creates a diagonal weight matrix.
|
Weight(RealMatrix weight)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RealMatrix |
getWeight()
Deprecated.
Gets the initial guess.
|
private final RealMatrix weightMatrix
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 (c) 2003-2013 Apache Software Foundation