Represents the contract for a collection that allows its elements to be permuted.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public interface IPermutable
Public Interface IPermutable
public interface class IPermutable
type IPermutable = interface end
The IPermutable type exposes the following members.
| Name | Description |
---|
 | PermuteInPlace |
Permutes the object using the specified permutation.
|
 | Swap |
Swaps the items at the specified index in the object.
|
Top
Use the IPermutable interface to allow the elements of a collection to be permuted.
Although any IList or ListT can be permuted, some collections may
require a specific implementation, or may take advantage of optimizations specific to the type of collection.
Reference