Hi,
My questions are based on the following link,
-
line 80: Does reducing complexity means increase the space in the context of spacetime continuum. As a result reduce time?
-
line 105:
parameters.SetFirstModSize(firstMod);
- What does it corresponds to in the CKKS paper? -
How does
std::vector<uint32_t> levelBudget = {3, 3};
plays a role in decidingFHECKKSRNS::GetBootstrapDepth(levelBudget, secretKeyDist);
– I was taking look at the function definition as follows,
uint32_t FHECKKSRNS::GetBootstrapDepth(uint32_t approxModDepth, const std::vector<uint32_t>& levelBudget,
SecretKeyDist secretKeyDist) {
if (secretKeyDist == UNIFORM_TERNARY) {
approxModDepth += R_UNIFORM - 1;
}
return approxModDepth + levelBudget[0] + levelBudget[1];
}
uint32_t FHECKKSRNS::GetBootstrapDepth(const std::vector<uint32_t>& levelBudget, SecretKeyDist secretKeyDist) {
uint32_t approxModDepth = GetModDepthInternal(secretKeyDist);
return approxModDepth + levelBudget[0] + levelBudget[1];
}
I was wondering, we could have written levelBudget = 6
intead. What is the reason we pass it as a vector and then sum it in the function definition than giving it as a sum beforehand?
Thank you very much.
Bhavin.