APIdock / Ruby
/
method

elements

ruby latest stable - Class: Vector
elements(array, copy = true)
public

Creates a vector from an Array. The optional second argument specifies whether the array itself or a copy is used internally.

# File lib/matrix.rb, line 1704
 def Vector.elements(array, copy = true)
 new convert_to_array(array, copy)
 end

AltStyle によって変換されたページ (->オリジナル) /