Get the required multiplicative depth for CKKS bootstrapping
get_bootstrap_depth(
level_budget,
secret_key_dist = SecretKeyDist$UNIFORM_TERNARY,
approx_mod_depth = NULL
)Integer: required depth
Integer vector of length 2
Secret key distribution, an element of
SecretKeyDist (default: SecretKeyDist$UNIFORM_TERNARY)
Optional integer: the depth of the Chebyshev
interpolation of the approximate modular reduction. When given,
the three-argument C++ form is called, which OpenFHE keeps for
backward compatibility. NULL (default) calls the two-argument
form, which derives that depth from secret_key_dist.