Next: name, Previous: mproduct, Up: Internal Routines [Contents][Index]
multisieve, x, y, list, index
Seeks elements of y
in x
and returns
information about the finds in list
and index
.
In list
are returned the indices to x
of the
found elements from y
, grouped by element of
y
. In index
are returned the start index of
each group in x
, and the total number of found elements is
appended at the end.
For element number i
from y
,
list(index(i): index(i + 1) - 1)
is equal to
sieve(x eq y(i))
.
See also: sieve