atlas  0.6
Public Types | Public Member Functions | List of all members
atlas::free_abelian::Free_Abelian< T, C, Compare > Struct Template Reference

#include <Atlas.h>

Inheritance diagram for atlas::free_abelian::Free_Abelian< T, C, Compare >:
Inheritance graph
[legend]
Collaboration diagram for atlas::free_abelian::Free_Abelian< T, C, Compare >:
Collaboration graph
[legend]

Public Types

typedef C coef_t
 
typedef std::map< T, coef_t, Compare > base
 
typedef base::iterator iterator
 
typedef base::const_iterator const_iterator
 

Public Member Functions

 Free_Abelian ()
 
 Free_Abelian (Compare c)
 
 Free_Abelian (const base &m)
 
 Free_Abelian (const T &p, Compare c=Compare())
 
 Free_Abelian (const T &p, C m, Compare c=Compare())
 
template<typename InputIterator >
 Free_Abelian (InputIterator first, InputIterator last, Compare c=Compare())
 
Free_Abelianadd_term (const T &p, C m)
 
Free_Abelianoperator+= (const T &p)
 
Free_Abelianoperator-= (const T &p)
 
Free_Abelianadd_multiple (const Free_Abelian &p, C m)
 
Free_Abelianoperator+= (const Free_Abelian &p)
 
Free_Abelianoperator-= (const Free_Abelian &p)
 
operator[] (const T &t) const
 

Member Typedef Documentation

template<typename T, typename C, typename Compare>
typedef std::map<T,coef_t,Compare> atlas::free_abelian::Free_Abelian< T, C, Compare >::base
template<typename T, typename C, typename Compare>
typedef C atlas::free_abelian::Free_Abelian< T, C, Compare >::coef_t
template<typename T, typename C, typename Compare>
typedef base::const_iterator atlas::free_abelian::Free_Abelian< T, C, Compare >::const_iterator
template<typename T, typename C, typename Compare>
typedef base::iterator atlas::free_abelian::Free_Abelian< T, C, Compare >::iterator

Constructor & Destructor Documentation

template<typename T, typename C, typename Compare>
atlas::free_abelian::Free_Abelian< T, C, Compare >::Free_Abelian ( )
inline
template<typename T, typename C, typename Compare>
atlas::free_abelian::Free_Abelian< T, C, Compare >::Free_Abelian ( Compare  c)
inline
template<typename T, typename C, typename Compare>
atlas::free_abelian::Free_Abelian< T, C, Compare >::Free_Abelian ( const base m)
inlineexplicit
template<typename T, typename C, typename Compare>
atlas::free_abelian::Free_Abelian< T, C, Compare >::Free_Abelian ( const T &  p,
Compare  c = Compare() 
)
inlineexplicit
template<typename T, typename C, typename Compare>
atlas::free_abelian::Free_Abelian< T, C, Compare >::Free_Abelian ( const T &  p,
m,
Compare  c = Compare() 
)
inline
template<typename T, typename C, typename Compare>
template<typename InputIterator >
atlas::free_abelian::Free_Abelian< T, C, Compare >::Free_Abelian ( InputIterator  first,
InputIterator  last,
Compare  c = Compare() 
)
inline

Member Function Documentation

template<typename T , typename C , typename Compare >
Free_Abelian< T, C, Compare > & atlas::free_abelian::Free_Abelian< T, C, Compare >::add_multiple ( const Free_Abelian< T, C, Compare > &  p,
m 
)
template<typename T , typename C , typename Compare >
Free_Abelian< T, C, Compare > & atlas::free_abelian::Free_Abelian< T, C, Compare >::add_term ( const T &  p,
m 
)
template<typename T, typename C, typename Compare>
Free_Abelian& atlas::free_abelian::Free_Abelian< T, C, Compare >::operator+= ( const T &  p)
inline
template<typename T, typename C, typename Compare>
Free_Abelian& atlas::free_abelian::Free_Abelian< T, C, Compare >::operator+= ( const Free_Abelian< T, C, Compare > &  p)
inline
template<typename T, typename C, typename Compare>
Free_Abelian& atlas::free_abelian::Free_Abelian< T, C, Compare >::operator-= ( const T &  p)
inline
template<typename T, typename C, typename Compare>
Free_Abelian& atlas::free_abelian::Free_Abelian< T, C, Compare >::operator-= ( const Free_Abelian< T, C, Compare > &  p)
inline
template<typename T, typename C, typename Compare>
C atlas::free_abelian::Free_Abelian< T, C, Compare >::operator[] ( const T &  t) const
inline

The documentation for this struct was generated from the following files: