; $Id: gamma.pro,v 1.1 1995/07/05 15:33:04 idl Exp $ ; Copyright (c) 1995, 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