Matrix.Align Rows Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Align | Aligns two matrices along their row indexes using the default join type. |
Align | Aligns two matrices along their row indexes. |
AlignRows<T, U>(Matrix<T>, Matrix<U>)
Aligns two matrices along their row indexes using the default join type.
public static IIndex AlignRows<T, U>(
ref Matrix<T> matrix1,
ref Matrix<U> matrix2
)
Parameters
- matrix1 Matrix<T>
- The first matrix to align. On return the matrix with rows aligned to the combined index.
- matrix2 Matrix<U>
- The second matrix to align. On return the matrix with rows aligned to the combined index.
Type Parameters
- T
- The element type of the first matrix.
- U
- The element type of the second matrix.
Return Value
IIndexThe combined index.
Remarks
The type specified by AutoAlignJoinType
is used to join the indexes.
AlignRows<T, U>(Matrix<T>, Matrix<U>, JoinType)
Aligns two matrices along their row indexes.
public static IIndex AlignRows<T, U>(
ref Matrix<T> matrix1,
ref Matrix<U> matrix2,
JoinType joinType
)
Parameters
- matrix1 Matrix<T>
- The first matrix to align. On return the matrix with rows aligned to the combined index.
- matrix2 Matrix<U>
- The second matrix to align. On return the matrix with rows aligned to the combined index.
- joinType JoinType
- The type of join to use to join the indexes.
Type Parameters
- T
- The element type of the first matrix.
- U
- The element type of the second matrix.
Return Value
IIndexThe combined index.