An individual variable raised to an integer power; e.g. x**2.
#include <drake/common/polynomial.h>
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 |
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.
bool operator== | ( | const Term & | other | ) | const |
PowerType power |
VarType var |