Matrix.AlignRows Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

AlignRows<T, U>(Matrix<T>, Matrix<U>) Aligns two matrices along their row indexes using the default join type.
AlignRows<T, U>(Matrix<T>, Matrix<U>, JoinType) 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.
C#
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

IIndex
The 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.
C#
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

IIndex
The combined index.

See Also