| get_modulus | R Documentation |
The modulus of an object, as a string of decimal digits, because it normally exceeds what an R number holds exactly.
get_modulus(x, ...)
x |
A |
... |
Reserved for future method-specific arguments. |
For a CryptoContext or an ElementParams object it is the
composite ciphertext modulus Q, the product of the RNS moduli.
openfhe-python returns this value for a CryptoContext as a
floating-point number; R returns it exactly.
A character string of decimal digits.
get_modulus_ckks(), get_root_of_unity(),
get_element_modulus()
cc <- fhe_context("BFV", plaintext_modulus = 65537, multiplicative_depth = 1)
get_modulus(cc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.