Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cool-japan/oxifft
/ functions
Functions
4,171 in github.com/cool-japan/oxifft
⨍
Functions
4,171
◇
Types & classes
244
↓ 5 callers
Function
generate_split_radix
Generate a split-radix twiddle codelet for the given size. If no size is specified (empty input), generates the generic runtime-parameterized split-r
oxifft-codegen-impl/src/gen_twiddle.rs:482
↓ 5 callers
Method
get
Get or compute twiddle factors for size n and radix k. Returns W_n^0, W_n^1, ..., W_n^(k-1) for the given parameters.
oxifft/src/kernel/twiddle/mod.rs:55
↓ 5 callers
Function
get_twiddle_table_soa_f64
Get or compute the SoA twiddle table for the given size and direction (f64). Returns an `Arc` to the shared table. Subsequent calls with the same key
oxifft/src/kernel/twiddle/mod.rs:256
↓ 5 callers
Function
hc2r_8
(y: &[Complex<T>], x: &mut [T])
oxifft/src/rdft/codelets/mod.rs:171
↓ 5 callers
Function
import_from_file
(path: &std::path::Path)
oxifft/src/api/wisdom.rs:586
↓ 5 callers
Method
is_nan
(self)
oxifft/src/kernel/f16.rs:97
↓ 5 callers
Function
is_prime
Deterministic Miller-Rabin primality test for all `u64` values. Uses a set of witnesses that is sufficient to deterministically test any 64-bit integ
oxifft/src/ntt/arith.rs:71
↓ 5 callers
Method
is_zero
(self)
oxifft/src/kernel/f128_type.rs:242
↓ 5 callers
Function
make_unit_twiddles
(n: usize)
oxifft/src/dft/codelets/twiddle_odd.rs:959
↓ 5 callers
Function
merge_from_string
Merge incoming wisdom into the global cache. For each entry in the incoming wisdom string: - If the problem hash is not yet in the global cache, it i
oxifft/src/api/wisdom.rs:542
↓ 5 callers
Method
merge_string
Merge incoming wisdom into this cache. For every entry in `s`: - If the hash is absent from the cache, insert it. - If the hash is present but the in
oxifft/src/api/wisdom.rs:272
↓ 5 callers
Method
negate_high
(self)
oxifft/src/simd/sse2.rs:127
↓ 5 callers
Method
negate_low
(self)
oxifft/src/simd/sse2.rs:136
↓ 5 callers
Function
notw_8_dispatch
(x: &mut [Complex<T>], sign: i32)
oxifft/src/dft/codelets/simd/mod.rs:65
↓ 5 callers
Function
pack_and_fft
Pack N reals into N/2 complex, compute naive complex DFT.
oxifft/src/rdft/codelets/real_twiddle.rs:437
↓ 5 callers
Method
par_map_slices_mut
Apply `f` to non-overlapping mutable slices of `data`, each of length `chunk_size` (the last slice may be shorter), in parallel using rayon. When a c
oxifft/src/threading/work_stealing.rs:102
↓ 5 callers
Function
real_cepstrum
Compute the real cepstrum of a signal. The real cepstrum is defined as `IFFT(log(|FFT(x)|))`. Because only the log-magnitude is used (phase is discar
oxifft/src/signal/cepstrum.rs:66
↓ 5 callers
Function
reference_dft
Helper: brute-force DFT of a complex slice (reference implementation).
oxifft/src/streaming/sdft.rs:557
↓ 5 callers
Function
reference_dft_f64
Reference O(n²) DFT for verification.
oxifft-codegen-impl/src/symbolic_tests.rs:774
↓ 5 callers
Function
resample
Resample a real signal to a new length using spectral interpolation/decimation. Uses FFT-based frequency-domain resampling: - **Upsampling** (`new_le
oxifft/src/signal/resample.rs:68
↓ 5 callers
Method
rewrite
Rewrite an output expression (replacing shared subexpressions with Temp refs).
oxifft-codegen-impl/src/symbolic_emit.rs:132
↓ 5 callers
Function
rwlock_write
(lock: &std::sync::RwLock<T>)
oxifft/src/prelude.rs:90
↓ 5 callers
Method
sin_cos
(self)
oxifft-codegen/tests/rdft_codelets.rs:93
↓ 5 callers
Method
size
(&self)
oxifft/src/api/plan/types.rs:460
↓ 5 callers
Method
split
(&self, axis: usize)
oxifft/src/kernel/tensor.rs:158
↓ 5 callers
Function
stockham_scalar
Scalar Stockham implementation for f64 (radix-2, for reference/testing). Uses pre-computed twiddle factors per stage for efficiency.
oxifft/src/dft/solvers/stockham/generic.rs:270
↓ 5 callers
Method
store_unaligned
(self, ptr: *mut f64)
oxifft/src/simd/avx512.rs:72
↓ 5 callers
Method
store_unaligned
(self, ptr: *mut f64)
oxifft/src/simd/avx2.rs:74
↓ 5 callers
Function
test_hermitian_symmetry
(n: usize)
oxifft/src/rdft/codelets/real_twiddle.rs:547
↓ 5 callers
Function
test_post_matches_r2c
(n: usize)
oxifft/src/rdft/codelets/real_twiddle.rs:456
↓ 5 callers
Function
test_roundtrip
(n: usize)
oxifft/src/rdft/codelets/real_twiddle.rs:501
↓ 5 callers
Function
to_fftw_c64
(c: Complex<f64>)
oxifft-bench/benches/fftw_parity_gates.rs:61
↓ 5 callers
Function
transpose
Out-of-place matrix transpose.
oxifft/src/support/transpose.rs:65
↓ 5 callers
Method
type1
Execute Type 1 NUFFT: non-uniform → uniform. Given values at non-uniform points, compute uniform Fourier coefficients. # Errors Returns error if in
oxifft/src/nufft/mod.rs:265
↓ 5 callers
Function
welch
Compute power spectral density using Welch's method. Divides the signal into overlapping segments, applies a window to each, computes the FFT, and av
oxifft/src/signal/spectral.rs:138
↓ 4 callers
Method
abs
(self)
oxifft-codegen/tests/notw_small_sizes.rs:98
↓ 4 callers
Method
abs
(self)
oxifft-codegen/tests/opt_passes_16_64.rs:90
↓ 4 callers
Method
add
(self, other: Self)
oxifft/src/simd/avx.rs:70
↓ 4 callers
Method
backward
Compute gradient of a scalar loss with respect to FFT input (backward mode AD). Given the gradient of loss w.r.t. FFT output (grad_output), computes
oxifft/src/autodiff/mod.rs:278
↓ 4 callers
Function
bessel_i0
Modified Bessel function of the first kind, order 0. Uses polynomial approximation.
oxifft/src/streaming/window.rs:177
↓ 4 callers
Function
check_close_f32
( got: &[kernel::Complex<f32>], expected: &[kernel::Complex<f32>], tol: f32, label: &str, )
oxifft-codegen/tests/opt_passes_16_64.rs:309
↓ 4 callers
Function
check_soa_vs_aos_f32
For a given size, verify SoA vs AoS within 4 ULP (f32).
oxifft/src/kernel/twiddle/twiddle_tests.rs:294
↓ 4 callers
Function
check_soa_vs_aos_f64
For a given size, verify that applying AoS and SoA twiddle multiplication to the same input produces results within 4 ULP of each other (f64).
oxifft/src/kernel/twiddle/twiddle_tests.rs:248
↓ 4 callers
Function
classify
Classify `n` for codelet generation. # Errors Returns `CodegenError::InvalidSize(0)` when `n == 0`.
oxifft-codegen-impl/src/gen_any.rs:85
↓ 4 callers
Method
clear
Clear the buffer.
oxifft/src/streaming/mod.rs:139
↓ 4 callers
Function
compute_kernel_width
Compute kernel width based on desired tolerance and oversampling ratio. The spreading kernel is `exp(-β·(j/W)²)` with `β = 2.3·W` and `W = kernel_wid
oxifft/src/nufft/mod.rs:537
↓ 4 callers
Method
compute_nd_offset
Compute offset for multi-dimensional index.
oxifft/src/api/plan/types_guru.rs:303
↓ 4 callers
Function
convolve_with_mode
Compute linear convolution with specified output mode.
oxifft/src/conv/mod.rs:95
↓ 4 callers
Method
count_recursive
Count usages of each subexpression across all outputs (bottom-up).
oxifft-codegen-impl/src/symbolic_emit.rs:39
↓ 4 callers
Function
create_optimal_filter
Create optimal filter for sparse FFT based on sparsity. # Arguments `n` - Signal length `k` - Expected sparsity `num_buckets` - Number of buckets
oxifft/src/sparse/filter.rs:246
↓ 4 callers
Function
detect_simd_level
()
oxifft/src/simd/detect.rs:25
↓ 4 callers
Function
dft_naive_f32
(input: &[kernel::Complex<f32>], sign: i32)
oxifft-codegen/tests/opt_passes_16_64.rs:263
↓ 4 callers
Method
dims
(&self)
oxifft/src/api/plan/types_nd.rs:89
↓ 4 callers
Function
dispatch_chunked
Dispatch a batch of FFTs, automatically splitting into chunks of at most `chunk_limit` elements. When `inputs.len() <= chunk_limit` the outer loop ex
oxifft/src/gpu/batch.rs:143
↓ 4 callers
Method
estimate_cost
(&self, n: usize, solver: &SolverChoice)
oxifft/src/kernel/planner.rs:650
↓ 4 callers
Method
execute
Execute the FFT with buffering for non-contiguous access. Uses a contiguous buffer to improve cache locality when strides are non-unit.
oxifft/src/dft/solvers/buffered.rs:82
↓ 4 callers
Method
execute
Execute the direct DFT computation. # Arguments `input` - Input array of complex values `output` - Output array (must be same length as input) `sign`
oxifft/src/dft/solvers/direct.rs:55
↓ 4 callers
Method
execute
Execute the guru plan on the given buffers. # Arguments `input` - Input buffer with layout matching `dims` and `howmany` `output` - Output buffer wit
oxifft/src/api/plan/types_guru.rs:167
↓ 4 callers
Function
execute_composite_codelet
(x: &mut [Complex<T>], n: usize, sign: i32)
oxifft/src/dft/codelets/composite/functions_4.rs:322
↓ 4 callers
Method
execute_dct2_direct
Execute DCT-II (REDFT10) using direct O(n²) computation. Formula: X\[k\] = sum_{n=0}^{N-1} x\[n\] * cos(π * (2n + 1) * k / (2N))
oxifft/src/rdft/solvers/r2r.rs:57
↓ 4 callers
Method
execute_dct3
Execute DCT-III transform (dispatches to fast for n >= 16, direct otherwise).
oxifft/src/rdft/solvers/r2r.rs:314
↓ 4 callers
Method
execute_dct4_direct
Execute DCT-IV (REDFT11) using direct O(n²) computation. Formula: X\[k\] = sum_{n=0}^{N-1} x\[n\] * cos(π * (2n + 1) * (2k + 1) / (4N))
oxifft/src/rdft/solvers/r2r.rs:411
↓ 4 callers
Method
execute_dht_direct
Execute Discrete Hartley Transform (DHT) using direct O(n²) computation. Formula: H\[k\] = sum_{n=0}^{N-1} x\[n\] * cas(2πnk/N) where cas(θ) = cos(θ
oxifft/src/rdft/solvers/r2r.rs:810
↓ 4 callers
Method
execute_dit_inplace
Decimation-in-Time in-place.
oxifft/src/dft/solvers/ct.rs:266
↓ 4 callers
Method
execute_dst1_direct
Execute DST-I (RODFT00) transform. Formula: X\[k\] = sum_{n=0}^{N-1} x\[n\] * sin(π * (n+1) * (k+1) / (N+1)) Note: DST-I is always computed directly
oxifft/src/rdft/solvers/r2r.rs:539
↓ 4 callers
Method
execute_internal
(&mut self, _direction: GpuDirection)
oxifft/src/gpu/plan.rs:295
↓ 4 callers
Method
execute_with_buffers
Execute the FFT using explicitly supplied buffers. This is the `&self` companion to `execute_internal`. It creates no allocations beyond the caller-s
oxifft/src/gpu/plan.rs:332
↓ 4 callers
Function
export_to_file
(path: &std::path::Path)
oxifft/src/api/wisdom.rs:563
↓ 4 callers
Function
factor
(mut n: usize)
oxifft/src/kernel/primes.rs:36
↓ 4 callers
Function
fft_pruned_output
Compute FFT for only selected output frequencies. This is efficient when you need fewer than log₂(N) outputs. For more outputs, consider using full F
oxifft/src/pruned/output_pruned.rs:33
↓ 4 callers
Function
fftw_execute
Execute a 1-D complex DFT plan. Corresponds to FFTW's `fftw_execute` / `fftw_execute_dft`. Unlike FFTW, OxiFFT does not modify the input buffer. The
oxifft/src/compat/mod.rs:377
↓ 4 callers
Function
fftw_plan_dft_r2c_1d
(n: usize, flags: Flags)
oxifft/src/compat/mod.rs:236
↓ 4 callers
Method
forward
Execute forward FFT.
oxifft/src/autodiff/mod.rs:233
↓ 4 callers
Function
gaussian_weights_1d
Compute 1-D Gaussian kernel weights for a single non-uniform point. Returns a `Vec` of `(grid_index, weight)` pairs. The grid is of size `n_grid` an
oxifft/src/nufft/nufft2d.rs:38
↓ 4 callers
Function
generate_from_macro
Generate an odd-size (3, 5, 7) DFT codelet from macro input `gen_odd_codelet!(N)`. # Errors Returns `syn::Error` if the input is not a valid integer
oxifft-codegen-impl/src/gen_odd.rs:34
↓ 4 callers
Method
get_temporaries
(&self)
oxifft-codegen-impl/src/symbolic.rs:344
↓ 4 callers
Function
get_twiddle_table_f32
Get or compute twiddle factors for the given size and direction (f32). Returns an `Arc` to the shared table. Subsequent calls with the same key hit t
oxifft/src/kernel/twiddle/mod.rs:217
↓ 4 callers
Function
get_twiddle_table_soa_f32
Get or compute the SoA twiddle table for the given size and direction (f32). Returns an `Arc` to the shared table. Subsequent calls with the same key
oxifft/src/kernel/twiddle/mod.rs:286
↓ 4 callers
Function
goertzel
Compute DFT for a single frequency using the Goertzel algorithm. This is efficient when only one or a few frequencies are needed. Complexity: O(N) pe
oxifft/src/pruned/mod.rs:62
↓ 4 callers
Function
goertzel_multi
Compute multiple DFT frequencies using Goertzel algorithm. More efficient than full FFT when computing fewer than log₂(N) frequencies. # Arguments
oxifft/src/pruned/mod.rs:128
↓ 4 callers
Function
has_composite_codelet
(n: usize)
oxifft/src/dft/codelets/composite/functions_4.rs:313
↓ 4 callers
Function
hc2r_2
(y: &[Complex<T>], x: &mut [T])
oxifft/src/rdft/codelets/mod.rs:120
↓ 4 callers
Function
hc2r_4
(y: &[Complex<T>], x: &mut [T])
oxifft/src/rdft/codelets/mod.rs:139
↓ 4 callers
Function
hilbert
Compute the analytic signal via the Hilbert transform. Returns a complex-valued vector of the same length as `signal`. The real part of the analytic
oxifft/src/signal/hilbert.rs:36
↓ 4 callers
Function
ifft_batch
Convenience function for batched 1D inverse FFT with normalization. Performs `howmany` independent 1D inverse FFTs, each of size `n`. Normalizes each
oxifft/src/api/plan/functions.rs:191
↓ 4 callers
Function
ifft_fixed
(input: &[Complex<f64>; N])
oxifft/src/const_fft/radix2.rs:34
↓ 4 callers
Method
is_available
(self)
oxifft/src/gpu/backend.rs:24
↓ 4 callers
Method
is_exhaustive
(self)
oxifft/src/kernel/flags.rs:48
↓ 4 callers
Method
is_infinite
(self)
oxifft/src/kernel/f128_type.rs:255
↓ 4 callers
Method
is_sign_negative
(self)
oxifft/src/kernel/f128_type.rs:262
↓ 4 callers
Method
is_zero
(self)
oxifft/src/kernel/f16.rs:118
↓ 4 callers
Function
istft
Compute Inverse Short-Time Fourier Transform (ISTFT). Reconstructs a time-domain signal from a spectrogram using overlap-add. # Arguments `spectrog
oxifft/src/streaming/stft.rs:300
↓ 4 callers
Method
last
(&self)
oxifft/src/kernel/tensor.rs:174
↓ 4 callers
Function
lcg_next
(state: &mut u64)
oxifft-codegen/tests/notw_small_sizes.rs:341
↓ 4 callers
Function
lcg_next
(state: &mut u64)
oxifft-codegen/tests/opt_passes_16_64.rs:330
↓ 4 callers
Function
make_input_2d
(n0: usize, n1: usize)
oxifft/src/api/plan/types.rs:1237
↓ 4 callers
Function
make_input_f32
(n: usize, seed: u64)
oxifft-codegen/tests/opt_passes_16_64.rs:346
↓ 4 callers
Function
make_real_f32
(n: usize, seed: u64)
oxifft-codegen/tests/rdft_codelets.rs:301
↓ 4 callers
Function
make_real_f64
(n: usize, seed: u64)
oxifft-codegen/tests/rdft_codelets.rs:296
↓ 4 callers
Function
make_real_input
Build a non-trivial real input vector of length `n`.
oxifft-bench/benches/fftw_parity_gates.rs:50
← previous
next →
301–400 of 4,171, ranked by callers