Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f74f0a

Browse files
authored
TYP: fft.*fft, fft.*fftn and fft.*fft2 shape-typing and improved dtype support (#31226)
1 parent b065cce commit 4f74f0a

3 files changed

Lines changed: 1125 additions & 53 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
``numpy.fft`` typing improvements and preliminary shape-typing support
2+
----------------------------------------------------------------------
3+
The ``numpy.fft`` functions now support non-``float64``/``complex128`` dtypes and gain
4+
preliminary shape-typing support. For example, the return type of ``numpy.fft.fft`` now
5+
depends on the shape-type of its inputs, falling back to the backward-compatible return
6+
type when the shape-types are unknown at type-checking time.

0 commit comments

Comments
 (0)