SyntaxFix
Write A Post
Hire A Developer
Questions
A similar question is: Mapping a NumPy array in place. If you can find a ufunc for your f(), then you should use the out parameter.