|
Contents | Previous | Next | Subchapters |
| Syntax |
y = all(x) |
y = all(x, d) | |
| See Also | O-Matrix mode , any |
all(x, d)
If the argument d is present,
it must be an integer, real or double-precision scalar equal to
one or two.
If d is one,
y is a logical row vector with the same column
dimension as x.
The j-th element of y is true,
if all of the elements in the j-th column of x are true.
If d is two,
y is a logical column vector with the same row
dimension as x.
The i-th element of y is true,
if all of the elements in the i-th row of x are true.
x = [ 0 2 0; 4 5 0 ]
all(x)
O-Matrix will respond
[ T , T , F ]