On Sun, May 4, 2014 at 12:00 AM, Akshay <[email protected]> wrote: > > > There is a way to reduce the variance, instead of evaluating at the end i.e > print((pcq/prq).evalf()) evaluate the random points in the beginning itself > > p = c1.random_point().evalf() > q = c1.random_point().evalf() > r = c1.random_point().evalf() > Using the above method i get the values with a variance of 0.01 (1.99-2.01)
Thanks for the tip. It seems to help the issue, but I am not able to get low variance values as you report. I am getting variance as high as 70, and 26 sometimes, etc. -- 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/CANODV3k7upXFYgh0fxZfdm0ZQZ%3Di7s4SacCPxnDacSUm5G2iTg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
