feat: add function for polynomial differentiation
This commit is contained in:
parent
b595276143
commit
4b1bca8ee0
5 changed files with 69 additions and 22 deletions
|
|
@ -24,6 +24,10 @@ impl FieldElement {
|
|||
87, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01,
|
||||
];
|
||||
|
||||
pub fn zero(self) -> Self {
|
||||
FieldElement::new(vec![0])
|
||||
}
|
||||
|
||||
pub const fn new(field_element: Vec<u8>) -> Self {
|
||||
Self { field_element }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue