class_group 0.6.0

Rust library for building IQC: cryptography based on class groups (Cl) of imaginary quadratic orders
Documentation
1
2
3
4
5
6
7
8
9
Function: nfeltdivrem
Section: number_fields
C-Name: nfdivrem
Prototype: GGG
Help: nfeltdivrem(nf,x,y): gives [q,r] such that r=x-qy is small.
Doc: given two elements $x$ and $y$ in
 \var{nf}, gives a two-element row vector $[q,r]$ such that $x=qy+r$, $q$ is
 an algebraic integer in $\var{nf}$, and the components of $r$ are
 reasonably small.