### 14.1.4 Term by term difference of two lists

The infixed operators - and .- as well as the prefixed operator ’-’ return the term by term difference of two lists. If the two lists do not have the same size, the smaller list is padded with zeros.

#### Example

[1,2,3]-[4,3,5]

or:

[1,2,3].-[4,3,5]

or:

'-'([1,2,3],[4,3,5])

or:

'-'([[1,2,3],[4,3,5]])

| ⎡ ⎣ | −3,−1,−2 | ⎤ ⎦

##### Remark.

When the operator - is prefixed, it should be quoted (’-’).