SparseMatrix<T>.SwapRows Method

Interchanges the specified rows of the matrix.

Definition

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

Parameters

row1  Int32
The first row.
row2  Int32
The second row.

Return Value

Matrix<T>

See Also