Hello,

Can't find answer to this anywhere.

What I would like is to automatically clip the values if they breach the bounds.

I have done a simple clipping, and overwritten __iadd__, __isub__, __setitem__, 
…

But I am wandering if there is a specified way to do this. Or maybe at least a 
centralised place exists to do such thing? E.g. Only 1 method to override?

Regards and thanks,
dgpb
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to