| 1 |
Math::Calculus::Expression version 0.1 |
| 2 |
====================================== |
| 3 |
|
| 4 |
This module can take an algebraic expression, parse it into a tree |
| 5 |
structure, simplify the tree, substitute variables and named constants |
| 6 |
for other variables or constants (which may be numeric), numerically |
| 7 |
evaluate the tree and turn the tree back into an output of the same |
| 8 |
form as the input. |
| 9 |
|
| 10 |
It supports a wide range of expressions including the +, -, *, / and |
| 11 |
^ (raise to power) operators, bracketed expressions to enable correct |
| 12 |
precedence and the functions ln, exp, sin, cos, tan, sec, cosec, cot, |
| 13 |
sinh, cosh, tanh, sech, cosech, coth, asin, acos, atan, asinh, acosh |
| 14 |
and atanh. |
| 15 |
|
| 16 |
INSTALLATION |
| 17 |
|
| 18 |
To install this module type the following: |
| 19 |
|
| 20 |
perl Makefile.PL |
| 21 |
make |
| 22 |
make test |
| 23 |
make install |
| 24 |
|
| 25 |
COPYRIGHT AND LICENCE |
| 26 |
|
| 27 |
Copyright (C) 2004, 2005 Jonathan Worthington |
| 28 |
|
| 29 |
This library is free software; you can redistribute it and/or modify |
| 30 |
it under the same terms as Perl itself. |
| 31 |
|