ALL

True if all elements of a vector are true.

For vectors, ALL(V) returns 1 if all of the elements of the

vector are non-zero. Otherwise it returns 0. For matrices,

ALL(X) operates on the columns of X, returning a row vector

of 1's and 0's.