Method: Matrix#column_vectors
- Defined in:
- lib/matrix.rb
#column_vectors ⇒ Object
Returns an array of the column vectors of the matrix. See Vector.
1616 1617 1618 1619 1620 |
# File 'lib/matrix.rb', line 1616 def column_vectors Array.new(column_count) {|i| column(i) } end |