[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


ASINH Source code in asinh.pro

ASINH

Name
     ASINH
Purpose
     Return the inverse hyperbolic sine of the argument
Explanation
     The inverse hyperbolic sine is used for the calculation of asinh
     magnitudes, see Lupton et al. (1999, AJ, 118, 1406)
Calling Sequence
     result = asinh( x)
Input Parameters
     X - hyperbolic sine, numeric scalar or vector or multidimensional array
        (not complex)
Output Parameters
     result - inverse hyperbolic sine, same number of elements as X
              double precision if X is double, otherwise floating pt.
Procedure
     Expression given in  Numerical Recipes, Press et al. (1992), eq. 5.6.7
     Note that asinh(-x) = -asinh(x) and that asinh(0) = 0. and that
     if y = asinh(x) then x = sinh(y).
Revision History
     Written W. Landsman                 February, 2001
     Work for multi-dimensional arrays  W. Landsman    August 2002
     Simplify coding, and work for scalars again  W. Landsman October 2003

Last modified by pro2html on 2003 October 09 at 03:53 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically