Fast multiplication via NTT #
This file exposes the one-shot NTTFast multiplication entry point. It builds an
NTTFast.Plan for the given domain and runs the planned multiplication pipeline.
Raw pipeline for NTT-based multiplication.
Correctness as ordinary polynomial multiplication requires NTT.Domain.fits D p q.
This raw API deliberately does not trim.
Instances For
Pipeline for NTT-based multiplication as a canonical polynomial.
Instances For
Safe NTT-based multiplication wrapper.
The domain-fit proof requires the caller to show that the domain covers the convolution length.
Instances For
NTTFast-backed multiplication with canonical multiplication as a fallback.
The selector should return a domain fitting the required convolution length.
When it does, this uses fastMulImpl; otherwise it falls back to canonical
CPolynomial multiplication.