import sympy as sp from sympy import stats y,a1,a0,v=sp.symbols('y a1 a0 v',positive=True,real=True) Y1=stats.Gamma('Y1',a1,v) Y0=stats.Gamma('Y0',a0,v) stats.density(sp.Min(Y1,Y0)) stats.density(Y1/Y0)
returns RuntimeError: maximum recursion depth exceeded The same for other operations between random variates and for other distributions. Why is sympy failing? As far as I'm aware these are problems with straightforward solution. -- 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 https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/2a29b454-46e6-4f34-b007-7b4fdcb6ad7f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.