method

hstack

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

Create a matrix by stacking matrices horizontally

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