comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Inverse Hyberbolic Tangent
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Inverse Hyberbolic Tangent [message #33346] Wed, 18 December 2002 10:29
Patrick L. Nolan is currently offline  Patrick L. Nolan
Messages: 1
Registered: December 2002
Junior Member
p.pall <p.pall@atm.ox.ac.uk> wrote:

> Does anyone out there know how to compute INVERSE hypebolic tangent in IDL
> 5.5?

> An 'Atanh' function does not appear to exist.

> Does this mean I'll have to mess about with series expansions?

This one is easy to do on paper.
If y = atan(x),
then x = .5 * ln( (1+y) / (1-y) )

Of course you need to worry about singular behavior at
the boundaries and the possibility of invalid y values.

--
* Patrick L. Nolan *
* W. W. Hansen Experimental Physics Laboratory (HEPL) *
* Stanford University *
Re: Inverse Hyberbolic Tangent [message #33350 is a reply to message #33346] Wed, 18 December 2002 05:39 Go to previous message
notspecified is currently offline  notspecified
Messages: 14
Registered: February 2002
Junior Member
On Wed, 18 Dec 2002 13:26:18 -0000, "p.pall" <p.pall@atm.ox.ac.uk>
wrote:

> Hi,
>
> Does anyone out there know how to compute INVERSE hypebolic tangent in IDL
> 5.5?
>
> An 'Atanh' function does not appear to exist.
>

How about using complex numbers? According to Abramowitz and Stegun
4.6.16,

Arctanh( z ) = -i Arctan( i z )


Matt Feinstein does not include his email address
in the text of usenet postings.
--------
Harvard Law of Automotive Repair: Anything that goes away
by itself will come back by itself.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem with database
Next Topic: HDF SD names?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:02:00 PDT 2025

Total time taken to generate the page: 0.02949 seconds