TITLE: 'Linux' math program with interactive terminal?
QUESTION [43 upvotes]: Are there any open source math programs out there that have an interactive terminal and that work on linux?
So for example you could enter two matrices and specify an operation such as multiply and it would then return the answer or a error message specifying why an answer can't be computed? I am just looking for something that can perform basic matrix operations and modular arithmetic.

REPLY [2 votes]: freemat 
FreeMat is a free environment for rapid engineering and scientific prototyping and data processing. It is similar to commercial systems