# -

Calculator Key: -

None
Argument Types:
Real
Complex
Integer
Symbol
Expression
Array
Result Type(s):
Real
Complex
Integer
Expression
Array
Invertible:
Yes
Valid In Expression:
Yes
Stack Diagram:
 Real1 Real2 → Real3 Complex1 Complex2 → Complex3 Real1 Complex2 → Complex3 Complex1 Real2 → Complex3 Integer1 Integer2 → Integer3 Real1 Integer2 → Integer3 Integer1 Real2 → Integer3 Array1 Array2 → Array3 Symbol1 Symbol2 → Expression3 Expression1 Expression2 → Expression3

The subtract operation will take its two numerical operands and produce the difference as its result. It operates on reals, complex and integer values. Also, you can combine reals with complex values and reals with integer values. The result will be a complex or integer value respectively.

Matrices and vectors can be subtracted. A vector cannot be subtracted from a matrix and vice versa. The number of rows and columns in the matrices must match. The vectors or matrices being subtracted can be real, complex or a mixture of real and complex. The result will be a a vector or matrix of the same dimension as the input values with each corresponding value being the difference of the input values at that position.