On Tuesday, October 18, 2016 at 7:05:17 PM UTC-4, Mosè Giordano wrote: > > Hi Steven, > > 2016-10-19 0:36 GMT+02:00 Steven G. Johnson <steve...@gmail.com > <javascript:>>: > > For example: > > > > quadgk(z -> 1/z, 1, 1im, -1, -1im) > > > > integrates 1/z over a closed counter-clockwise diamond-shaped contour > around > > the origin in the complex plane, returning 2πi by the residue theorem. > > Did you mean > > quadgk(z -> 1/z, 1, 1im, -1, -1im, 1)
Right, sorry.