get_modulus_ckks: Moduli and root of unity of a CryptoContext

View source: R/object-accessors.R

get_modulus_ckksR Documentation

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)

Arguments

cc

A CryptoContext.

Value

A character string of decimal digits.

See Also

get_modulus()


openfhe.R documentation built on Nov. 13, 2026, 5:07 p.m.