method

rows

v1_9_3_392 - Show latest stable - Class: Matrix
rows(rows, copy = true)
public

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