

mathematics library          Overview         mathematics library




The following mathematics routines are available with COHERENT:

aaccooss()    Calculate inverse cosine
aassiinn()    Calculate inverse sine
aattaann()    Calculate inverse tangent
aattaann22()   Calculate inverse tangent of quotient
ccaabbss()    Calculate complex absolute value
cceeiill()    Set numeric ceiling
ccooss()     Calculate cosine
ccoosshh()    Calculate hyperbolic cosine
eexxpp()     Calculate exponent
ffaabbss()    Calculate absolute value function
fflloooorr()   Calculate floor function
hhyyppoott()   Calculate hypotenuse
jj00()      Calculate Bessel function, order 0
jj11()      Calculate Bessel function, order 1
jjnn()      Calculate Bessel function, order _n
lloogg()     Calculate natural logarithm
lloogg1100()   Calculate common logarithm
ppooww()     Calculate power
ssiinn()     Calculate sine
ssiinnhh()    Calculate hyperbolic sine
ssqqrrtt()    Calculate square root
ttaann()     Calculate tangent
ttaannhh()    Calculate hyperbolic tangent

***** See Also *****

Lexicon, Libraries, math.h

***** Notes *****

When programs that contain mathematics routines are compiled, the
mathematics libraries must  be called specifically on the cc com-
mand line.   For example, to compile  the example presented under
the entry for acos, use the following cc command line:


          cc -f acos.c -lm


The -f  option links in  the floating point  routines for printf,
while the  -lm option links  in the mathematics  libraries.  Note
that the -lm option must come last on the cc command line, or the
library will not be searched properly.











COHERENT Lexicon                                           Page 1


