DCRTPoly: A ring element of a ciphertext

DCRTPolyR Documentation

A ring element of a ciphertext

Description

An element of the polynomial ring, in the double-CRT (RNS) representation OpenFHE computes in. A ciphertext is a short list of them. The class is an opaque handle, as in openfhe-python: it has no methods of its own and exists so that the elements of one ciphertext can be read with get_elements() and written to another with set_elements().

Usage

DCRTPoly(ptr = NULL)

Arguments

ptr

External pointer (internal use)

Value

An S7 object of class DCRTPoly, inheriting from OpenFHEObject.


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