| get_n | R Documentation |
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).
get_n(ctx)
get_big_n(ctx)
get_q(ctx)
get_big_q(ctx)
get_beta(ctx)
ctx |
A |
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.
get_max_plaintext_space()
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.