check_ndarray_is_binary# pybrops.core.error.error_value_numpy.check_ndarray_is_binary(v, vname)[source]# Check if all elements in a numpy.ndarray are either 0 or 1. Parameters: v (numpy.ndarray) – Input array. vname (str) – Name assigned to input array. Return type: None