numpy.fft.pocketfft

Standard library module View source
function ROT90
ROT90(a)
function ROTX90
ROTX90(a, fwd: bool)
function ROTX45
ROTX45(a, fwd: bool)
function ROTX135
ROTX135(a, fwd: bool)
class arr
@tuple
class arr[T]
Fields 3
p Ptr[T]
sz int
T type
Constructors 1
__new__
__new__(sz: int)
Methods 3
dealloc
dealloc(self)
size
size(self)
data
data(self)
Special methods 2
__getitem__
__getitem__(self, idx: int)
__setitem__
__setitem__(self, idx: int, val: T)
class sincos_2pibyn
@tuple
class sincos_2pibyn[T]
Fields 6
N int
mask int
shift int
v1 arr[complex]
v2 arr[complex]
T type
Constructors 1
__new__
__new__(n: int)
Methods 3
calc
calc(x: int, n: int, ang: float)
cmplx
cmplx(self, re, im)
dealloc
dealloc(self)
Special methods 1
__getitem__
__getitem__(self, idx: int)
function PM
PM(a, b)
function MP
MP(a, b)
class fctdata
@tuple
class fctdata[T]
Fields 4
fct int
tw Ptr[T]
tws Ptr[T]
T type
Methods 3
with_fct
with_fct(self, fct: int)
with_tw
with_tw(self, tw: Ptr[T])
with_tws
with_tws(self, tws: Ptr[T])
class cfftp
class cfftp[T, T0]
Fields 5
length int
mem arr[T]
fact List[fctdata[T]]
T type
T0 type
Constructors 1
__init__
__init__(self, length: int)
Methods 15
add_factor
add_factor(self, factor: int)
pass2
pass2(ido: int, l1: int, cc: Ptr[T], ch: Ptr[T], wa: Ptr[T], fwd: bool)
pass3
pass3(ido: int, l1: int, cc: Ptr[T], ch: Ptr[T], wa: Ptr[T], fwd: bool)
pass4
pass4(ido: int, l1: int, cc: Ptr[T], ch: Ptr[T], wa: Ptr[T], fwd: bool)
pass5
pass5(ido: int, l1: int, cc: Ptr[T], ch: Ptr[T], wa: Ptr[T], fwd: bool)
pass7
pass7(ido: int, l1: int, cc: Ptr[T], ch: Ptr[T], wa: Ptr[T], fwd: bool)
pass8
pass8(ido: int, l1: int, cc: Ptr[T], ch: Ptr[T], wa: Ptr[T], fwd: bool)
pass11
pass11(ido: int, l1: int, cc: Ptr[T], ch: Ptr[T], wa: Ptr[T], fwd: bool)
passg
passg(ido: int, ip: int, l1: int, cc: Ptr[T], ch: Ptr[T], wa: Ptr[T], csarr: Ptr[T], fwd: bool)
pass_all
pass_all(self, c: Ptr[T], fct: T0, fwd: bool)
exec
exec(self, c: Ptr[T], fct: T0, fwd: bool)
factorize
factorize(self)
twsize
twsize(self)
comp_twiddle
comp_twiddle(self)
dealloc
dealloc(self)
function MULPM
MULPM(c, d, e, f)
function REARRANGE
REARRANGE(rx, ix, ry, iy)
class rfftp
class rfftp[T, T0]
Fields 5
length int
mem arr[T0]
fact List[fctdata[T0]]
T type
T0 type
Constructors 1
__init__
__init__(self, length: int)
Methods 17
add_factor
add_factor(self, factor: int)
radf2
radf2(ido: int, l1: int, cc: Ptr[T0], ch: Ptr[T0], wa: Ptr[T0])
radf3
radf3(ido: int, l1: int, cc: Ptr[T0], ch: Ptr[T0], wa: Ptr[T0])
radf4
radf4(ido: int, l1: int, cc: Ptr[T0], ch: Ptr[T0], wa: Ptr[T0])
radf5
radf5(ido: int, l1: int, cc: Ptr[T0], ch: Ptr[T0], wa: Ptr[T0])
radfg
radfg(ido: int, ip: int, l1: int, cc: Ptr[T0], ch: Ptr[T0], wa: Ptr[T0], csarr: Ptr[T0])
radb2
radb2(ido: int, l1: int, cc: Ptr[T0], ch: Ptr[T0], wa: Ptr[T0])
radb3
radb3(ido: int, l1: int, cc: Ptr[T0], ch: Ptr[T0], wa: Ptr[T0])
radb4
radb4(ido: int, l1: int, cc: Ptr[T0], ch: Ptr[T0], wa: Ptr[T0])
radb5
radb5(ido: int, l1: int, cc: Ptr[T0], ch: Ptr[T0], wa: Ptr[T0])
radbg
radbg(ido: int, ip: int, l1: int, cc: Ptr[T0], ch: Ptr[T0], wa: Ptr[T0], csarr: Ptr[T0])
copy_and_norm
copy_and_norm(self, c: Ptr[T0], p1: Ptr[T0], fct: T0)
exec
exec(self, c: Ptr[T0], fct: T0, r2hc: bool)
factorize
factorize(self)
twsize
twsize(self)
comp_twiddle
comp_twiddle(self)
dealloc
dealloc(self)
class fftblue
class fftblue[T, T0]
Fields 8
n int
n2 int
plan cfftp[T, T0]
mem arr[T]
bk Ptr[T]
bkf Ptr[T]
T type
T0 type
Constructors 1
__init__
__init__(self, length: int)
Methods 4
fft
fft(self, c: Ptr[T], fct: T0, fwd: bool)
exec
exec(self, c: Ptr[T], fct: T0, fwd: bool)
exec_r
exec_r(self, c: Ptr[T0], fct: T0, fwd: bool)
dealloc
dealloc(self)
class pocketfft_c
class pocketfft_c[T, T0]
Fields 5
packplan Optional[cfftp[T, T0]]
blueplan Optional[fftblue[T, T0]]
length int
T type
T0 type
Constructors 1
__init__
__init__(self, length: int)
Methods 1
exec
exec(self, c: Ptr[T], fct: T0, fwd: bool)
class pocketfft_r
class pocketfft_r[T, T0]
Fields 5
packplan Optional[rfftp[T, T0]]
blueplan Optional[fftblue[T, T0]]
length int
T type
T0 type
Constructors 1
__init__
__init__(self, length: int)
Methods 1
exec
exec(self, c: Ptr[T0], fct: T0, fwd: bool)
function fft
fft(v: Ptr[T], n: int, norm: Optional[str], T: type)
function ifft
ifft(v: Ptr[T], n: int, norm: Optional[str], T: type)
function rfft
rfft(v: Ptr[T0], n: int, is_forward: bool, norm: Optional[str], o: Ptr[T], T: type, T0: type)
function irfft
irfft(v: Ptr[T], n: int, norm: Optional[str], o: Ptr[T0], T: type, T0: type)