| Group: | Operators |
| See also: | + * .* / ^ % |
| Function: | - | |
| Description: | - is a operator for subtraction of arrays. |
| Usage: | z = y - x | |
| Input: | ||
| x | n1 x n2 x ... x np array | |
| y | m1 x m2 x ... x mp array | |
| Output: | ||
| z | max(n1,m1) x max(n2,m2) x ... x max(np,mp) array | |
#(3,4) - #(1,2) (#(3,4)~#(1,2)) .- #(2,3)
Contents of _tmp [1,] 2 [2,] 2 Contents of _tmp [1,] 1 -1 [2,] 1 -1
| Group: | Operators |
| See also: | + * .* / ^ % |