Dense Matrix<T, TSlice, TStorage2D>.Swap Columns Method
Swaps the elements in the specified columns.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public override Matrix<T> SwapColumns(
int column1,
int column2
)
Parameters
- column1 Int32
- Zero-based index of the first column.
- column2 Int32
- Zero-based index of the second column.
Return Value
Matrix<T>Exceptions
Argument | column1 is less than zero or greater than or equal to the number of columns in the matrix. -or- column2 is less than zero or greater than or equal to the number of columns in the matrix. |