IPermutable Interface
Represents the contract for a collection that allows its elements to be permuted.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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. |