next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
home
position(VisibleList,VisibleList,Function) -- find first element of a list satisfying a condition
Synopsis
Usage:
position(v,w,f)
Function:
position
Inputs:
v
,
a
visible list
w
,
a
visible list
f
,
a
function
Outputs:
the smallest index
i
such that
f(v#i,w#i)
is true
Optional inputs
:
Reverse => ...
,
Description
i1 : position((0,1,2,3,4), (0,0,0,9,9), (i,j)->i<j) o1 = 3