set_params_from_ckks_cryptocontext: Fill scheme-switching parameters from a CKKS context

View source: R/scheme-switching.R

set_params_from_ckks_cryptocontextR Documentation

Fill scheme-switching parameters from a CKKS context

Description

Copies the first modulus, the ring dimension, the scaling modulus size and the batch size of cc into params, and marks params as filled. eval_ckks_to_fhew_setup() and eval_scheme_switching_setup() do this themselves.

Usage

set_params_from_ckks_cryptocontext(cc, params)

Arguments

cc

A CKKS CryptoContext.

params

A SchSwchParams object; changed in place.

Value

params, invisibly.


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