normalize() Instance Public methods Returns a new vector with the same direction but with norm 1. v = Vector[5,8,2].normalize # => Vector[0.5184758473652127, 0.8295613557843402, 0.20739033894608505] v.norm => 1.0
r() Instance Public methods Alias for: magnitude
size() Instance Public methods Returns the number of elements in the vector.
to_a() Instance Public methods Returns the elements of the vector in an array.
to_s() Instance Public methods Overrides Object#to_s
new(init_path = Tk::LIBRARY) Class Public methods
getobj(event) Class Public methods
info() Class Public methods
new(*sequences) Class Public methods
add(*sequences) Instance Public methods
Page 1851 of 11844