|
Limbo 3.5.4
|
Linear term. More...
#include <Solvers.h>
Public Types | |
| typedef T | coefficient_value_type |
| coefficient type | |
| typedef Variable< coefficient_value_type > | variable_type |
| variable type | |
Public Member Functions | |
| LinearTerm (variable_type var=variable_type(), coefficient_value_type coef=1) | |
| constructor | |
| LinearTerm (LinearTerm const &rhs) | |
| copy constructor | |
| LinearTerm & | operator= (LinearTerm const &rhs) |
| assignment | |
| ~LinearTerm () | |
| destructor | |
| variable_type const & | variable () const |
| void | setVariable (variable_type const &var) |
| coefficient_value_type | coefficient () const |
| void | setCoefficient (coefficient_value_type coef) |
| LinearTerm | operator- () const |
| LinearTerm & | negate () |
| LinearTerm & | operator*= (coefficient_value_type coef) |
| LinearTerm & | operator/= (coefficient_value_type coef) |
| bool | operator== (LinearTerm const &rhs) const |
Protected Member Functions | |
| void | copy (LinearTerm const &rhs) |
| copy object | |
Protected Attributes | |
| variable_type | m_var |
| variable | |
| coefficient_value_type | m_coef |
| coefficient | |
Linear term.
| T | coefficient type |
| typedef T limbo::solvers::LinearTerm< T >::coefficient_value_type |
| typedef Variable<coefficient_value_type> limbo::solvers::LinearTerm< T >::variable_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |