Method on @sym: all (x)
Method on @sym: all (x, dim)

Return true if all entries of a symbolic vector are nonzero.

Similar behaviour to the built-in all with regard to matrices and the second argument.

Throws an error if any entries are non-numeric.

Example:

all([sym(1) pi 3])
  ⇒ ans = 1

See also: @sym/any.

Package: symbolic