Refreshes a ciphertext and evaluates on its values the function
whose Fourier coefficients are coefficients, in the same step
(CKKS with CKKSDataType$COMPLEX).
eval_fe_func_bootstrap_setup(
cc,
level_budget = c(5L, 4L),
dim1 = c(0L, 0L),
slots = 0L
)eval_fe_func_bootstrap(ct, coefficients)
eval_fe_func_bootstrap_precompute(ct, coefficients)
eval_fe_func_bootstrap_with_precomp(powers, coefficients)
eval_fe_func_bootstrap_setup(): cc, invisibly.
eval_fe_func_bootstrap_precompute(): a SeriesPowers object.
The others: a Ciphertext.
A CKKS CryptoContext with Feature$FHE enabled.
Integer vector of length 2. Default c(5L, 4L).
Integer vector of length 2. Default c(0L, 0L).
Integer; number of slots, 0L (default) for full
packing.
A Ciphertext.
Numeric or complex vector of Fourier coefficients.
A SeriesPowers object from
eval_fe_func_bootstrap_precompute().
eval_fe_func_bootstrap_setup() prepares the context; call
eval_bootstrap_key_gen() after it. eval_fe_func_bootstrap()
does the whole evaluation. eval_fe_func_bootstrap_precompute()
and eval_fe_func_bootstrap_with_precomp() split it, so that
several series of the same length can be evaluated on one input.
The setup shares the bootstrapping precomputation of the context
for slots with eval_bootstrap_setup() and eval_fbt_setup(): a
context holds one of the three per slot count.
get_fefbt_depth()