View source: R/functional-bootstrapping.R
| eval_fe_func_bootstrap_setup | R Documentation |
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)
cc |
A CKKS |
level_budget |
Integer vector of length 2. Default |
dim1 |
Integer vector of length 2. Default |
slots |
Integer; number of slots, |
ct |
A |
coefficients |
Numeric or complex vector of Fourier coefficients. |
powers |
A SeriesPowers object from
|
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.
eval_fe_func_bootstrap_setup(): cc, invisibly.
eval_fe_func_bootstrap_precompute(): a SeriesPowers object.
The others: a Ciphertext.
get_fefbt_depth()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.