next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: select(ZZ,BasicList,Function)

select(ZZ,BasicList,Function) -- select a limited number of elements from a list

Synopsis

Description

The order of the elements in the result will be the same as in the original list v.
i1 : select(4,0..10,even)

o1 = (0, 2, 4, 6)

o1 : Sequence

See also