method

vstack

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: Matrix
vstack(x, *matrices) public

Create a matrix by stacking matrices vertically

x = Matrix[[1, 2], [3, 4]]
y = Matrix[[5, 6], [7, 8]]
Matrix.vstack(x, y) # => Matrix[[1, 2], [3, 4], [5, 6], [7, 8]]
Show source
Register or log in to add new notes.