| idol
    A C++ Framework for Optimization | 


| Public Types | |
| using | iterator = typename map_t::iterator | 
| using | const_iterator = typename map_t::const_iterator | 
| Public Member Functions | |
| QuadExpr (ValueT t_constant) | |
| QuadExpr (const KeyT &t_key) | |
| QuadExpr (LinExpr< KeyT, ValueT > t_expr) | |
| QuadExpr (AffExpr< KeyT, ValueT > t_expr) | |
| QuadExpr (const KeyT &t_key1, const KeyT &t_key2) | |
| QuadExpr (const ValueT &t_factor, const KeyT &t_key1, const KeyT &t_key2) | |
| QuadExpr (ValueT &&t_factor, const KeyT &t_key1, const KeyT &t_key2) | |
| QuadExpr (const ValueT &t_factor, const KeyT &t_key) | |
| QuadExpr (ValueT &&t_factor, const KeyT &t_key) | |
| QuadExpr (const QuadExpr &t_src)=default | |
| QuadExpr (QuadExpr &&) noexcept=default | |
| QuadExpr & | operator= (const QuadExpr &t_rhs)=default | 
| QuadExpr & | operator= (QuadExpr &&) noexcept=default | 
| QuadExpr & | operator+= (const QuadExpr &t_rhs) | 
| QuadExpr & | operator-= (const QuadExpr &t_rhs) | 
| QuadExpr & | operator*= (double t_rhs) | 
| QuadExpr & | operator/= (double t_rhs) | 
| QuadExpr | operator- () const | 
| AffExpr< KeyT, ValueT > & | affine () | 
| const AffExpr< KeyT, ValueT > & | affine () const | 
| bool | has_quadratic () const | 
| bool | empty_all () const | 
| bool | is_zero (double t_tolerance) const override | 
| void | clear_all () | 
| LinExpr & | operator+= (const LinExpr< KeyT, ValueT > &t_rhs) | 
| LinExpr & | operator+= (const KeyT &t_rhs) | 
| virtual SparseVector & | operator+= (const SparseVector &t_vector) | 
| LinExpr & | operator-= (const LinExpr< KeyT, ValueT > &t_rhs) | 
| LinExpr & | operator-= (const KeyT &t_rhs) | 
| virtual SparseVector & | operator-= (const SparseVector &t_vector) | 
| virtual SparseVector & | operator*= (std::conditional_t< std::is_arithmetic_v< ValueT >, ValueT, double > t_scalar) | 
| virtual SparseVector & | operator/= (std::conditional_t< std::is_arithmetic_v< ValueT >, ValueT, double > t_scalar) | 
| unsigned int | size () const | 
| bool | empty () const | 
| bool | has_index (const IndexT &t_index) const | 
| const ValueT & | get (const IndexT &t_index1) const | 
| void | set (const IndexT &t_index, const ValueT &t_value) | 
| void | remove (const IndexT &t_index) | 
| void | clear () | 
| void | reserve (unsigned int t_capacity) | 
| iterator | begin () | 
| const_iterator | begin () const | 
| iterator | end () | 
| const_iterator | end () const | 
| const_iterator | cbegin () const | 
| const_iterator | cend () const | 
| SparseVector & | merge_without_conflict (const SparseVector &t_vec) | 
| Static Public Attributes | |
| static LinExpr< KeyT, ValueT > | Zero {} | 
Definition at line 16 of file QuadExpr.h.
| 
 | inherited | 
Definition at line 128 of file SparseVector.h.
| 
 | inherited | 
Definition at line 127 of file SparseVector.h.
| 
 | inline | 
Definition at line 20 of file QuadExpr.h.
| 
 | inline | 
Definition at line 21 of file QuadExpr.h.
| 
 | inline | 
Definition at line 22 of file QuadExpr.h.
| 
 | inline | 
Definition at line 23 of file QuadExpr.h.
| 
 | inline | 
Definition at line 25 of file QuadExpr.h.
| 
 | inline | 
Definition at line 26 of file QuadExpr.h.
| 
 | inline | 
Definition at line 27 of file QuadExpr.h.
| 
 | inline | 
Definition at line 28 of file QuadExpr.h.
| 
 | inline | 
Definition at line 29 of file QuadExpr.h.
| 
 | inline | 
Definition at line 43 of file QuadExpr.h.
| 
 | inline | 
Definition at line 44 of file QuadExpr.h.
| 
 | inlineinherited | 
Definition at line 130 of file SparseVector.h.
| 
 | inlineinherited | 
Definition at line 134 of file SparseVector.h.
| 
 | inlineinherited | 
Definition at line 138 of file SparseVector.h.
| 
 | inlineinherited | 
Definition at line 140 of file SparseVector.h.
| 
 | inlineinherited | 
Definition at line 119 of file SparseVector.h.
| void idol::QuadExpr< KeyT, ValueT >::clear_all | ( | ) | 
Definition at line 56 of file QuadExpr.h.
| 
 | inlineinherited | 
Definition at line 107 of file SparseVector.h.
| 
 | inline | 
Definition at line 48 of file QuadExpr.h.
| 
 | inlineinherited | 
Definition at line 132 of file SparseVector.h.
| 
 | inlineinherited | 
Definition at line 136 of file SparseVector.h.
| 
 | inherited | 
Definition at line 271 of file SparseVector.h.
| 
 | inlineinherited | 
Definition at line 109 of file SparseVector.h.
| 
 | inline | 
Definition at line 46 of file QuadExpr.h.
| 
 | overridevirtual | 
Reimplemented from idol::SparseVector< IndexT, ValueT >.
Definition at line 62 of file QuadExpr.h.
| 
 | inherited | 
Definition at line 258 of file SparseVector.h.
| idol::QuadExpr< KeyT, ValueT > & idol::QuadExpr< KeyT, ValueT >::operator*= | ( | double | t_rhs | ) | 
Definition at line 81 of file QuadExpr.h.
| 
 | virtualinherited | 
Definition at line 206 of file SparseVector.h.
| 
 | inherited | 
| idol::QuadExpr< KeyT, ValueT > & idol::QuadExpr< KeyT, ValueT >::operator+= | ( | const QuadExpr< KeyT, ValueT > & | t_rhs | ) | 
Definition at line 97 of file QuadExpr.h.
| 
 | virtualinherited | 
Definition at line 237 of file SparseVector.h.
| idol::QuadExpr< KeyT, ValueT > idol::QuadExpr< KeyT, ValueT >::operator- | ( | ) | const | 
Definition at line 67 of file QuadExpr.h.
| 
 | inherited | 
| 
 | inherited | 
| idol::QuadExpr< KeyT, ValueT > & idol::QuadExpr< KeyT, ValueT >::operator-= | ( | const QuadExpr< KeyT, ValueT > & | t_rhs | ) | 
Definition at line 89 of file QuadExpr.h.
| 
 | virtualinherited | 
Definition at line 182 of file SparseVector.h.
| idol::QuadExpr< KeyT, ValueT > & idol::QuadExpr< KeyT, ValueT >::operator/= | ( | double | t_rhs | ) | 
Definition at line 74 of file QuadExpr.h.
| 
 | virtualinherited | 
Definition at line 161 of file SparseVector.h.
| 
 | inlineinherited | 
Definition at line 117 of file SparseVector.h.
| 
 | inlineinherited | 
Definition at line 121 of file SparseVector.h.
| 
 | inherited | 
Definition at line 283 of file SparseVector.h.
| 
 | inlineinherited | 
Definition at line 105 of file SparseVector.h.
| 
 | staticinherited |