Hullo Sympy Group, In my code, I'd like to be able to specify symbols with a binary type, something akin to:
*>>> b = symbols('b', binary=True)* This would let *b* assume only values from the set *{0, 1}*. I see the * Boolean* class from which the *Symbol* class derives, but I believe that's for boolean operations. The symbols function appears to accept the *binary*keyword, but it appears to silently accept /any/ keyword. What I'm currently doing for my uses is keeping track of this via an external object, but I'm hoping I can get the Sympy core to take note of it's status. Is there a way to specify a variable as binary? Thanks, Kevin -- You received this message because you are subscribed to the Google Groups "sympy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sympy/-/rrwCaYpeoyMJ. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.