Method: Numerix::Vector4#length

Defined in:
lib/numerix/vector4.rb

#lengthFloat Also known as: magnitude

Returns the length of the vector.

Returns:

  • (Float)

    the length of the vector.



108
109
# File 'lib/numerix/vector4.rb', line 108

def length
end