We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When testing FFT, I try to interpolate a trace points and then evaluate as below.
let points: Vec<u32> = (1..=4).collect();; let mut a: Vec<BaseElement> = points.iter().map(|e| BaseElement::from(e.clone()) ).collect(); let inv_twiddles = get_inv_twiddles::<BaseElement>(points.len()); println!("{:?}", points); fft::interpolate_poly(&mut a, &inv_twiddles); fft::evaluate_poly(&mut a, &inv_twiddles); let res : Vec<_> = a.iter().map(|e| { e.as_int() }).collect(); println!("post {:?}", res);
output:
prev: 1, 2, 3, 4 post: 1, 4, 3, 2
I expect that the post suppose to be as same as the prev. Can you please help to explain how this happen?
post
prev
The text was updated successfully, but these errors were encountered:
eval should use twiddles. close.
Sorry, something went wrong.
No branches or pull requests
When testing FFT, I try to interpolate a trace points and then evaluate as below.
output:
I expect that the
post
suppose to be as same as theprev
. Can you please help to explain how this happen?The text was updated successfully, but these errors were encountered: