mirror of
https://github.com/pseXperiments/clookup.git
synced 2026-01-08 23:28:10 -05:00
Add polynomial method to Table
This commit is contained in:
@@ -64,6 +64,10 @@ impl<F: PrimeField + Hash> Table<F> {
|
||||
}
|
||||
Ok(indices)
|
||||
}
|
||||
|
||||
pub fn polynomial(&self) -> MultilinearPolynomial<F> {
|
||||
MultilinearPolynomial::eval_to_coeff(&self.table, self.num_vars)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
|
||||
Reference in New Issue
Block a user