Permutation Matrix Constructor
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Permutation | Constructs a new permutation matrix |
Permutation | Constructs a new permutation matrix |
PermutationMatrix(Int32)
Constructs a new permutation matrix
public PermutationMatrix(
int rowCount
)
Parameters
- rowCount Int32
- The number of rows and columns of the matrix.
Exceptions
Argument | rowCount is less than zero. |
PermutationMatrix(Permutation)
Constructs a new permutation matrix
public PermutationMatrix(
Permutation permutation
)
Parameters
- permutation Permutation
- The permutation that is equivalent to multiplying a vector or matrix on the left by the permutation matrix.
Exceptions
Argument | permutation is null. |