./../../org/apache/commons/math3/optim/nonlinear/vector/Weight.html#Weight(double[])">Weight</a></strong>(double[]&nbsp;weight)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Creates a diagonal weight matrix.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../../../org/apache/commons/math3/optim/nonlinear/vector/Weight.html#Weight(org.apache.commons.math3.linear.RealMatrix)">Weight</a></strong>(<a href="../../../../../../..