linalg:equal
(linalg:equal a b)
Returns the elementwise numeric equality of a and b as a 0.0/1.0 mask (numpy's ==, which produces a boolean array); either operand may be a scalar, and arrays broadcast by numpy's rules exactly as linalg:add describes. Multiply by the mask where numpy would boolean-index. For a single boolean answer over the whole array, use linalg:array-equal; the ordering comparisons are linalg:greater, linalg:greater-equal, linalg:less and linalg:less-equal.