Matrix.Join Vertical<T> Method
Concatenates matrices vertically.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
A matrix created by concatenating the matrices in matrices vertically.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public static Matrix<T> JoinVertical<T>(
params Matrix<T>[] matrices
)
Parameters
- matrices Matrix<T>[]
- A parameter array of matrices to concatenate.
Type Parameters
- T
- The element type of the matrices.
Return Value
Matrix<T>A matrix created by concatenating the matrices in matrices vertically.
Remarks
Empty input returns a mutable 0-by-0 matrix. A single input matrix is
returned unchanged. Two or more inputs are copied into a new mutable
column-major dense matrix.
Exceptions
| Argument | matrices is null. |
| Argument | One or more of the elements of matrices is null. -or- Not all matrices have the same number of columns. |
| Overflow | The sum of the row counts exceeds MaxValue. |