src/main/java/eu/digitisation/math/Arrays.java
public static double[] log(double[] array) {
        double[] darray = new double[array.length];
        for (int i = 0; i < array.length; i++) {
            darray[i] = Math.log(array[i]);
        }
        return darray;
    }
/**
     * Create an array containing the logarithms of the source array
     *
     * @param array array of double
     * @return the array of logs
     */
Create an array containing the logarithms of the source array
@param array array of double
@return the array of logs
Create an array containing the logarithms of the source array @param array array of double @return the array of logs
public static double[] log(double[] array) {
        double[] darray = new double[array.length];
        for (int i = 0; i < array.length; i++) {
            darray[i] = Math.log(array[i]);
        }
        return darray;
    }
public static double [ ] log ( double [ ] array ) { double [ ] darray = new double [ array . length ] ; for ( int i = 0 ; i < array . length ; i ++ ) { darray [ i ] = Math . log ( array [ i ] ) ; } return darray ; }
Create an array containing the logarithms of the source array
 @param array array of double
 @return the array of logs
Create an array containing the logarithms of the source array @param array array of double @return the array of logs