Dear all, I am an absolute beginner with sympy and I would be very grateful for your assistance. I have an expression of the form: a*b/(c*d) and I want sympy to express it as a/c * b/d (or a/d * b/c, I don't care). Do you have any idea how to get this? I have seen the apart() function, but that's not what I am looking for.
For those who need details, I have to estimate the value of a cdf in R. But the estimation of that value is difficult since it calls for the n-th order derivative of a multivariate rational function obtained from polynomials. Hence, I use the rSymPy library in R to get my derivative and everythings fine until I try to evaluate the resulting function. Indeed the numerator and the denominator of my derivative are so small that sympy fails in evaluating it precisely. This why I want to express my derivative as a product of ratios that can be evaluated independantly before the product is computed. I hope the exposal is clear. Thanks in advance for the help (I am not a mathematician). Florent -- 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 https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/794f6290-a451-4c12-8b06-80d482f64e06%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
