fhelium.backend.ntt.executors.indexed_radix2
Prepare native indexed radix2 calls over Tensor operands.
prepare_transition
function View source
python
def prepare_transition(transition: str): ...1
Bind the native operation without retaining its Tensor inputs.
forward_small_to_montgomery
function View source
python
def forward_small_to_montgomery(operand, even_indices, odd_indices, twiddles, params): ...1
Evaluate a short indexed NTT with the existing modular primitives.
Native NTT entry points require at least 256 coefficients. Short periodic plaintexts use the same indexed butterflies without padding the polynomial or changing its roots. Each stage computes (a+bw, a-bw) modulo each row.