| Group: | Operators |
| See also: | >= <= > < |
| Function: | == | |
| Description: | == compares elementwise. If the elements are equal 1 is returned otherwise 0. |
| Usage: | z = y == x | |
| Input: | ||
| x | array | |
| y | array | |
| Output: | ||
| z | array | |
#(3,4) == #(3,2) #(3,4) .== #(3,4) #(6,9)' .= #(11,9)' x = #(1/0, -1/0, NaN, 0) x == x'
Contents of _tmp [1,] 1 [2,] 0 Contents of _tmp [1,] 1 [2,] 1 Contents of _tmp [1,] 0 1 Contents of _tmp [1,] 1 0 0 0 [2,] 0 1 0 0 [3,] 0 0 1 0 [4,] 0 0 0 1
| Group: | Operators |
| See also: | >= <= > < |