-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Implement and integrate
rlc
function for simplified combi…
…nation semantics - Introduced a new function `rlc`, which implements Horner's scheme, - Applied traits `Borrow`, `MulAssign`, and `AddAssign` to define it, which exist on `UniPoly`, - Used `rlc` function in `evaluate` method and `kzg_compute_batch_polynomial`, - Updated closures in `mlkzg.rs` file to directly handle vector arguments, simplifying the overall operations. - Streamlined the code by eliminating unnecessary assertions in `kzg_verify_batch` closure and redundant inner function in `kzg_compute_batch_polynomial`.
- Loading branch information
1 parent
605f899
commit 37b8ee7
Showing
3 changed files
with
29 additions
and
31 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
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