20 May
2021
20 May
'21
7:30 p.m.
When I understand correctly and what you desire is equivalent to integer overflowing, the function can indeed be applied as well. I tested. But to be sure, maybe some examples are better. Am Do., 20. Mai 2021 um 03:22 Uhr schrieb ZinGer_KyoN <zinger.kyon@gmail.com
:
I have similar needs, but for int array and integer interval (like -32768~32767), currently I'm using bitwise and/or (&/|) to do this trick.
It will be nice if there is an optimized function, both for float and int
-- Sent from: http://numpy-discussion.10968.n7.nabble.com/ _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion