Skip to content

mustBeNegative

miscellaneous · scripts/miscellaneous/mustBeNegative.m

: mustBeNegative (A)

Validation function: raise an error unless every element of the real numeric or logical array A is strictly less than zero. An empty array is accepted.