Difference between revisions of "PositionInIndex"
(set up redirect) |
(placed PositionInIndex in its own page.) |
||
Line 1: | Line 1: | ||
− | + | [[Category:Array-reducing functions]] | |
+ | |||
+ | PositionInIndex is the positional equivalent of [[SubIndex]]. | ||
+ | |||
+ | Finds U in A and returns the integer position of the value along I. If there are duplicates, the largest such position is returned. PositionInIndex may be necessary when I contains or may contain duplicates, in which case SubIndex isn't sufficient, and without PositionInIndex, there is no easy workaround. | ||
+ | |||
+ | = Declaration = | ||
+ | PositionInIndex(A:Array[I] ; U : atomic ; I : IndexType ) | ||
+ | |||
+ | = See Also = | ||
+ | |||
+ | * [[SubIndex]] |
Revision as of 22:34, 31 January 2007
PositionInIndex is the positional equivalent of SubIndex.
Finds U in A and returns the integer position of the value along I. If there are duplicates, the largest such position is returned. PositionInIndex may be necessary when I contains or may contain duplicates, in which case SubIndex isn't sufficient, and without PositionInIndex, there is no easy workaround.
Declaration
PositionInIndex(A:Array[I] ; U : atomic ; I : IndexType )
See Also
Comments
Enable comment auto-refresher