Method: Stick::Matrix#to_a
- Defined in:
- lib/stick/matrix/core.rb
#to_a ⇒ Object
Returns an array of arrays that describe the rows of the matrix.
944 945 946 |
# File 'lib/stick/matrix/core.rb', line 944 def to_a @rows.collect{|row| row.collect{|e| e}} end |