Skip to content

Implement merged inverse and squareroot for Fp #42

@SamFrengley

Description

@SamFrengley

Implement the merged inverse and squareroot algorithms in the cases of the finite field Fp

a.inverse_and_sqrt();                      // 1/a, sqrt(a)
a.inv_sqrt();                                      // sqrt(1/a)
a.invertme_sqrtother(&b);            // 1/a, sqrt(b) 
a.sqrt_ratio(&b);                              // sqrt(a/b)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions