IPermutable Interface
Represents the contract for a collection that allows its elements to be permuted.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public interface IPermutable
Remarks
Use the IPermutable interface to allow the elements of a collection to be permuted. Although any IList or List<T> can be permuted, some collections may require a specific implementation, or may take advantage of optimizations specific to the type of collection.
Methods
Permute | Permutes the object using the specified permutation. |
Swap | Swaps the items at the specified index in the object. |