Learn R Programming

openfhe.R (version 1.6.1)

get_modulus_ckks: Moduli and root of unity of a CryptoContext

Description

get_modulus_ckks() returns the first RNS modulus q_0 of a CKKS context. get_root_of_unity() returns the root of unity recorded in the context's element parameters, which is "0" for the composite (double-CRT) parameters the RNS schemes use. Both are strings of decimal digits.

Usage

get_modulus_ckks(cc)

get_root_of_unity(cc)

Value

A character string of decimal digits.

Arguments

cc

A CryptoContext.

See Also

get_modulus()