> Couldn't stop myself from showing how that would work in Maple, > > data:=[-1,2,3]: > evalindets(data,negative,0); > > [0, 2, 3]
Or in more, maybe, readable form, applyrule(x::negative=0,data); [0, 2, 3] Alec --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---