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 , then the resulting matrix represents the concatenated matrix along the given axisaxis
.If
axis=0
, the matrix is concatenated row-wise:If
axis=1
, the matrix is concatenated column-wise: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.