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
Function: qfsign
Section: linear_algebra
C-Name: qfsign
Prototype: G
Help: qfsign(x): signature of the symmetric matrix x.
Doc:
 returns $[p,m]$ the signature of the quadratic form represented by the
 symmetric matrix $x$. Namely, $p$ (resp.~$m$) is the number of positive
 (resp.~negative) eigenvalues of $x$. The result is computed using Gaussian
 reduction.