Drake
Drake C++ Documentation
Polynomial< T >::Term Class Reference

Detailed Description

template<typename T = double>
class drake::Polynomial< T >::Term

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
 

Member Function Documentation

◆ operator<()

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.

◆ operator==()

bool operator== ( const Term other) const

Member Data Documentation

◆ power

PowerType power

◆ var

VarType var

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