Drake
polynomial.h File Reference
#include <complex>
#include <map>
#include <random>
#include <set>
#include <stdexcept>
#include <string>
#include <vector>
#include <Eigen/Core>
#include <unsupported/Eigen/Polynomials>
#include "drake/common/autodiff_overloads.h"
#include "drake/common/drake_assert.h"
#include "drake/common/eigen_autodiff_types.h"
Include dependency graph for polynomial.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

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 CoefficientType >
Polynomial< CoefficientType > pow (const Polynomial< CoefficientType > &base, typename Polynomial< CoefficientType >::PowerType exponent)
 Provides power function for Polynomial. More...
 
template<typename CoefficientType , int Rows, int Cols>
std::ostream & operator<< (std::ostream &os, const Eigen::Matrix< Polynomial< CoefficientType >, Rows, Cols > &poly_mat)
 

Typedef Documentation

typedef Eigen::Matrix<Polynomiald, Eigen::Dynamic, 1> VectorXPoly

A column vector of polynomials; used in several optimization classes.

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Eigen::Matrix< Polynomial< CoefficientType >, Rows, Cols > &  poly_mat 
)
Polynomial<CoefficientType> pow ( const Polynomial< CoefficientType > &  base,
typename Polynomial< CoefficientType >::PowerType  exponent 
)

Provides power function for Polynomial.

Here is the caller graph for this function: