Inversed-Tech / eyelid

Private iris matching
Apache License 2.0
0 stars 0 forks source link

Implement a type wrapper for `Poly` that enforces MAX_POLY_DEGREE and canonical representations #13

Closed teor2345 closed 4 months ago

teor2345 commented 5 months ago

Currently our Poly type is difficult to use, because we have to manually reduce the polynomial to the canonical representation, without any leading zero coefficients (if we don't, some code will panic).

As part of this we can: