[Numpy-discussion] boolean arrays

Fabrice Silva silva@lma.cnrs-mrs...
Thu Nov 26 07:43:14 CST 2009


Le jeudi 26 novembre 2009 à 18:26 +0200, Nadav Horesh a écrit :
> It is obvious to me that True+False == True,. Why do you think it should
> be False?
> 
I would understand it is not obvious that '+' stands for logical 'or',
and '*' for logical 'and'...


-- 
Fabrice Silva <silva@lma.cnrs-mrs.fr>
LMA UPR CNRS 7051



More information about the NumPy-Discussion mailing list