DRealFns.mesa
Copyright Ó 1989, 1991 by Xerox Corporation. All rights reserved.
Russ Atkinson (RRA) June 22, 1989 9:40:11 pm PDT
Exponent and logarithm functions
Exp:
PROC [x:
DREAL]
RETURNS [
DREAL];
For an input argument x, returns e^x (e=2.718...).
Ln:
PROC [x:
DREAL]
RETURNS [
DREAL];
Computes the natural logarithm (base e) of x.
Log:
PROC [base, arg:
DREAL]
RETURNS [
DREAL];
Computes logarithm to the base of arg.
Power:
PROC [base, exponent:
DREAL]
RETURNS [
DREAL];
Calculates base to the exponent power by e(exponent*Ln(base)).
Root:
PROC [index, arg:
DREAL]
RETURNS [
DREAL];
Calculates the index root of arg by e(Ln(arg)/index).
SqRt:
PROC [x:
DREAL]
RETURNS [
DREAL];
Calculates the square root of the input value by Newton's iteration.
Trigonometric functions
Sin: PROC [radians: DREAL] RETURNS [DREAL];
SinDeg:
PROC [degrees:
DREAL]
RETURNS [
DREAL];
Cos: PROC [radians: DREAL] RETURNS [DREAL];
CosDeg:
PROC [degrees:
DREAL]
RETURNS [
DREAL];
Tan: PROC [radians: DREAL] RETURNS [DREAL];
TanDeg:
PROC [degrees:
DREAL]
RETURNS [
DREAL];
ArcTan: PROC [y, x: DREAL] RETURNS [radians: DREAL];
ArcTanDeg: PROC [y, x: DREAL] RETURNS [degrees: DREAL];
Bessel functions
J0:
PROC [x:
DREAL]
RETURNS [
DREAL];
Bessel function of first kind of order 0
J1:
PROC [x:
DREAL]
RETURNS [
DREAL];
Bessel function of first kind of order 1
Jn:
PROC [n:
INT, x:
DREAL]
RETURNS [
DREAL];
Bessel function of first kind of order n
Y0:
PROC [x:
DREAL]
RETURNS [
DREAL];
Bessel function of second kind of order 0
Y1:
PROC [x:
DREAL]
RETURNS [
DREAL];
Bessel function of second kind of order 1
Yn:
PROC [n:
INT, x:
DREAL]
RETURNS [
DREAL];
Bessel function of second kind of order n