check for scalar (in the matrix sense)
Checks if expr is a scalar. This is the case if expr is algebraic and not a Vector or Matrix.
More precisely, expr is a scalar if:
expr is of type algebraic, and
expr is not the name of a procedure, table, or module, and
if the top-level type of expr is one of `*`, `+`, `.`, `^`, `&*`, `&+`, and `&^` (that is, if op(0, expr) is one of these operators), then all its arguments are scalars.
Download Help Document
What kind of issue would you like to report? (Optional)