><code>java.lang.IllegalArgumentException</code> - if sum is Zero or NaN</dd></dl>
</li>
</ul>
<a name="normalize(double[], double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>normalize</h4>
<pre>public static&nbsp;void&nbsp;normalize(double[]&nbsp;doubles,
             double&nbsp;sum)</pre>
<div class="block">Normalizes the doubles in the array using the given value.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>doubles</code> - the array of double</dd><dd><co