src/main/java/org/a05annex/util/Utl.java
public static double length(double... values) {
        double lengthSquared = 0.0;
        for (double v : values) {
            lengthSquared += v * v;
        }
        return Math.sqrt(lengthSquared);
    }
/**
     * Get the length of an n-dimensional set of lengths.
     *
     * @param values The dimensional lengths. The number of dimensional lengths is variable and may be zero.
     * @return The n-dimensional length, 0.0 of no dimensional lengths are specified.
     */
Get the length of an n-dimensional set of lengths.
@param values The dimensional lengths. The number of dimensional lengths is variable and may be zero.
@return The n-dimensional length, 0.0 of no dimensional lengths are specified.
Get the length of an n - dimensional set of lengths . @param values The dimensional lengths . The number of dimensional lengths is variable and may be zero . @return The n - dimensional length 0 . 0 of no dimensional lengths are specified .
public static double length(double... values) {
        double lengthSquared = 0.0;
        for (double v : values) {
            lengthSquared += v * v;
        }
        return Math.sqrt(lengthSquared);
    }
public static double length ( double ... values ) { double lengthSquared = 0.0 ; for ( double v : values ) { lengthSquared += v * v ; } return Math . sqrt ( lengthSquared ) ; }
Get the length of an n-dimensional set of lengths.
Get the length of an n - dimensional set of lengths .