= private = protected
row_vector(row)
Creates a single-row matrix where the values of that row are as given in row.
Matrix.row_vector([4,5,6]) => 4 5 6
# File lib/matrix.rb, line 168 def Matrix.row_vector(row) row = convert_to_array(row) new [row] end