Drake
Drake C++ Documentation
polynomial.h File Reference
#include <complex>
#include <map>
#include <random>
#include <set>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <vector>
#include <Eigen/Core>
#include <unsupported/Eigen/Polynomials>
#include "drake/common/autodiff.h"
#include "drake/common/default_scalars.h"
#include "drake/common/drake_assert.h"
#include "drake/common/drake_throw.h"
#include "drake/common/fmt_ostream.h"
#include "drake/common/symbolic/expression.h"
Include dependency graph for polynomial.h:
This graph shows which files directly or indirectly include this file:

Classes

class  Polynomial< T >
 A scalar multi-variate polynomial, modeled after the msspoly in spotless. More...
 
struct  Polynomial< T >::Product< Rhs, Lhs >
 
class  Polynomial< T >::Term
 An individual variable raised to an integer power; e.g. x**2. More...
 
class  Polynomial< T >::Monomial
 An additive atom of a Polynomial: The product of any number of Terms and a coefficient. More...
 
struct  formatter< drake::Polynomial< T > >
 
struct  formatter< drake::Polynomial< double >::Monomial >
 

Namespaces

 drake
 
 fmt
 

Typedefs

typedef Polynomial< doublePolynomiald
 
typedef Eigen::Matrix< Polynomiald, Eigen::Dynamic, 1 > VectorXPoly
 A column vector of polynomials; used in several optimization classes. More...
 

Functions

template<typename T >
Polynomial< T > pow (const Polynomial< T > &base, typename Polynomial< T >::PowerType exponent)
 Provides power function for Polynomial. More...
 
template<typename T , int Rows, int Cols>
std::ostream & operator<< (std::ostream &os, const Eigen::Matrix< Polynomial< T >, Rows, Cols > &poly_mat)