= private = protected
r()
Returns the modulus (Pythagorean distance) of the vector.
Vector[5,8,2].r => 9.643650761
# File lib/matrix.rb, line 1466 def r Math.sqrt(@elements.inject(0) {|v, e| v + e*e}) end