Represents a term composed of a coefficient and a variable.
More...
#include <Term.h>
Represents a term composed of a coefficient and a variable.
Definition at line 39 of file Term.h.
bool lpcompare::Term::operator!= |
( |
const Term & |
other | ) |
const |
Compares two Term instances for equality.
- Parameters
-
other | Other instance to compare self to. |
- Returns
- true if Term instances are not equivalent.
Definition at line 52 of file Term.cpp.
bool lpcompare::Term::operator< |
( |
const Term & |
other | ) |
const |
Compares two Term instances.
- Parameters
-
other | Other instance to compare self to. |
- Returns
- true if self is less than other.
Definition at line 62 of file Term.cpp.
bool lpcompare::Term::operator== |
( |
const Term & |
other | ) |
const |
Compares two Term instances for equality.
- Parameters
-
other | Other instance to compare self to. |
- Returns
- true if Term instances are equivalent.
Definition at line 41 of file Term.cpp.
double lpcompare::Term::coeff |
std::string lpcompare::Term::varName |
The documentation for this class was generated from the following files: