src/main/java/eu/digitisation/math/Arrays.java
public static double sum(double[] array) {
        double sum = 0;
        for (int n = 0; n < array.length; ++n) {
            sum += array[n];
        }
        return sum;
    }
/**
     *
     * @param array array of double
     * @return the sum of all doubles in array
     */
@param array array of double
@return the sum of all doubles in array
@param array array of double @return the sum of all doubles in array
public static double sum(double[] array) {
        double sum = 0;
        for (int n = 0; n < array.length; ++n) {
            sum += array[n];
        }
        return sum;
    }
public static double sum ( double [ ] array ) { double sum = 0 ; for ( int n = 0 ; n < array . length ; ++ n ) { sum += array [ n ] ; } return sum ; }
@param array array of double
 @return the sum of all doubles in array
@param array array of double @return the sum of all doubles in array