Skip to content

Commit

Permalink
MVPoly: implement compute_cross_terms
Browse files Browse the repository at this point in the history
  • Loading branch information
dannywillems committed Aug 28, 2024
1 parent 6612a08 commit d977ac4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mvpoly/src/prime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,14 @@ impl<F: PrimeField, const N: usize, const D: usize> Dense<F, N, D> {
}
})
}

/// Compute the cross-terms as described in [Behind Nova: cross-terms
/// computation for high degree
/// gates](https://hackmd.io/@dannywillems/Syo5MBq90)
pub fn compute_cross_terms(&self, _eval1: [F; N], _eval2: [F; N], _r: F) -> [F; D] {
assert!(self.is_homogeneous(), "The polynomial must be homogeneous");
unimplemented!()
}
}

impl<F: PrimeField, const N: usize, const D: usize> Default for Dense<F, N, D> {
Expand Down

0 comments on commit d977ac4

Please sign in to comment.