Public Member Functions | |
| MultiSet () | |
| bool | contains (const Key &key) const | 
| void | put (const Key &key) | 
| Array< Key > | elements () const | 
| std::ostream & | toStream (std::ostream &os) const | 
| MultiSet< Key > | merge (const MultiSet< Key > &other) const | 
| void | mergeFrom (const MultiSet< Key > &other) | 
| Set< Key > | toSet () const | 
| std::string | toString () const | 
| bool | operator== (const MultiSet< int > &other) const | 
Related Functions | |
| (Note that these are not member functions.)  | |
| template<class Key > | |
| MultiSet< Key > | makeMultiSet (const Key &k) | 
| template<class Key > | |
| MultiSet< Key > | makeMultiSet (const Key &k1, const Key &k2) | 
| template<class Key > | |
| MultiSet< Key > | makeMultiSet (const Key &k1, const Key &k2, const Key &k3) | 
| template<class Key > | |
| MultiSet< Key > | makeMultiSet (const Key &k1, const Key &k2, const Key &k3, const Key &k4) | 
| template<class Key > | |
| MultiSet< Key > | makeMultiSet (const Key &k1, const Key &k2, const Key &k3, const Key &k4, const Key &k5) | 
| template<class Key > | |
| MultiSet< Key > | makeMultiSet (const Key &k1, const Key &k2, const Key &k3, const Key &k4, const Key &k5, const Key &k6) | 
| template<class Key > | |
| MultiSet< Key > | makeMultiSet (const Array< Key > &k) | 
| template<class Key > | |
| ostream & | operator<< (std::ostream &os, const Sundance::MultiSet< Key > &m) | 
Definition at line 49 of file SundanceMultiSet.hpp.
| Sundance::MultiSet< Key >::MultiSet | ( | ) |  [inline] | 
        
Definition at line 53 of file SundanceMultiSet.hpp.
| bool Sundance::MultiSet< Key >::contains | ( | const Key & | key | ) |  const [inline] | 
        
Test whether the specified key is present in the set
Definition at line 56 of file SundanceMultiSet.hpp.
| Array< Key > Sundance::MultiSet< Key >::elements | ( | ) |  const [inline] | 
        
Write into an array
Definition at line 89 of file SundanceMultiSet.hpp.
Referenced by Sundance::multisetSubsets().
| MultiSet< Key > Sundance::MultiSet< Key >::merge | ( | const MultiSet< Key > & | other | ) |  const [inline] | 
        
Merge with another multiset, returning the merged set
Definition at line 103 of file SundanceMultiSet.hpp.
References Sundance::MultiSet< Key >::put().
| void Sundance::MultiSet< Key >::mergeFrom | ( | const MultiSet< Key > & | other | ) |  [inline] | 
        
Take another set and merge into this one, overwriting the original with the merged set
Definition at line 117 of file SundanceMultiSet.hpp.
References Sundance::MultiSet< Key >::put().
| bool Sundance::MultiSet< Key >::operator== | ( | const MultiSet< int > & | other | ) |  const [inline] | 
        
Definition at line 81 of file SundanceMultiSet.hpp.
| void Sundance::MultiSet< Key >::put | ( | const Key & | key | ) |  [inline] | 
        
Put a new entry in the map
Definition at line 59 of file SundanceMultiSet.hpp.
Referenced by Sundance::SparsitySuperset::addDeriv(), Sundance::applyTx(), Sundance::DiffOpEvaluator::backedDerivs(), Sundance::ChainRuleEvaluator::chainRuleBins(), Sundance::chainRuleDerivsOfArgs(), Sundance::ChainRuleEvaluator::derivComboMultiplicity(), Sundance::MultipleDeriv::dofIDs(), Sundance::EFDEEvaluator::EFDEEvaluator(), Sundance::MultipleDeriv::funcIDs(), Sundance::FunctionalPolynomial::FunctionalPolynomial(), Sundance::DiffOpEvaluator::increasedDerivs(), Sundance::SymbolicFuncElement::internalFindC(), Sundance::CoordExpr::internalFindC(), Sundance::SymbolicFuncElement::internalFindW(), Sundance::CoordExpr::internalFindW(), Sundance::loadPartitions(), Sundance::makeDeriv(), Sundance::ChainRuleEvaluator::makeMD(), Sundance::makeMultiDeriv(), Sundance::MultiSet< Key >::makeMultiSet(), Sundance::MultiSet< Key >::merge(), Sundance::MultiSet< Key >::mergeFrom(), Sundance::multisetPartitions(), Sundance::multisetSubsets(), Sundance::NonlinearUnaryOpEvaluator::NonlinearUnaryOpEvaluator(), Sundance::MultipleDeriv::product(), Sundance::MultipleDeriv::productRulePermutations(), Sundance::FunctionalPolynomial::stepRecurrence(), and Sundance::FunctionalPolynomial::successorTerm().
| Set< Key > Sundance::MultiSet< Key >::toSet | ( | ) |  const [inline] | 
        
