cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/util/MathUtil.java
public static double[] abs(final double... data) {
        final double[] result = new double[data.length];
        for (int i = 0; i < result.length; i++) {
            result[i] = Math.abs(data[i]);
        }
        return result;
    }
/**
     * Gets the absolute values of an array of values
     *
     * @param data the array of values
     * @return a new array with the absolute value of each element in the given array.
     */
Gets the absolute values of an array of values
@param data the array of values
@return a new array with the absolute value of each element in the given array.
Gets the absolute values of an array of values @param data the array of values @return a new array with the absolute value of each element in the given array .
public static double[] abs(final double... data) {
        final double[] result = new double[data.length];
        for (int i = 0; i < result.length; i++) {
            result[i] = Math.abs(data[i]);
        }
        return result;
    }
public static double [ ] abs ( final double ... data ) { final double [ ] result = new double [ data . length ] ; for ( int i = 0 ; i < result . length ; i ++ ) { result [ i ] = Math . abs ( data [ i ] ) ; } return result ; }
Gets the absolute values of an array of values
 @param data the array of values
 @return a new array with the absolute value of each element in the given array.
Gets the absolute values of an array of values @param data the array of values @return a new array with the absolute value of each element in the given array .