adelie.matrix.concatenate#

adelie.matrix.concatenate(mats: list, *, axis: int = 0, n_threads: int = 1)[source]#

Creates a concatenation of the matrices.

If mats represents a list of matrices X1,,XL, then the resulting matrix represents the concatenated matrix along the given axis axis.

If axis=0, the matrix is concatenated row-wise:

[X1X2XL]

If axis=1, the matrix is concatenated column-wise:

[|||X1X2XL|||]

Note

This matrix only works for naive method!

Parameters:
matslist

List of matrices to concatenate.

axisint, optional

The axis along which the matrices will be joined. Default is 0.

n_threadsint, optional

Number of threads. Default is 1.

Returns:
wrap

Wrapper matrix object.