helib::MatMul_CKKS Class Reference

#include <matmul.h>

Inheritance diagram for helib::MatMul_CKKS:
helib::MatMul1D_derived< PA_cx > helib::MatMul1D

Public Types

typedef std::function< double(long, long)> get_fun_type
 
- Public Types inherited from helib::MatMul1D
typedef MatMul1DExec ExecType
 

Public Member Functions

 MatMul_CKKS (const EncryptedArray &_ea, get_fun_type _get_fun)
 
 MatMul_CKKS (const Context &context, get_fun_type _get_fun)
 
virtual const EncryptedArraygetEA () const override
 
virtual std::complex< double > get (long i, long j) const override
 
- Public Member Functions inherited from helib::MatMul1D_derived< PA_cx >
void processDiagonal (std::vector< std::complex< double >> &diag, long i, const EncryptedArrayCx &ea) const
 
virtual long getDim () const final
 
- Public Member Functions inherited from helib::MatMul1D
virtual ~MatMul1D ()
 

Member Typedef Documentation

◆ get_fun_type

typedef std::function<double(long, long)> helib::MatMul_CKKS::get_fun_type

Constructor & Destructor Documentation

◆ MatMul_CKKS() [1/2]

helib::MatMul_CKKS::MatMul_CKKS ( const EncryptedArray _ea,
get_fun_type  _get_fun 
)
inline

◆ MatMul_CKKS() [2/2]

helib::MatMul_CKKS::MatMul_CKKS ( const Context context,
get_fun_type  _get_fun 
)
inline

Member Function Documentation

◆ get()

virtual std::complex<double> helib::MatMul_CKKS::get ( long  i,
long  j 
) const
inlineoverridevirtual

◆ getEA()

virtual const EncryptedArray& helib::MatMul_CKKS::getEA ( ) const
inlineoverridevirtual

Implements helib::MatMul1D.