1Math::Symbolic::AuxFuncUtsieornsC(o3n)tributed Perl DocuMmaetnht:a:tSiyomnbolic::AuxFunctions(3)
2
3
4

NAME

6       Math::Symbolic::AuxFunctions - Auxiliary functions for Math::Symbolic
7       hierarchy
8

SYNOPSIS

10         use Math::Symbolic::AuxFunctions;
11
12         Math::Symbolic::AuxFunctions::acos($x);
13         # etc
14

DESCRIPTION

16       This module contains implementations of some auxiliary functions that
17       are used within the Math::Symbolic hierarchy of modules. In particular,
18       this module holds all trigonometric functions used for numeric evalua‐
19       tion of trees by Math::Symbolic::Operator.
20
21       EXPORT
22
23       None. On purpose. If I wished this module would pollute others' names‐
24       paces, I'd have put the functions right where they're used.
25

TRIGONOMETRIC FUNCTIONS

27       tan
28
29       Computes the tangent sin(x) / cos(x).
30
31       cot
32
33       Computes the cotangent cos(x) / sin(x).
34
35       asin
36
37       Computes the arc sine asin(z) = -i log(iz + sqrt(1-z*z)).  Above for‐
38       mula is for complex numbers.
39
40       acos
41
42       Computes the arc cosine acos(z) = -i log(z + sqrt(z*z-1)).  Above for‐
43       mula is for complex numbers.
44
45       atan
46
47       Computes the arc tangent atan(z) = i/2 log((i+z) / (i-z)).  Above for‐
48       mula is for complex numbers.
49
50       acot
51
52       Computes the arc cotangent ( atan( 1 / x ) ).
53
54       asinh
55
56       Computes the arc hyperbolic sine asinh(z) = log(z + sqrt(z*z+1))
57
58       acosh
59
60       Computes the arc hyperbolic cosine acosh(z) = log(z + sqrt(z*z-1)).
61

OTHER FUNCTIONS

63       binomial_coeff
64
65       Calculates the binomial coefficient n over k of its first two arguments
66       (n, k).
67
68       Code taken from Orwant et al, "Mastering Algorithms with Perl"
69
70       bell_number
71
72       The Bell numbers are defined as follows:
73
74         B_0   = 1
75         B_n+1 = sum_k=0_to_n( B_k * binomial_coeff(n, k) )
76
77       This function uses memoization.
78

AUTHOR

80       Please send feedback, bug reports, and support requests to the
81       Math::Symbolic support mailing list: math-symbolic-support at lists dot
82       sourceforge dot net. Please consider letting us know how you use
83       Math::Symbolic. Thank you.
84
85       If you're interested in helping with the development or extending the
86       module's functionality, please contact the developers' mailing list:
87       math-symbolic-develop at lists dot sourceforge dot net.
88
89       List of contributors:
90
91         Steffen Müller, symbolic-module at steffen-mueller dot net
92         Stray Toaster, mwk at users dot sourceforge dot net
93         Oliver Ebenhöh
94

SEE ALSO

96       New versions of this module can be found on http://steffen-mueller.net
97       or CPAN. The module development takes place on Sourceforge at
98       http://sourceforge.net/projects/math-symbolic/
99
100       Math::Symbolic
101
102
103
104perl v5.8.8                       2008-02-22   Math::Symbolic::AuxFunctions(3)
Impressum