[SciPy-Dev] Official alias for logical_not?

Pauli Virtanen pav@iki...
Fri Sep 9 04:02:07 CDT 2011


Fri, 09 Sep 2011 09:21:14 +0100, Joscha Schmiedt wrote:
[clip]
> expressions compared to ~, & and xor in Matlab. Therefore, I regularly
> find myself creating aliases as n_ for them, which is basically fine,
> but I could imagine other people doing so.
> 
> So, are there any plans for officially creating shorthand aliases for
> the logical_ functions?

For boolean arrays, ~, &, ^ et al. are the logical operations.



More information about the SciPy-Dev mailing list