all

Type: External

Group: matrix

Syntax

answer = all(matrix)

Description

Returns 1 if all of the elements of the supplied matrix are not zero.

Examples

all([0,0;0,0]) = 0 all([1,2;2i,-6]) = 1

See Also

any, and, not, abs