| |||||||||||||
KASH3 Reference Manual | |||||||||||||
| |||||||||||||
FunctionPositionProperty
(
seq() s,
func pred
)
->
elt-ord^rat
Optional Arguments
DescriptionReturn FAILURE if no such element exists in `s'. Note: Apparently `pred' must have `-> elt-alg^boo' out-signature. ExamplesPositionProperty(Sequence([50..100]),IsPrime);
PositionProperty(Sequence([2,4,6,8,12,50,100]),i->i mod 5=0);
| |||||||||||||
Built:
Mon Nov 14 21:12:39 UTC 2005 on mackThe KANT Group |