I have three lists of floats of equal lenght: upper_bound, lower_bound and x.

I would like to check whether lower_bound[i]<= x[i] <= upper_bound[i] for
all i in range(len(x))

Which is the best way to do this?

Thanks.


-- 
View this message in context: 
http://old.nabble.com/check-for-inequalities-on-a-list-tp28517353p28517353.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to