The iterator iterates over the terms of the expression.
double s=0;
s+= *i * dual(i);
const Invalid INVALID
Invalid iterators.
Definition base.cc:32
Iterator over the expression.
Definition lp_base.h:814
#include <lemon/lp_base.h>
|
| | ConstCoeffIt (const DualExpr &e) |
| | Sets the iterator to the first term.
|
| |
|
| operator Row () const |
| | Convert the iterator to the row of the term.
|
| |
|
const Value & | operator* () const |
| | Returns the coefficient of the term.
|
| |
| ConstCoeffIt & | operator++ () |
| | Next term.
|
| |
|
bool | operator== (Invalid) const |
| | Equality operator.
|
| |
|
bool | operator!= (Invalid) const |
| | Inequality operator.
|
| |
◆ ConstCoeffIt()
Sets the iterator to the first term of the expression.
◆ operator++()
Assign the iterator to the next term.