Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::NTTPrime Struct Reference

Metadata for an NTT-friendly prime used in CRT reconstruction. More...

#include <ntt.H>

Public Attributes

uint64_t mod = 0
 
uint64_t root = 0
 
uint64_t max_power_of_two = 0
 

Detailed Description

Metadata for an NTT-friendly prime used in CRT reconstruction.

The field max_power_of_two stores the largest exponent k such that 2^k divides mod - 1.

Definition at line 2367 of file ntt.H.

Member Data Documentation

◆ max_power_of_two

uint64_t Aleph::NTTPrime::max_power_of_two = 0

Definition at line 2371 of file ntt.H.

◆ mod

uint64_t Aleph::NTTPrime::mod = 0

Definition at line 2369 of file ntt.H.

◆ root

uint64_t Aleph::NTTPrime::root = 0

Definition at line 2370 of file ntt.H.


The documentation for this struct was generated from the following file: