|
|
coherent
mathematics library Overview mathematics library
The following mathematics routines are available with COHERENT:
aaccooss() Calculate inverse cosine
aassiinn() Calculate inverse sine
aattaann() Calculate inverse tangent
aattaann22() Calculate inverse tangent of quotient
ccaabbss() Calculate complex absolute value
cceeiill() Set numeric ceiling
ccooss() Calculate cosine
ccoosshh() Calculate hyperbolic cosine
eexxpp() Calculate exponent
ffaabbss() Calculate absolute value function
fflloooorr() Calculate floor function
hhyyppoott() Calculate hypotenuse
jj00() Calculate Bessel function, order 0
jj11() Calculate Bessel function, order 1
jjnn() Calculate Bessel function, order _n
lloogg() Calculate natural logarithm
lloogg1100() Calculate common logarithm
ppooww() Calculate power
ssiinn() Calculate sine
ssiinnhh() Calculate hyperbolic sine
ssqqrrtt() Calculate square root
ttaann() Calculate tangent
ttaannhh() 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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.