17 #ifndef _POLYNOMIALMULTIPLICATIONINTERFACE_HPP_
18 #define _POLYNOMIALMULTIPLICATIONINTERFACE_HPP_
21 template <
typename FieldT>
30 template <
typename FieldT>
53 #endif // _POLYNOMIALMULTIPLICATIONINTERFACE_HPP_
virtual Polynomial< FieldT > multiply(const Polynomial< FieldT > &p1, const Polynomial< FieldT > &p2)=0
The method which should be overloaded by the derived class to implement its own multiplication algori...
virtual const std::list< FieldT > & getPolynomialCoefficients(const Polynomial< FieldT > &p)
std::list< FieldT > m_coefs
static std::unique_ptr< PolynomialMultiplicationInterface< FieldT > > getAppropriateAlgorithm(const Polynomial< FieldT > &p1, const Polynomial< FieldT > &p2)
Algo picker.
virtual std::list< FieldT > & getPolynomialCoefficients(Polynomial< FieldT > &p)
Polynomial and related classes.
Contains the definition for the abstract base class which will be used by different multiplication al...