Documentation for /Users/balarsen/Documents/idl/larsen/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

./

alog_n.pro

topalog_n

MATH

result = alog_n(in, n)

compute the log of a number in an arbitary base

There is no error checking on bad input, so be careful.

Return value

Log_n(in), log base n of in

Parameters

in in required

the number to take the log of

n in required

the base of the log

Examples

IDL> print, log_n(4.5, 2) 2.16992

Author information

History:

Thu Mar 13 14:16:09 2008, Brian Larsen written and tested

Statistics

Lines: 7
McCabe complexity:

File attributes

Modifcation date: Tue Sep 9 13:56:17 2008
Lines: 45
Disclaimer