Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
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.

Public Attributes

VarType var
PowerType power

Member Function Documentation

◆ operator<()

template<typename T = double>
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==()

template<typename T = double>
bool operator== ( const Term & other) const

Member Data Documentation

◆ power

template<typename T = double>
PowerType power

◆ var

template<typename T = double>
VarType var

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