[Matrix-SIG] bitwise combos of arrays? addendum

Paul F. Dubois dubois1@llnl.gov
Wed, 11 Aug 1999 11:02:42 -0700


On Wed, 11 Aug 1999, Paul F. Dubois wrote:
> On Wed, 11 Aug 1999, Heather Drury wrote:
> 
> > 
> > 	- Where is the most recent NumPy documentation?
> > 	- Can I do this kind of thing in python/NumPy?
> > 	- Can someone point me in the right direction?
> > 
> > TIA,
> > 
> 
> http://xfiles.llnl.gov will get you to the documentation.
> 
> Numeric has functions such as logical_and, logical_or. But it does not (yet)
> have a bit vector type.  
> 
Well, that was true but not helpful. I meant, bitwise_...
>>> from Numeric import *
>>> a=array([1,3,4])
>>> b=array([1,1,1])
>>> bitwise_and(a,b)
array([1, 1, 0])
>>>