get_element_modulus: Modulus and representation of a plaintext's element

View source: R/object-accessors.R

get_element_modulusR Documentation

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)

Arguments

pt

A Plaintext.

format

A member of Format.

Value

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

See Also

get_modulus()


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