Skip to contents

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