Method: Vector#to_a

Defined in:
lib/matrix.rb

#to_aObject

Returns the elements of the vector in an array.



2436
2437
2438
# File 'lib/matrix.rb', line 2436

def to_a
  @elements.dup
end