notnegativetest¶
- tayph.notnegativetest(a, varname='')[source] [edit on github]¶
This function tests that all elements in the input variable are zero or positive.
- Parameters
- varint, float or array-like
The variable that needs to be tested.
- varnamestr, optional
Name or description of the variable to assist in debugging.