rows

rows(rows, copy = true)
Class Public methods

Creates a matrix where rows is an array of arrays, each of which is a row of the matrix. If the optional argument copy is false, use the given arrays as the internal structure of the matrix without copying.

Matrix.rows([[25, 93], [-1, 66]])
   =>  25 93
       -1 66
doc_ruby_on_rails
2015-04-18 05:44:50
Comments
Leave a Comment

Please login to continue.