-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ mod info; | |
pub mod logup; | ||
mod point; | ||
pub mod poly; | ||
pub mod poly_eval; | ||
mod simd_domain; | ||
|
||
use std::array; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
use super::poly::Polynomial; | ||
use super::EvalAtRow; | ||
use crate::core::fields::m31::BaseField; | ||
use crate::core::fields::qm31::SecureField; | ||
use crate::core::fields::secure_column::SECURE_EXTENSION_DEGREE; | ||
|
||
pub struct PolyEvaluator<'a> {} | ||
|
||
impl<'a> EvalAtRow for PolyEvaluator<'a> { | ||
type F = Polynomial<BaseField>; | ||
type EF = Polynomial<SecureField>; | ||
fn next_interaction_mask<const N: usize>( | ||
&mut self, | ||
interaction: usize, | ||
offsets: [isize; N], | ||
) -> [Self::F; N] { | ||
unimplemented!() | ||
} | ||
fn add_constraint<G>(&mut self, constraint: G) | ||
where | ||
Self::EF: std::ops::Mul<G, Output = Self::EF>, | ||
{ | ||
unimplemented!() | ||
} | ||
fn combine_ef(values: [Self::F; SECURE_EXTENSION_DEGREE]) -> Self::EF { | ||
unimplemented!() | ||
} | ||
} |