|
Antares Simulator
Power System Simulator
|
Public Types | |
| using | const_iterator = std::vector< std::pair< int, double > >::const_iterator |
Public Member Functions | |
| LinearExpression (double constant) | |
| LinearExpression (const std::vector< std::pair< int, double >> &coefs, double constant) | |
| LinearExpression (const LinearExpression &other)=default | |
| void | mergeDuplicateCoefficients () |
| LinearExpression & | operator*= (double factor) |
| LinearExpression & | operator+= (const LinearExpression &other) |
| LinearExpression & | operator-= (const LinearExpression &other) |
| LinearExpression | operator- () const |
| LinearExpression | operator/ (const LinearExpression &other) const |
| LinearExpression & | operator*= (const LinearExpression &other) |
| LinearExpression & | operator^= (const LinearExpression &other) |
| void | addVariable (int index, double value) |
| double | constant () const |
| const_iterator | begin () const |
| const_iterator | end () const |
| const std::pair< int, double > & | operator[] (std::size_t) const |
| std::size_t | size () const |
| bool | hasCoefs () const |