Thanks a lot! On 2 May 2013 23:02, Matthew Rocklin <mrock...@gmail.com> wrote: > Or just cherry pick this > https://github.com/mrocklin/sympy/commit/c6b2ed058dbf16d577181360864dabd1e2f6029e > > > On Thu, May 2, 2013 at 3:57 PM, Matthew Rocklin <mrock...@gmail.com> wrote: >> >> Ah, this also depends on development version of logpy, branch >> assoccomm-registry >> >> >> >> >> On Thu, May 2, 2013 at 3:52 PM, Matthew Rocklin <mrock...@gmail.com> >> wrote: >>> >>> If you're willing to work off of a development branch >>> >>> git remote add mrocklin g...@github.com:mrocklin/sympy.git >>> git remote update mrocklin >>> git checkout mrocklin/logpy-start >>> >>> bin/isympy >>> >>> In [1]: import sympy.logpy >>> In [2]: from logpy.variables import variables >>> In [3]: from logpy.unify import unify >>> In [4]: with variables(g): >>> print unify(sin(x), g(x), {}) >>> ...: >>> {g: sin} >>> >>> >>> >>> >>> On Thu, May 2, 2013 at 3:16 PM, Stefan Krastanov >>> <krastanov.ste...@gmail.com> wrote: >>>> >>>> `unify(sin(x), g(x), variables=[g])` returns an empty list (instead of >>>> `sin`). I am aware of the mess with `Function` and co. Is there a way >>>> around this? >>>> >>>> -- >>>> 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 sympy+unsubscr...@googlegroups.com. >>>> To post to this group, send email to sympy@googlegroups.com. >>>> Visit this group at http://groups.google.com/group/sympy?hl=en-US. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>> >> > > -- > 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 sympy+unsubscr...@googlegroups.com. > To post to this group, send email to sympy@googlegroups.com. > Visit this group at http://groups.google.com/group/sympy?hl=en-US. > For more options, visit https://groups.google.com/groups/opt_out. > >
-- 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 sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.