Mathomatic is a portable Computer Algebra System (CAS) written entirely in the C programming language.