Status: Accepted
Owner: asmeurer
Labels: Type-Enhancement Priority-Medium

New issue 2490 by asmeurer: Create a Mod object for symbolic modulus (x % y)
http://code.google.com/p/sympy/issues/detail?id=2490

Having a Mod object for symbolic moduli (i.e., __mod__, or x % y) would be useful. For example, you could define piecewise functions on integers using it, like Piecewise((f(n), Eq(n%2, 0)), (g(n), Eq(n%2, 1))).

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to