Viewing contents of file '../idllib/idl_5.2/lib/gamma.pro'
; $Id: gamma.pro,v 1.3.6.1 1999/01/16 16:40:11 scottm Exp $
;
; Copyright (c) 1995-1999, Research Systems, Inc. All rights reserved.
; Unauthorized reproduction prohibited.
;+
; NAME:
; GAMMA
; PURPOSE:
; The introduction of the GAMMA function as a built in system routine
; in IDL 4.0 caused inconvenience to customers with existing code
; in which GAMMA had been used as a variable, because IDL system
; routines have precedence over variable names. To minimize this
; problem, RSI has renamed GAMMA to NR_GAMMA.
;
; This wrapper serves to make NR_GAMMA available under the name
; GAMMA as documented in the IDL Reference Manual. However, since
; IDL library routines have lower precedence than variables, programs
; that use GAMMA as a variable name will work as before.
;
; See the documentation for GAMMA in the IDL Reference manual for
; details on arguments, keywords, and results.
;
;
; MODIFICATION HISTORY:
; 3 July 1995, AB, RSI.
;-
function gamma, x, _EXTRA=EXTRA_KW
return, NR_GAMMA(x, _EXTRA=EXTRA_KW)
end