Function lbcrypto::CoeffDecodingCollapse
Defined in File ckksrns-utils.cpp
Function Documentation
-
std::vector<std::vector<std::vector<std::complex<double>>>> lbcrypto::CoeffDecodingCollapse(const std::vector<std::complex<double>> &pows, const std::vector<uint32_t> &rotGroup, uint32_t levelBudget, bool flag_i)
Computes the coefficients for the given level budget for the FFT decoding. Needed in EvalLTFFTPrecomputeDecoding.
- Parameters
pows – vector of roots of unity powers.
rotGroup – rotation group indices to appropriately choose the elements of pows to compute FFT.
levelBudget – the user specified budget for levels.
flag_i – flag that is 0 when we compute the coefficients for U_0 and is 1 for i*U_0.