Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(spartan/polynomial): Update polynomial with docs and new methods #215

Conversation

oskarth
Copy link
Contributor

@oskarth oskarth commented Aug 6, 2023

This is a smaller PR that is cut out from larger work of implementing HyperNova #175 (latest live version is here /~https://github.com/privacy-scaling-explorations/nova)

A problem that occurred when we were implementing HyperNova is that we didn't fully understand the embedded spartan/polynomial.rs code, and thus reached for other tools such as can be seen here #175 (comment)

By adding better documentation and tests for this module it is easier to understand what is going on.

This PR:

  • Add documentation to spartan/polynomial.rs file
  • Make polynomial crate public to easily generate docs and encourage API use
  • Add Add trait and scalar_mul method
  • Add tests for polynomial functions
image

oskarth and others added 2 commits August 6, 2023 10:36
- Add documentation to spartan/polynomial.rs file
- Make polynomial crate public to easily generate docs and encourage API use
- Add Add trait and scalar_mul method
- Add tests for polynomial functions

Co-authored-by: wangtsiao <wang.qi.ao@qq.com>
Co-authored-by: CPerezz <c.perezbaro@gmail.com>
Otherwise `cargo doc` doesn't run.
@srinathsetty srinathsetty merged commit ce470e7 into microsoft:main Aug 7, 2023
huitseeker added a commit to huitseeker/Nova that referenced this pull request Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants