Skip to content

Conversation

@jacksonwalters
Copy link
Member

it is cleaner to use the Euler totient function to compute the size of the group. this works for any modulus, and so we can now perform the NTT for arbitrary rings Z/NZ as long as n divides the group size.

it is cleaner to use the Euler totient function to compute the size of the group. this works for any modulus, and so we can now perform the NTT for arbitrary rings Z/NZ as long as n divides the group size.
@jacksonwalters jacksonwalters self-assigned this Feb 11, 2025
@jacksonwalters jacksonwalters linked an issue Feb 11, 2025 that may be closed by this pull request
@jacksonwalters
Copy link
Member Author

@jacksonwalters jacksonwalters merged commit 86725b6 into main Feb 11, 2025
1 check passed
@jacksonwalters jacksonwalters deleted the use_euler_totient_function branch February 11, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

implement for Z/NZ for general N

2 participants