Drake
Drake C++ Documentation
generic_polynomial.h File Reference
Include dependency graph for generic_polynomial.h:
This graph shows which files directly or indirectly include this file:

Classes

class  GenericPolynomial< BasisElement >
 Represents symbolic generic polynomials using a given basis (for example, monomial basis, Chebyshev basis, etc). More...
 
struct  hash< drake::symbolic::GenericPolynomial< BasisElement > >
 
struct  formatter< drake::symbolic::GenericPolynomial< BasisElement > >
 

Namespaces

 drake
 
 drake::symbolic
 
 fmt
 

Typedefs

template<typename BasisElement >
using GenericPolynomialEnable = std::enable_if_t< std::is_base_of_v< PolynomialBasisElement, BasisElement >, GenericPolynomial< BasisElement > >
 Defines an explicit SFINAE alias for use with return types to dissuade CTAD from trying to instantiate an invalid GenericElement<> for operator overloads, (if that's actually the case). More...
 

Functions

template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator- (const GenericPolynomial< BasisElement > &p)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator+ (GenericPolynomial< BasisElement > p1, const GenericPolynomial< BasisElement > &p2)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator+ (GenericPolynomial< BasisElement > p, const BasisElement &m)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator+ (GenericPolynomial< BasisElement > p, double c)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator+ (const BasisElement &m, GenericPolynomial< BasisElement > p)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator+ (const BasisElement &m1, const BasisElement &m2)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator+ (const BasisElement &m, double c)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator+ (double c, GenericPolynomial< BasisElement > p)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator+ (double c, const BasisElement &m)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator+ (GenericPolynomial< BasisElement > p, const Variable &v)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator+ (const Variable &v, GenericPolynomial< BasisElement > p)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator- (GenericPolynomial< BasisElement > p1, const GenericPolynomial< BasisElement > &p2)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator- (GenericPolynomial< BasisElement > p, const BasisElement &m)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator- (GenericPolynomial< BasisElement > p, double c)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator- (const BasisElement &m, GenericPolynomial< BasisElement > p)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator- (const BasisElement &m1, const BasisElement &m2)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator- (const BasisElement &m, double c)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator- (double c, GenericPolynomial< BasisElement > p)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator- (double c, const BasisElement &m)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator- (GenericPolynomial< BasisElement > p, const Variable &v)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator- (const Variable &v, GenericPolynomial< BasisElement > p)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator * (GenericPolynomial< BasisElement > p1, const GenericPolynomial< BasisElement > &p2)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator * (GenericPolynomial< BasisElement > p, const BasisElement &m)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator * (GenericPolynomial< BasisElement > p, double c)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator * (const BasisElement &m, GenericPolynomial< BasisElement > p)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator * (const BasisElement &m, double c)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator * (double c, GenericPolynomial< BasisElement > p)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator * (double c, const BasisElement &m)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator * (GenericPolynomial< BasisElement > p, const Variable &v)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator * (const Variable &v, GenericPolynomial< BasisElement > p)
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > operator/ (GenericPolynomial< BasisElement > p, double v)
 Returns p / v. More...
 
template<typename BasisElement >
GenericPolynomialEnable< BasisElement > pow (const GenericPolynomial< BasisElement > &p, int n)
 Returns polynomial raised to n. More...
 
template<typename BasisElement >
std::ostream & operator<< (std::ostream &os, const GenericPolynomial< BasisElement > &p)