Polymetic
1.1
A c++ library for polynomial and matrix arithmetic, focused on applications in Kinematics.
|
Simple O(n^2) field/ring operations algorithm for univariate polynomial multiplication. More...
#include <PolynomialMultiplicationSimple.hpp>
Public Member Functions | |
PolynomialMultiplicationSimple ()=default | |
virtual Polynomial< FieldT > | multiply (const Polynomial< FieldT > &p1, const Polynomial< FieldT > &p2) override |
The method which should be overloaded by the derived class to implement its own multiplication algorithm. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from PolynomialMultiplicationInterface< FieldT > | |
static std::unique_ptr < PolynomialMultiplicationInterface < FieldT > > | getAppropriateAlgorithm (const Polynomial< FieldT > &p1, const Polynomial< FieldT > &p2) |
Algo picker. More... | |
Protected Member Functions inherited from PolynomialMultiplicationInterface< FieldT > | |
virtual std::list< FieldT > & | getPolynomialCoefficients (Polynomial< FieldT > &p) |
virtual const std::list< FieldT > & | getPolynomialCoefficients (const Polynomial< FieldT > &p) |
Simple O(n^2) field/ring operations algorithm for univariate polynomial multiplication.
Simple O(n^2) field/ring operations algorithm for univariate polynomial multiplication
Definition at line 24 of file PolynomialMultiplicationSimple.hpp.
|
default |
|
overridevirtual |
The method which should be overloaded by the derived class to implement its own multiplication algorithm.
Implements PolynomialMultiplicationInterface< FieldT >.
Definition at line 26 of file PolynomialMultiplicationSimple.ipp.
References Polynomial< FieldT >::appendTerm(), and Polynomial< FieldT >::size().