fhe-study/arith/src
aarnaucubeRm const generics (#2)
* arith: get rid of constant generics. Reason:
using constant generics was great for allocating the arrays in the
stack, which is faster, but when started to use bigger parameter values,
in some cases it was overflowing the stack. This commit removes all the
constant generics in all of the `arith` crate, which in some cases slows
a bit the performance, but allows for bigger parameter values (on the
ones that affect lengths, like N and K).
* bfv: get rid of constant generics (reason in previous commit)
* ckks: get rid of constant generics (reason in two commits ago)
* group ring params under a single struct
* gfhe: get rid of constant generics
* tfhe: get rid of constant generics
* polish & clean a bit
* add methods for encoding constants for ct-pt-multiplicationfb1fb6bAug 14, 2025
..
complex.rs-rw-r--r--7206 Blib.rs-rw-r--r--602 Bmatrix.rs-rw-r--r--5146 Bnaive_ntt.rs-rw-r--r--6541 Bntt.rs-rw-r--r--6915 Bntt_fixedsize.rs-rw-r--r--5709 Bring.rs-rw-r--r--1815 Bring_n.rs-rw-r--r--12665 Bring_nq.rs-rw-r--r--20436 Bring_torus.rs-rw-r--r--9455 Btorus.rs-rw-r--r--4710 Btuple_ring.rs-rw-r--r--4146 Bzq.rs-rw-r--r--11521 B