View source: R/functional-bootstrapping.R
| eval_mvb_precompute | R Documentation |
eval_mvb_precompute() does the part of functional bootstrapping
that does not depend on the table: it computes the complex
exponential of the input and its powers. eval_mvb() and
eval_mvb_no_decoding() then apply a table to that precomputation,
as eval_fbt() and eval_fbt_no_decoding() do to a ciphertext.
Every table applied to one precomputation must have the input
modulus and order of the coefficients the precomputation was made
with.
eval_mvb_precompute(ct, coeffs, digit_bit_size, initial_scaling, order = 1L)
eval_mvb(
ciphertexts,
coeffs,
digit_bit_size,
post_scaling,
level_to_reduce = 0L,
order = 1L
)
eval_mvb_no_decoding(ciphertexts, coeffs, digit_bit_size, order = 1L)
ct |
A |
coeffs |
The coefficients of the look-up table; see Details. |
digit_bit_size |
Integer; number of bits of the input modulus. |
initial_scaling |
The modulus the input is scaled by, usually
|
order |
Integer; order of the Hermite interpolation. Default
|
ciphertexts |
A SeriesPowers object from
|
post_scaling |
The scale applied to the coefficients (the
|
level_to_reduce |
Integer; levels to drop before decoding.
Default |
eval_mvb_precompute(): a SeriesPowers object. The
others: a Ciphertext.
eval_fbt_setup(), eval_hom_decoding()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.