[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Provides a N! (n-faculty) number of permutations for N elements.
Example: for 3 elements provides 6 permutations exactly as follows:
{0, 1, 2}
{0, 2, 1}
{1, 0, 2}
{1, 2, 0}
{2, 0, 1}
{2, 1, 0}
The following tables list the members exposed by the PermutationEnumeration type.
Public Methods
Name | Description | |
---|---|---|
![]() | Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | Faculty | Computes faculty of N. |
![]() ![]() | GetFactors | Returns factors for computing the permutation. |
![]() | GetHashCode | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() ![]() | GetPermutation | Returns permutation. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MoveNext |
Advances the enumerator to the next element of the collection.
|
![]() | Reset |
Sets the enumerator to its initial position, which is before the first element in the collection.
|
![]() | ToString | (Inherited from Object.) |