concatMatrix#

swordfish.function.concatMatrix()#

Concatenate the matrices vertically or horizontally. When you concatenate matrices horizontally, they must have the same number of rows. When you concatenate them vertically, they must have the same number of columns.

Parameters:
  • X (Constant) – A tuple of multiple matrices.

  • horizontal (Constant, optional) – A Boolean value indicating whether the matrices are contatenated horizontally. The default value is true. If set to false, the matrices are contatenated vertically.