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

#include <free_abelian.h>

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

Public Types

typedef C coef_t
 
typedef Free_Abelian< T, C, Compare > base
 
typedef base::iterator iterator
 
typedef base::const_iterator const_iterator
 
- Public Types inherited from atlas::free_abelian::Free_Abelian< T, C, Compare >
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

 Monoid_Ring ()
 
 Monoid_Ring (Compare c)
 
 Monoid_Ring (const typename base::base &m)
 
 Monoid_Ring (T p, Compare c=Compare())
 
 Monoid_Ring (T p, C m, Compare c=Compare())
 
template<typename InputIterator >
 Monoid_Ring (InputIterator first, InputIterator last, Compare c=Compare())
 
Monoid_Ring operator* (const Monoid_Ring &p)
 
Monoid_Ringadd_multiple (const Monoid_Ring &p, C m, const T &expon)
 
- Public Member Functions inherited from atlas::free_abelian::Free_Abelian< T, C, Compare >
 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 = long int, typename Compare = std::less<T>>
typedef Free_Abelian<T,C,Compare> atlas::free_abelian::Monoid_Ring< T, C, Compare >::base
template<typename T, typename C = long int, typename Compare = std::less<T>>
typedef C atlas::free_abelian::Monoid_Ring< T, C, Compare >::coef_t
template<typename T, typename C = long int, typename Compare = std::less<T>>
typedef base::const_iterator atlas::free_abelian::Monoid_Ring< T, C, Compare >::const_iterator
template<typename T, typename C = long int, typename Compare = std::less<T>>
typedef base::iterator atlas::free_abelian::Monoid_Ring< T, C, Compare >::iterator

Constructor & Destructor Documentation

template<typename T, typename C = long int, typename Compare = std::less<T>>
atlas::free_abelian::Monoid_Ring< T, C, Compare >::Monoid_Ring ( )
inline
template<typename T, typename C = long int, typename Compare = std::less<T>>
atlas::free_abelian::Monoid_Ring< T, C, Compare >::Monoid_Ring ( Compare  c)
inline
template<typename T, typename C = long int, typename Compare = std::less<T>>
atlas::free_abelian::Monoid_Ring< T, C, Compare >::Monoid_Ring ( const typename base::base m)
inlineexplicit
template<typename T, typename C = long int, typename Compare = std::less<T>>
atlas::free_abelian::Monoid_Ring< T, C, Compare >::Monoid_Ring ( p,
Compare  c = Compare() 
)
inlineexplicit
template<typename T, typename C = long int, typename Compare = std::less<T>>
atlas::free_abelian::Monoid_Ring< T, C, Compare >::Monoid_Ring ( p,
m,
Compare  c = Compare() 
)
inline
template<typename T, typename C = long int, typename Compare = std::less<T>>
template<typename InputIterator >
atlas::free_abelian::Monoid_Ring< T, C, Compare >::Monoid_Ring ( InputIterator  first,
InputIterator  last,
Compare  c = Compare() 
)
inline

Member Function Documentation

template<typename T , typename C , typename Compare >
Monoid_Ring< T, C, Compare > & atlas::free_abelian::Monoid_Ring< T, C, Compare >::add_multiple ( const Monoid_Ring< T, C, Compare > &  p,
m,
const T &  expon 
)
template<typename T , typename C , typename Compare >
Monoid_Ring< T, C, Compare > atlas::free_abelian::Monoid_Ring< T, C, Compare >::operator* ( const Monoid_Ring< T, C, Compare > &  p)

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