Flowdock
method

hstack

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

Returns a new matrix resulting by stacking horizontally the receiver with the given matrices

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