Matrix.Join Horizontal<T> Method
Concatenates matrices horizontally.
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 horizontally.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public static Matrix<T> JoinHorizontal<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 horizontally.
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 rows. |
| Overflow | The sum of the column counts exceeds MaxValue. |