It seems that the logical operators || and &&, corresponding to 
logical_or and logical_and are missing; one can do

z = logical_and(x,y)

but not

z = x && y

Is there an inherent reason, or is this a bug?

z = (x == y)

works, and a comment in umathmodule.c.src suggests that && and || should 
also:

/**begin repeat

#kind=greater, greater_equal, less, less_equal, equal, not_equal, 
logical_and, logical_or, bitwise_and, bitwise_or, bitwise_xor#
#OP=>, >=, <, <=, ==, !=, &&, ||, &, |, ^#
**/

My version is '0.9.9.2584'.

Eric


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to