QuadExpr¶
Doxygen¶
- template<classKeyT=idol::Var,classValueT=double>
classQuadExpr:publicidol::LinExpr<CommutativePair<idol::Var>,double>¶ Public Types
- usingiterator=typenamemap_t::iterator¶
- usingconst_iterator=typenamemap_t::const_iterator¶
Public Functions
- QuadExpr()=default¶
- inlineboolhas_quadratic()const¶
- inlineboolempty_all()const¶
- virtualboolis_zero(doublet_tolerance)constoverride¶
- voidclear_all()¶
- virtualSparseVector&operator+=(constSparseVector&t_vector)¶
- virtualSparseVector&operator-=(constSparseVector&t_vector)¶
- virtualSparseVector&operator*=(std::conditional_t<std::is_arithmetic_v<ValueT>,ValueT,double>t_scalar)¶
- virtualSparseVector&operator/=(std::conditional_t<std::is_arithmetic_v<ValueT>,ValueT,double>t_scalar)¶
- inlineunsignedintsize()const¶
- inlineboolempty()const¶
- inlineboolhas_index(constIndexT&t_index)const¶
- inlinevoidremove(constIndexT&t_index)¶
- inlinevoidclear()¶
- inlinevoidreserve(unsignedintt_capacity)¶
- inlineconst_iteratorbegin()const¶
- inlineconst_iteratorend()const¶
- inlineconst_iteratorcbegin()const¶
- inlineconst_iteratorcend()const¶
- SparseVector&merge_without_conflict(constSparseVector&t_vec)¶
- usingiterator=typenamemap_t::iterator¶