helib::EncodedPtxt Class Reference

#include <EncodedPtxt.h>

Public Member Functions

bool isBGV () const
 
bool isCKKS () const
 
const EncodedPtxt_BGVgetBGV () const
 
const EncodedPtxt_CKKSgetCKKS () const
 
void resetBGV (const zzX &poly, long ptxtSpace, const Context &context)
 
void resetCKKS (const zzX &poly, double mag, double scale, double err, const Context &context)
 
void reset ()
 

Member Function Documentation

◆ getBGV()

const EncodedPtxt_BGV& helib::EncodedPtxt::getBGV ( ) const
inline

◆ getCKKS()

const EncodedPtxt_CKKS& helib::EncodedPtxt::getCKKS ( ) const
inline

◆ isBGV()

bool helib::EncodedPtxt::isBGV ( ) const
inline

◆ isCKKS()

bool helib::EncodedPtxt::isCKKS ( ) const
inline

◆ reset()

void helib::EncodedPtxt::reset ( )
inline

◆ resetBGV()

void helib::EncodedPtxt::resetBGV ( const zzX poly,
long  ptxtSpace,
const Context context 
)
inline

◆ resetCKKS()

void helib::EncodedPtxt::resetCKKS ( const zzX poly,
double  mag,
double  scale,
double  err,
const Context context 
)
inline