Learn R Programming

openfhe.R (version 1.6.1)

get_element_modulus: Modulus and representation of a plaintext's element

Description

get_element_modulus() returns the modulus of the ring element that encodes the plaintext, as a string of decimal digits. set_format() converts that element between the evaluation and coefficient representations.

Usage

get_element_modulus(pt)

set_format(pt, format)

Value

get_element_modulus(): a character string of decimal digits. set_format(): pt, invisibly.

Arguments

pt

A Plaintext.

format

A member of Format.

See Also

get_modulus()