Matrix<T>.SwapRows Method

Swaps the rows with the specified indices.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public virtual Matrix<T> SwapRows(
	int row1,
	int row2
)

Parameters

row1  Int32
The zero-based index of the first row.
row2  Int32
The zero-based index of the second row.

Return Value

Matrix<T>
A reference to this instance.

See Also