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