Skip to main content

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) -> arr[T]
Methods 3
dealloc
dealloc(self: Self)
size
size(self: Self)
data
data(self: Self)
Special methods 2
__getitem__
__getitem__(self: Self, idx: int)
__setitem__
__setitem__(self: 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) -> sincos_2pibyn[T]
Methods 3
calc
calc(x: int, n: int, ang: float)
cmplx
cmplx(self: Self, re, im)
dealloc
dealloc(self: Self)
Special methods 1
__getitem__
__getitem__(self: 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: Self, fct: int)
with_tw
with_tw(self: Self, tw: Ptr[T])
with_tws
with_tws(self: 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: Self, length: int)
Methods 15
add_factor
add_factor(self: 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: Self, c: Ptr[T], fct: T0, fwd: bool)
exec
exec(self: Self, c: Ptr[T], fct: T0, fwd: bool)
factorize
factorize(self: Self)
twsize
twsize(self: Self)
comp_twiddle
comp_twiddle(self: Self)
dealloc
dealloc(self: 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: Self, length: int)
Methods 17
add_factor
add_factor(self: 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: Self, c: Ptr[T0], p1: Ptr[T0], fct: T0)
exec
exec(self: Self, c: Ptr[T0], fct: T0, r2hc: bool)
factorize
factorize(self: Self)
twsize
twsize(self: Self)
comp_twiddle
comp_twiddle(self: Self)
dealloc
dealloc(self: 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: Self, length: int)
Methods 4
fft
fft(self: Self, c: Ptr[T], fct: T0, fwd: bool)
exec
exec(self: Self, c: Ptr[T], fct: T0, fwd: bool)
exec_r
exec_r(self: Self, c: Ptr[T0], fct: T0, fwd: bool)
dealloc
dealloc(self: 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: Self, length: int)
Methods 1
exec
exec(self: 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: Self, length: int)
Methods 1
exec
exec(self: Self, c: Ptr[T0], fct: T0, fwd: bool)
function fft
fft[T: type](v: Ptr[T], n: int, norm: Optional[str])
function ifft
ifft[T: type](v: Ptr[T], n: int, norm: Optional[str])
function rfft
rfft[T: type, T0: type](v: Ptr[T0], n: int, is_forward: bool, norm: Optional[str], o: Ptr[T])
function irfft
irfft[T: type, T0: type](v: Ptr[T], n: int, norm: Optional[str], o: Ptr[T0])