len method

double len()

(en)Return vector length.

(ja)長さを返します。

Implementation

double len() {
  return sqrt(x * x + y * y + z * z);
}