
CKKS bootstrapping with slots-to-coefficients first
Source:R/series-powers.R
eval_bootstrap_stc_first.RdThe slots-encoding variant of CKKS bootstrapping: the
slots-to-coefficients transform comes first, then the modulus raise,
the coefficients-to-slots transform and the approximate modular
reduction. It needs eval_bootstrap_setup() to have been called
with bt_slots_encoding = TRUE; after such a setup
eval_bootstrap() calls this variant itself.
Details
Do not call it on a context with a regular setup. At OpenFHE 1.6.1 the library does not check the kind of setup, and the error it then raises ends the R session.