PermutationMatrix Constructor

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

PermutationMatrix(Int32) Constructs a new permutation matrix
PermutationMatrix(Permutation) Constructs a new permutation matrix

PermutationMatrix(Int32)

Constructs a new permutation matrix
C#
public PermutationMatrix(
	int rowCount
)

Parameters

rowCount  Int32
The number of rows and columns of the matrix.

Exceptions

ArgumentOutOfRangeExceptionrowCount is less than zero.

PermutationMatrix(Permutation)

Constructs a new permutation matrix
C#
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

ArgumentNullExceptionpermutation is null.

See Also