public double magnitude() {
        double magnitude = 0;
        int len = length();
        for (int c = 0; c < len; ++c) {
            double d = get(c);
            magnitude += d * d;
        }
        return Math.sqrt(magnitude);
    }
public double magnitude ( ) { double magnitude = 0 ; int len = length ( ) ; for ( int c = 0 ; c < len ; ++ c ) { double d = get ( c ) ; magnitude += d * d ; } return Math . sqrt ( magnitude ) ; }
{@inheritDoc}