obj1 - obj2

Subtraction operator. Computes the subtraction of objects obj1 and obj2. Used with scalars, vectors, arrays and matrices.


Example


a = (1, 2, 3);

b = (2, -1, 1);

a - b

-1  3  2