fhelium.backend.ntt._stages
Stage partitions used by generated NTT endpoints and native interiors.
NttStages
class View source
python
NttStages(radix: int | None, group: int, intervals: tuple[tuple[int, int, bool], ...], twiddle_encoding: str = 'montgomery', whole: bool = False)1
Describe synchronized intervals and the algorithm's numerical table ABI.
Attributes
| Name | Type | Default/value |
|---|---|---|
radix | int | None | |
group | int | |
intervals | tuple[tuple[int, int, bool], ...] | |
twiddle_encoding | str | 'montgomery' |
whole | bool | False |
endpoint_stages
function View source
python
def endpoint_stages(policy: NttBackendPolicy | str, log_n: int | None, inverse: bool) -> NttStages | None: ...1