Next: name, Previous: mproduct, Up: Internal Routines [Contents][Index]

`multisieve, `

`x`, `y`, `list`, `index`

Seeks elements of

in `y`

and returns
information about the finds in `x`

and `list`

.
In `index`

are returned the indices to `list`

of the
found elements from `x`

, grouped by element of
`y`

. In `y`

are returned the start index of
each group in `index`

, and the total number of found elements is
appended at the end.
`x`

For element number `i`

from

,
`y`

is equal to
`list`(`index`(i): `index`(i + 1) - 1)`sieve(`

.
`x` eq `y`(i))

See also: sieve