Matrix.Align Columns 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 column indexes using the default join type. |
Align | Aligns two matrices along their column indexes. |
AlignColumns<T, U>(Matrix<T>, Matrix<U>)
Aligns two matrices along their column indexes using the default join type.
public static IIndex AlignColumns<T, U>(
ref Matrix<T> matrix1,
ref Matrix<U> matrix2
)
Parameters
- matrix1 Matrix<T>
- The first matrix to align. On return the matrix with columns aligned to the combined index.
- matrix2 Matrix<U>
- The second matrix to align. On return the matrix with columns 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.
AlignColumns<T, U>(Matrix<T>, Matrix<U>, JoinType)
Aligns two matrices along their column indexes.
public static IIndex AlignColumns<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 columns aligned to the combined index.
- matrix2 Matrix<U>
- The second matrix to align. On return the matrix with columns 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.