get_element_params: Element parameters of a CryptoContext

get_element_paramsR Documentation

Element parameters of a CryptoContext

Description

Returns the ElementParams S7 object wrapping ⁠std::shared_ptr<typename DCRTPoly::Params>⁠. This is the object that can be passed as the params argument to make_ckks_packed_plaintext() to build a plaintext against a specific parameter set rather than the context default.

Usage

get_element_params(cc, ...)

Arguments

cc

A CryptoContext.

...

Reserved for future method-specific arguments.

Details

This is the first R-side way to obtain a non-default ElementParams (the class itself has existed as a scaffold but had no constructor path until now).

Value

An ElementParams S7 object.


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