aamath is a program that reads mathematical expressions in infix notation and renders them as ASCII art. It may be useful to send mathematics through text-only media, such as e-mail or newsgroups.
As a simple example, the output for an expression such as
A_OPR = x*sqrt(x^2-1)/2 - int(sqrt(t^2-1), t = 1 .. x) |
will look like
x ______ / / 2 | ______ x \/ x - 1 | / 2 A = ----------- - | \/ t - 1 dt OPR 2 | | / 1 |
Other than the usual operations (addition, subtraction, multiplication, division, and exponentiation), aamath can also handle functions, integrals, limits, sums, products, matrices and vectors. Here is a more thorough set of examples.
aamath is a command-line utility. It was successfully compiled and tested on Linux, FreeBSD, Cygwin, and DJGPP. It is written in C++, and will need lex and yacc to compile. GNU readline is also recommended, although not essential.
2005-06-22 * Version 0.3 released * Input equations from command line arguments -- bi * Prettify man page -- bi 2005-03-07 * Version 0.2 released * Slightly improved man page * Determinants, nabla, better radical rendering 2005-03-02 * Version 0.1 released * First release
E-mail the author: mauro_persano at yahoo dot com
Last modified: Wed Jun 22 17:34:48 PST 2005