math.icn: Procedures for mathematical computations

procedure binocoef:        binomial coefficient
procedure cosh:            hyperbolic cosine
procedure sinh:            hyperbolic sine
procedure tanh:            hyperbolic tanh

link math
December 26, 1995; Ralph E. Griswold
Requires: Large integer arithmetic for binocoef(n, k) for all but small values of n and k.
This file is in the public domain.

binocoef(n, k)  produces the binomial coefficient n over k.  It
                fails unless 0 <= k <= n.

cosh(r)         produces the hyperbolic cosine of r.

sinh(r)         produces the hyperbolic sine of r.

tanh(r)         produces the hyperbolic tangent of r.

Source code | Program Library Page | Icon Home Page