On Thu, Dec 3, 2015 at 5:48 AM, Francesco Bonazzi
<[email protected]> wrote:
> I mean, I think there are two options:
>
> make .subs( ) aware of wildcards.
How would this be different from replace then? I'm -1. We should be
more distinct between the difference between things like xreplace,
subs, and replace. What if I literally want to replace a Wild in an
expression with something else?
> make .replace( ) match subexpressions (alternatively, a parameter
> subexpression=True/False)
How would it work though?
>
> It would also be nice to make assumptions on wildcards work:
>
>
>>>> b = Wild('b', positive=True)
>
> in this case, b should match only positive expressions.
Yes, definitely. We should think about the new assumptions here too.
Aaron Meurer
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/f1a2fec8-d823-4f7b-8cba-58f0bf1744e0%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/CAKgW%3D6LyH87e6OqKwVszFYHoOPT1UEHxBs9%2B-qQDYZiV%3DxGEjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.