[SciPy-user] numpy 1.0b1: arccosh(0.0)

Pierre SCHNIZER p.schnizer at gsi.de
Fri Aug 4 07:29:31 CDT 2006

John Hassler wrote:
> It does exist - but it's a multivalued function, so you need a branch 
> cut.  See (halfway down the page):
> http://mathworld.wolfram.com/InverseHyperbolicCosine.html
> john
> David Cournapeau wrote:

I agree. Perhaps that is the reason for the inf here?

In [18]:numpy.arccosh(0+0j)
As it looks to me, thats not correct neither...

I am using it for transforming between elliptic coordinates and 
rectangular ones, there this behaviour is not that desireable.

Sincerely yours

>>Pierre SCHNIZER wrote:
>>>	I don't know if that only happens on my machine....
>>>For numpy 1.0 b1 I get
>>>In [241]:numpy.arccosh(0)
>>I get the same results, but this is logical... acosh is defined by 
>>0.5(exp(z) + exp(-z)) for z complex, and this cannot be smaller than 1 
>>for z real, and never equal to 0, so arccosh(0) does not really make 
>>sense to me,
>>SciPy-user mailing list
>>SciPy-user at scipy.org
> ------------------------------------------------------------------------
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user

More information about the SciPy-user mailing list