|
|
1.1 ! root 1: ! 2: ! 3: mathematics library Overview mathematics library ! 4: ! 5: ! 6: ! 7: ! 8: The following mathematics routines are available with COHERENT: ! 9: ! 10: aaccooss() Calculate inverse cosine ! 11: aassiinn() Calculate inverse sine ! 12: aattaann() Calculate inverse tangent ! 13: aattaann22() Calculate inverse tangent of quotient ! 14: ccaabbss() Calculate complex absolute value ! 15: cceeiill() Set numeric ceiling ! 16: ccooss() Calculate cosine ! 17: ccoosshh() Calculate hyperbolic cosine ! 18: eexxpp() Calculate exponent ! 19: ffaabbss() Calculate absolute value function ! 20: fflloooorr() Calculate floor function ! 21: hhyyppoott() Calculate hypotenuse ! 22: jj00() Calculate Bessel function, order 0 ! 23: jj11() Calculate Bessel function, order 1 ! 24: jjnn() Calculate Bessel function, order _n ! 25: lloogg() Calculate natural logarithm ! 26: lloogg1100() Calculate common logarithm ! 27: ppooww() Calculate power ! 28: ssiinn() Calculate sine ! 29: ssiinnhh() Calculate hyperbolic sine ! 30: ssqqrrtt() Calculate square root ! 31: ttaann() Calculate tangent ! 32: ttaannhh() Calculate hyperbolic tangent ! 33: ! 34: ***** See Also ***** ! 35: ! 36: Lexicon, Libraries, math.h ! 37: ! 38: ***** Notes ***** ! 39: ! 40: When programs that contain mathematics routines are compiled, the ! 41: mathematics libraries must be called specifically on the cc com- ! 42: mand line. For example, to compile the example presented under ! 43: the entry for acos, use the following cc command line: ! 44: ! 45: ! 46: cc -f acos.c -lm ! 47: ! 48: ! 49: The -f option links in the floating point routines for printf, ! 50: while the -lm option links in the mathematics libraries. Note ! 51: that the -lm option must come last on the cc command line, or the ! 52: library will not be searched properly. ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.