helib::PAlgebraModCx Class Reference
#include <PAlgebra.h>
Inheritance diagram for helib::PAlgebraModCx:
Public Member Functions | |
| PAlgebraModCx (const PAlgebra &palg, long _r) | |
| PAlgebraModBase * | clone () const override |
| PA_tag | getTag () const override |
| Returns the type tag: PA_GF2_tag or PA_zz_p_tag. More... | |
| const PAlgebra & | getZMStar () const override |
| Returns reference to underlying PAlgebra object. More... | |
| long | getR () const override |
| The value r. More... | |
| long | getPPowR () const override |
| The value p^r. More... | |
| void | restoreContext () const override |
| Restores the NTL context for p^r. More... | |
| const std::vector< NTL::ZZX > & | getFactorsOverZZ () const override |
| Returns reference to the factorization of Phi_m(X) mod p^r, but as ZZX's. More... | |
| zzX | getMask_zzX (UNUSED long i, UNUSED long j) const override |
Public Member Functions inherited from helib::PAlgebraModBase | |
| virtual | ~PAlgebraModBase () |
| virtual zzX | getMask_zzX (long i, long j) const =0 |
Detailed Description
A different derived class to be used for the approximate-numbers scheme This is mostly a dummy class, but needed since the context always has a PAlgebraMod data member.
Constructor & Destructor Documentation
◆ PAlgebraModCx()
|
inline |
Member Function Documentation
◆ clone()
|
inlineoverridevirtual |
Implements helib::PAlgebraModBase.
◆ getFactorsOverZZ()
|
inlineoverridevirtual |
Returns reference to the factorization of Phi_m(X) mod p^r, but as ZZX's.
Implements helib::PAlgebraModBase.
◆ getMask_zzX()
|
inlineoverride |
◆ getPPowR()
|
inlineoverridevirtual |
The value p^r.
Implements helib::PAlgebraModBase.
◆ getR()
|
inlineoverridevirtual |
The value r.
Implements helib::PAlgebraModBase.
◆ getTag()
|
inlineoverridevirtual |
Returns the type tag: PA_GF2_tag or PA_zz_p_tag.
Implements helib::PAlgebraModBase.
◆ getZMStar()
|
inlineoverridevirtual |
Returns reference to underlying PAlgebra object.
Implements helib::PAlgebraModBase.
◆ restoreContext()
|
inlineoverridevirtual |
Restores the NTL context for p^r.
Implements helib::PAlgebraModBase.
Public Member Functions inherited from
1.8.19