Click or drag to resize

PermutationApplyT Method

Applies the permutation to a list.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public void Apply<T>(
	IList<T> x
)

Parameters

x
Type: System.Collections.GenericIListT
The list.

Type Parameters

T
The type of the list.
Remarks

Usefully for large arrays, the appliation is in-place, i.e. rather than allocate a second array and copy the elements to their target locations in the new array, the elements are moved within the single array provided, using an algorithm which ensures that no element is lost via uncontrolled overwriting.

See Also