eval_bootstrap_precompute: Precompute the plaintexts of CKKS bootstrapping

View source: R/series-powers.R

eval_bootstrap_precomputeR Documentation

Precompute the plaintexts of CKKS bootstrapping

Description

Computes and stores the encoding and decoding plaintexts that bootstrapping uses. eval_bootstrap_setup() does this itself unless it is called with precompute = FALSE; this function does it afterwards.

Usage

eval_bootstrap_precompute(cc, slots = 0L)

Arguments

cc

A CryptoContext.

slots

Integer; the number of slots to be bootstrapped. Default 0L.

Details

After a setup with precompute = FALSE, call this function before eval_bootstrap(). At OpenFHE 1.6.1 the library does not check that the plaintexts exist, and bootstrapping without them ends the R session.

Value

cc, invisibly.

See Also

eval_bootstrap_setup(), clear_bootstrap_precom()


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