Struct DCRTPolyInterface::CRTBasisExtensionPrecomputations

Nested Relationships

This struct is a nested type of Template Class DCRTPolyInterface.

Struct Documentation

struct lbcrypto::DCRTPolyInterface::CRTBasisExtensionPrecomputations

Public Functions

inline CRTBasisExtensionPrecomputations(const std::shared_ptr<Params> &paramsQlPl0, const std::shared_ptr<Params> &paramsPl0, const std::shared_ptr<Params> &paramsQl0, const std::vector<NativeInteger> &mPlQHatInvModq0, const std::vector<NativeInteger> &mPlQHatInvModqPrecon0, const std::vector<std::vector<NativeInteger>> &qInvModp0, const std::vector<DoubleNativeInt> &modpBarrettMu0, const std::vector<NativeInteger> &PlHatInvModp0, const std::vector<NativeInteger> &PlHatInvModpPrecon0, const std::vector<std::vector<NativeInteger>> &PlHatModq0, const std::vector<std::vector<NativeInteger>> &alphaPlModq0, const std::vector<DoubleNativeInt> &modqBarrettMu0, const std::vector<double> &pInv0)

Public Members

std::shared_ptr<Params> paramsQlPl
std::shared_ptr<Params> paramsPl
std::shared_ptr<Params> paramsQl
std::vector<NativeInteger> mPlQHatInvModq
std::vector<NativeInteger> mPlQHatInvModqPrecon
std::vector<std::vector<NativeInteger>> qInvModp
std::vector<DoubleNativeInt> modpBarrettMu
std::vector<NativeInteger> PlHatInvModp
std::vector<NativeInteger> PlHatInvModpPrecon
std::vector<std::vector<NativeInteger>> PlHatModq
std::vector<std::vector<NativeInteger>> alphaPlModq
std::vector<DoubleNativeInt> modqBarrettMu
std::vector<double> pInv