Hi

Is there a simple way of creating a quantified subset of a set? I'm
looking for something along the lines of,

sage: S = set([0,1,2])
sage: U_S = S.subset(lambda x: x.is_unit()); U_S
>> 1

It seems like this should be doable in a straightforward way.

regards
john perry

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to