Planned NTTFast multiplication #
This file adds a reusable NTTFast plan that caches domain-derived data for
repeated NTT-based multiplication.
Cached domain data for repeated NTTFast multiplications.
- domain : NTT.Domain R
- inverseDomain : NTT.Domain R
- nInv : R
Instances For
Precompute the twiddle powers used by one radix-2 stage.
Instances For
Precompute the per-stage twiddle table for a domain.
Instances For
Build a reusable plan from an NTT domain.
Instances For
One butterfly stage using precomputed twiddle powers for that stage.
Instances For
Run all radix-2 stages using a precomputed per-stage twiddle table.
Instances For
Run two adjacent DIT radix-2 stages as one radix-4 pass.
Instances For
Run DIT stages using fused radix-4 passes where possible.
Instances For
One decimation-in-frequency butterfly stage using precomputed twiddle powers.
This accepts natural-order data and, when run from large stages down to small stages, produces bit-reversed evaluation order.
Instances For
Run decimation-in-frequency stages, producing bit-reversed evaluation order.
Instances For
One paired DIF butterfly stage using precomputed twiddle powers.
Instances For
Run two adjacent DIF radix-2 stages as one radix-4 pass.
Instances For
Run DIF stages using fused radix-4 passes where possible.
Instances For
Run two adjacent paired DIF radix-2 stages as one radix-4 pass.
Instances For
Planned pipeline for NTT-based multiplication as a canonical polynomial.