Represents a permutation, a rearrangement of the elements of a set or collection.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Class Permutation
C#
public class Permutation
C++
public ref class Permutation

Methods

IconTypeDescription
Apply<(Of T>)(IList<(Of T>))
Applies the permutation to a list.
Apply(GeneralMatrix)
Applies the permutation to the rows of a GeneralMatrix.
Apply(Vector)
Applies the permutation to the components of a Vector.
ApplyInverse<(Of T>)(IList<(Of T>))
Applies the inverse permutation to a list.
ApplyInverse(GeneralMatrix)
Applies the inverse permutation to the rows of a GeneralMatrix.
ApplyInverse(Vector)
Applies the inverse permutation to the components of a Vector.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetHashCode()
Serves as a hash function for a particular type.
GetInverse()
Returns the inverse of this Permutation.
GetType()
Gets the Type of the current instance.
MemberwiseClone()
Creates a shallow copy of the current Object.
Swap(Int32, Int32)
Applies an elementary permutation.
ToString()
Returns a String representation of the permutation.

Constructors

IconTypeDescription
PermutationNew(Int32)
Constructs a new Permutation.

Properties

IconTypeDescription
IsEven
Gets whether the permutation is composed of an even number of elementary permutations.
Item(Int32)
Gets the position of an element after applying the permutation.
Length
Gets the length of the permutation.

Remarks

Use the Permutation class to represent any rearrangement of the elements of a set or collection.

Inheritance Hierarchy

System.Object
  Extreme.Mathematics.LinearAlgebra.Permutation