spreg.constant_check

spreg.constant_check(array)[source]

Checks to see numpy array includes a constant.

Parameters:
arrayarray

an array of variables to be inspected

Returns:
constantbool

true signifies the presence of a constant