From Tone Sommerland:
CalclipseMath is a script interpreter based on a library for evaluating mathematical expressions. The interpreter supports a wide range of predefined operations. These include basic math operations, as well as trigonometry, statistics, and linear algebra. The scripting language allows you to create your own variables and functions. The script environment supports a component type called MComp (Math Component). MComps are implemented as Java classes, and allow further extensions to the scripting language. It features recognizes a wide range of predefined symbols, supports user defined variables and functions, and scriptable component type.