summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorChris Vavaliaris <cv1038@wildcats.unh.edu>2020-07-12 15:43:30 -0400
committerGitHub <noreply@github.com>2020-07-12 14:43:30 -0500
commit0862be9b58bc6b40e688c3118f5cc91954a7fd13 (patch)
tree38ecc33551ccf6eb55c7cc9f211a743e9c2411fa /numpy/array_api/_array_object.py
parent0ce6da0961baafa2fe5cdd766313f2f04dbbfb11 (diff)
downloadnumpy-0862be9b58bc6b40e688c3118f5cc91954a7fd13.tar.gz
ENH: add `norm=forward,backward` to numpy.fft functions (#16476)
The kwarg option norm=inverse leads to scaling of the transforms inverse (opposite) to that of the default option norm=None; i.e. the forward transform is normalized with 1/n whereas the backward one with 1. The fft routines and their tests have been modified to reflect the changes; all tests have been passed successfully. Closes #16126 * modified _unitary, fft & ifft and their tests; tests passed * modified rfft & irfft and their tests; tests passed * modified hfft & ihfft and all tests; all modifications are now done * correction in ihfft; all 79 fft tests passed successfully * undo unnecessary docstrings changes made in my previous commits * use norm=forward kwarg value name * Update numpy/fft/__init__.py Co-authored-by: Leo Fang <leofang@bnl.gov> * add code review suggestions Co-authored-by: Leo Fang <leofang@bnl.gov> * add default norm=None alias norm=backward * streamline private normalization functions * modify hermitian FFTs * add review suggestions Co-authored-by: Leo Fang <leofang@bnl.gov> * add review suggestions v2 (dict as module const) * make review suggestions v3 * Apply suggestions from code review Co-authored-by: Leo Fang <leofang@bnl.gov>
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions