Virtual base class for PAlgebraMod. More...
#include <PAlgebra.h>

Public Member Functions | |
virtual | ~PAlgebraModBase () |
virtual PAlgebraModBase * | clone () const =0 |
virtual PA_tag | getTag () const =0 |
Returns the type tag: PA_GF2_tag or PA_zz_p_tag. More... | |
virtual const PAlgebra & | getZMStar () const =0 |
Returns reference to underlying PAlgebra object. More... | |
virtual const std::vector< NTL::ZZX > & | getFactorsOverZZ () const =0 |
Returns reference to the factorization of Phi_m(X) mod p^r, but as ZZX's. More... | |
virtual long | getR () const =0 |
The value r. More... | |
virtual long | getPPowR () const =0 |
The value p^r. More... | |
virtual void | restoreContext () const =0 |
Restores the NTL context for p^r. More... | |
virtual zzX | getMask_zzX (long i, long j) const =0 |
Detailed Description
Virtual base class for PAlgebraMod.
Constructor & Destructor Documentation
◆ ~PAlgebraModBase()
|
inlinevirtual |
Member Function Documentation
◆ clone()
|
pure virtual |
Implemented in helib::PAlgebraModDerived< PA_cx >, and helib::PAlgebraModDerived< type >.
◆ getFactorsOverZZ()
|
pure virtual |
Returns reference to the factorization of Phi_m(X) mod p^r, but as ZZX's.
Implemented in helib::PAlgebraModDerived< PA_cx >, and helib::PAlgebraModDerived< type >.
◆ getMask_zzX()
|
pure virtual |
Implemented in helib::PAlgebraModDerived< type >.
◆ getPPowR()
|
pure virtual |
The value p^r.
Implemented in helib::PAlgebraModDerived< PA_cx >, and helib::PAlgebraModDerived< type >.
◆ getR()
|
pure virtual |
The value r.
Implemented in helib::PAlgebraModDerived< PA_cx >, and helib::PAlgebraModDerived< type >.
◆ getTag()
|
pure virtual |
Returns the type tag: PA_GF2_tag or PA_zz_p_tag.
Implemented in helib::PAlgebraModDerived< PA_cx >, and helib::PAlgebraModDerived< type >.
◆ getZMStar()
|
pure virtual |
Returns reference to underlying PAlgebra object.
Implemented in helib::PAlgebraModDerived< PA_cx >, and helib::PAlgebraModDerived< type >.
◆ restoreContext()
|
pure virtual |
Restores the NTL context for p^r.
Implemented in helib::PAlgebraModDerived< PA_cx >, and helib::PAlgebraModDerived< type >.