Drake
Polynomial< _CoefficientType >::Term Class Reference

An individual variable raised to an integer power; e.g. x**2. More...

#include <drake/util/Polynomial.h>

Collaboration diagram for Polynomial< _CoefficientType >::Term:

Public Member Functions

bool operator== (const Term &other) const
 
bool operator< (const Term &other) const
 A comparison to allow std::lexicographical_compare on this class; does not reflect any sort of mathematical total order. More...
 

Public Attributes

VarType var
 
PowerType power
 

Detailed Description

template<typename _CoefficientType = double>
class Polynomial< _CoefficientType >::Term

An individual variable raised to an integer power; e.g. x**2.

Member Function Documentation

bool operator< ( const Term other) const
inline

A comparison to allow std::lexicographical_compare on this class; does not reflect any sort of mathematical total order.

bool operator== ( const Term other) const
inline

Member Data Documentation

PowerType power
VarType var

The documentation for this class was generated from the following file: