[sage-support] Plotting algebraic curves

2020-02-29 Thread Fernando Gouvea
Some years ago in a book review, David Roberts had the idea of plotting an algebraic curve using the transformation (u,v) = (x,y)/(r2 + x2 + y2)1/2, which transforms the plane into a circle and makes it easy to visualize the projective completion of the curve. You can see some of his plots at http

[sage-support] Re: Approximating integral with infinite bounds

2020-02-29 Thread Simon King
Hi Emmanuel, On 2020-02-29, Emmanuel Charpentier wrote: > This question would have been more properly posed on ask.sagemath.org... Why? I for one totally dislike ask.sagemath.org and would never post a question or an answer there. It is of course a matter of taste. But it is certainly not appro

Re: [sage-support] Re: Approximating integral with infinite bounds

2020-02-29 Thread Vincent Delecroix
Le 29/02/2020 à 21:41, Emmanuel Charpentier a écrit : You may try to separate the real and imaginary part of your function, and sample from these part. Look at Stan and the companion R package bridgesampling

[sage-support] Re: Approximating integral with infinite bounds

2020-02-29 Thread Emmanuel Charpentier
This question would have been more properly posed on ask.sagemath.org... The firs argument of numerical integral must be a function of one (real) variable returning a real. It is indeed possible to nest such integrals, but the second one *nests* the first one, hence long computation times. Exam