Click or drag to resize
Permutation Class
Represents a permutation.
Inheritance Hierarchy
SystemObject
  Meta.Numerics.FunctionsPermutation

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public sealed class Permutation : IEquatable<Permutation>, 
	IFormattable

The Permutation type exposes the following members.

Properties
  NameDescription
Public propertyDimension
Gets the dimension of the permutation.
Public propertyIsDerangement
Gets a Boolean flag indicating whether the permutation is a derangement.
Public propertyIsEven
Gets a Boolean value that is true if the permutation is even and false if the permutation is odd.
Public propertyIsIdentity
Gets a Boolean value indicating whether the permutation is the identity.
Public propertyIsInvolution
Gets a Boolean flag indicating whether the permutation is an involution.
Public propertyOrder
Gets the order of the permutation.
Top
Methods
  NameDescription
Public methodApplyT
Applies the permutation to a list.
Public methodEquals(Object)
Determines whether the given object is equal to the permutation.
(Overrides ObjectEquals(Object).)
Public methodEquals(Permutation)
Determines whether the given permutation is equal to the permutation instance.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Public methodStatic memberGetRandomPermutation
Get a random permutation.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIdentity
Returns the identity permutation of the given dimension.
Public methodInverse
Gets the inverse of the permutation.
Public methodStatic memberParse
Converts a text representation into a permutation.
Public methodStatic memberPermutations
Generates all permutations of the given dimension.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodToString(String)
Converts the permutation to its string representation in the given format.
Public methodToString(String, IFormatProvider)
Converts the permutation to its string representation in the given format.
Public methodStatic memberTryParse
Attempts to convert a text representation into a permutation.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two permutations are equal.
Public operatorStatic memberInequality
Determines whether two permutations are not equal.
Public operatorStatic memberMultiply
Multiplies two permutations.
Top
See Also