[SciPy-user] isodd(A), iseven(A)
Robert Kern
robert.kern at gmail.com
Mon May 22 08:06:56 EDT 2006
Nils Wagner wrote:
> Hi all,
>
> Has someone written a function that determines which elements of an
> array are odd/even numbers ?
>
> Any pointer would be appreciated.
some_array % 2
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the SciPy-User
mailing list