-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add helper function for LDE calculation #12
Conversation
} | ||
|
||
// change order of elements in domain | ||
pub fn change_order_of_elements_in_domain<F: FftField>(elements: &[F]) -> Vec<F> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a multiplicative group of order 8:
Typically, the elements are ordered as g^0, g^1, g^2, g^3, ...
However, in Stone's method, they use two types of element ordering:
One is the normal ordering, and the other is where
elements are ordered as g^0, g^4, g^2, g^6, ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall.
Turns out we don't need to fix anything in ark-ff
.
This is part of the effort to break down various tasks implemented for FRI implementation into smaller PR.
The LDE test referenced here.