and

Type: External

Group: matrix

Syntax

answer = AND(matrix1, matrix2)

Description

Returns the boolean and of all the elements of the two matrices.

Examples

and([1,1;1,1], [0,0;0,0]) = [0,0;0,0]
and([1,2], [2,1]) = [1,1]

See Also

not, or, xor