de>sum</code> - the value by which the doubles are to be normalized</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if sum is zero or NaN</dd></dl>
</li>
</ul>
<a name="logs2probs(double[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logs2probs</h4>
<pre>public static&nbsp;double[]&nbsp;logs2probs(double[]&nbsp;a)</pre>
<div class="block">Converts an array containing the natural logarithms of probabilities stored
 in a vector ba