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
10
11
12
13
Function: idealnumden
Section: number_fields
C-Name: idealnumden
Prototype: GG
Help: idealnumden(nf,x): returns [A,B], where A,B are coprime integer ideals
 such that x = A/B.
Doc: returns $[A,B]$, where $A,B$ are coprime integer ideals
 such that $x = A/B$, in the number field $\var{nf}$.
 \bprog
 ? nf = nfinit(x^2+1);
 ? idealnumden(nf, (x+1)/2)
 %2 = [[1, 0; 0, 1], [2, 1; 0, 1]]
 @eprog