[SciPy-Dev] Official alias for logical_not?

Pauli Virtanen pav at iki.fi
Fri Sep 9 05:02:07 EDT 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