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: nfeltdiveuc
Section: number_fields
C-Name: nfdiveuc
Prototype: GGG
Help: nfeltdiveuc(nf,x,y): gives algebraic integer q such that x-qy is small.
Doc: given two elements $x$ and $y$ in
 \var{nf}, computes an algebraic integer $q$ in the number field $\var{nf}$
 such that the components of $x-qy$ are reasonably small. In fact, this is
 functionally identical to \kbd{round(nfdiv(\var{nf},x,y))}.