Write into a set, i.e., collapsing repeated entries
Definition at line 129 of file SundanceMultiSet.hpp.
References Sundance::Set< Key, Compare >::put().
| std::ostream & Sundance::MultiSet< Key >::toStream | ( | std::ostream & | os | ) |  const [inline] | 
        
Write to stream
Definition at line 144 of file SundanceMultiSet.hpp.
Referenced by Sundance::MultiSet< Key >::operator<<().
| string Sundance::MultiSet< Key >::toString | ( | ) |  const [inline] | 
        
Write to a std::string
Definition at line 161 of file SundanceMultiSet.hpp.
Referenced by Sundance::GrouperBase::extractWeakForm(), Sundance::EvalVectorArray::print(), Sundance::FunctionalPolynomial::stepRecurrence(), and Sundance::SumEvaluator::SumEvaluator().
| MultiSet< Key > makeMultiSet | ( | const Array< Key > & | k | ) |  [related] | 
        
Create a multiset
Definition at line 230 of file SundanceMultiSet.hpp.
References Sundance::MultiSet< Key >::put().
| MultiSet< Key > makeMultiSet | ( | const Key & | k1, | |
| const Key & | k2, | |||
| const Key & | k3, | |||
| const Key & | k4, | |||
| const Key & | k5, | |||
| const Key & | k6 | |||
| ) |  [related] | 
        
Create a multiset
Definition at line 219 of file SundanceMultiSet.hpp.
References Sundance::MultiSet< Key >::put().
| MultiSet< Key > makeMultiSet | ( | const Key & | k1, | |
| const Key & | k2, | |||
| const Key & | k3, | |||
| const Key & | k4, | |||
| const Key & | k5 | |||
| ) |  [related] | 
        
Create a multiset
Definition at line 208 of file SundanceMultiSet.hpp.
References Sundance::MultiSet< Key >::put().
| MultiSet< Key > makeMultiSet | ( | const Key & | k1, | |
| const Key & | k2, | |||
| const Key & | k3, | |||
| const Key & | k4 | |||
| ) |  [related] | 
        
Create a multiset
Definition at line 198 of file SundanceMultiSet.hpp.
References Sundance::MultiSet< Key >::put().
| MultiSet< Key > makeMultiSet | ( | const Key & | k1, | |
| const Key & | k2, | |||
| const Key & | k3 | |||
| ) |  [related] | 
        
Create a multiset
Definition at line 189 of file SundanceMultiSet.hpp.
References Sundance::MultiSet< Key >::put().
| MultiSet< Key > makeMultiSet | ( | const Key & | k1, | |
| const Key & | k2 | |||
| ) |  [related] | 
        
Create a multiset
Definition at line 180 of file SundanceMultiSet.hpp.
References Sundance::MultiSet< Key >::put().
| MultiSet< Key > makeMultiSet | ( | const Key & | k | ) |  [related] | 
        
Create a multiset
Definition at line 171 of file SundanceMultiSet.hpp.
References Sundance::MultiSet< Key >::put().
| ostream & operator<< | ( | std::ostream & | os, | |
| const Sundance::MultiSet< Key > & | m | |||
| ) |  [related] | 
        
Write to a stream
Definition at line 245 of file SundanceMultiSet.hpp.
References Sundance::MultiSet< Key >::toStream().