Adding the elements of a double[] array without using a loop in java
<p>I have a <strong>double[]</strong> of huge size. (Ex : Eg.<code>double[] array = new double[] {2.0, 3.1, 4.2, 8.9, 10.11, ........}</code>)</p>

<p>I want to <strong>get the sum of all the elements</strong> of that array at once. <strong>(Without using a loop)</strong>.</p>

<p>Do you have any idea to do this?</p>
