Permutation: Get index...

Get the index position of the value.

Example

The query for the index of value 3 for the permutation (3,2,4,5,1) gives 1.

Links to this page


© djmw, July 14, 2005