public class Weight extends Object implements OptimizationData
Constructor and Description |
---|
Weight(double[] weight)
Creates a diagonal weight matrix.
|
Weight(RealMatrix weight) |
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 © 2023 CNES. All rights reserved.