Polymetic
1.1
A c++ library for polynomial and matrix arithmetic, focused on applications in Kinematics.
|
Polynomial and related classes. More...
#include <Polynomial.hpp>
Public Member Functions | |
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 algorithm. More... | |
Static Public Member Functions | |
static std::unique_ptr < PolynomialMultiplicationInterface < FieldT > > | getAppropriateAlgorithm (const Polynomial< FieldT > &p1, const Polynomial< FieldT > &p2) |
Algo picker. More... | |
Protected Member Functions | |
virtual std::list< FieldT > & | getPolynomialCoefficients (Polynomial< FieldT > &p) |
virtual const std::list< FieldT > & | getPolynomialCoefficients (const Polynomial< FieldT > &p) |
Polynomial and related classes.
The abstract base class, providing interface for all the polynomial multiplication algorithms.
Definition at line 29 of file Polynomial.hpp.
|
static |
Algo picker.
Definition at line 35 of file PolynomialMultiplicationInterface_impl.ipp.
Referenced by operator*().
|
inlineprotectedvirtual |
Definition at line 38 of file PolynomialMultiplicationInterface.hpp.
References Polynomial< FieldT >::m_coefs.
|
inlineprotectedvirtual |
Definition at line 41 of file PolynomialMultiplicationInterface.hpp.
References Polynomial< FieldT >::m_coefs.
|
pure virtual |
The method which should be overloaded by the derived class to implement its own multiplication algorithm.
Implemented in PolynomialMultiplicationSimple< FieldT >.