feat: Add task runner for the sff task
This commit is contained in:
parent
1c9948ac62
commit
6856420ff9
6 changed files with 62 additions and 24 deletions
|
|
@ -22,6 +22,10 @@ impl Polynomial {
|
|||
Self { polynomial }
|
||||
}
|
||||
|
||||
pub fn degree(&self) -> usize {
|
||||
self.polynomial.len()
|
||||
}
|
||||
|
||||
pub fn from_c_array(array: &Value) -> Self {
|
||||
let mut polynomial: Vec<FieldElement> = vec![];
|
||||
let c_array: Vec<String> = array
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue