Math-Lab is a C++ program that imitates the functionality of the MATLAB console.
Math-Lab supports these types of statements:
a = 2
b = a //b now has value 2
a++ //Adds 1 to a
5 + 3 //Stores the value 9 in the default variable 'ans'
a + 3 //Adds 3 to a and stores the result in 'ans'
c = a / 2 //Stores the result of 'a/2' in c
a *= 4
a = [1 2; 3 4]
b = [5; 6]
a * b //Computes the result of matrix multiplication
a/b //Computes the result of matrix division
a' //Computes the result of matrix transpose