# libsexpr ver 1.0c

A simple mathematical function parser. It allows to enter expressions like:
x

and then compute their values for different values of variables.
^{2} + 3y - exp(x + y)

Expressions are stored in a tree what allows computing their values in a reasonable time. Unfortunately constant parts are not being precomputed.

The variables are stored in a vector so that they can be directly fed to functions operating on matrices and vectors (e.g. BLAS level 1 and 2).

This library isn't meant to be used in too serious applications. Its advantages are small size, quite simple interface and easy adding of new functions. It works well in my program eduOptim.