The LWE parameters of a context. OpenFHE names them by letter case,
which R function names do not carry: get_n() is the lattice
dimension n and get_big_n() the ring dimension N; get_q() is
the small ciphertext modulus q and get_big_q() the large modulus
Q (the C++ Getn(), GetN(), Getq() and GetQ()).
get_beta() is the bound beta in the plaintext space
q / (2 * beta).
Value
get_n() and get_big_n(): an integer. The others: a
number, or a string of decimal digits if the value is above 2^53.
Examples
ctx <- bin_fhe_context(BinFHEParamSet$TOY)
c(n = get_n(ctx), N = get_big_n(ctx), q = get_q(ctx), Q = get_big_q(ctx))
#> n N q Q
#> 64 512 512 134215681
