hstack(*matrices) -> Matrix
[permalink][rdoc]行列 matrices を横に並べた行列を生成します。
require 'matrix'
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]]
[SEE_ALSO] Matrix.vstack, Matrix#hstack