Developer documentation

mmx::dynamic_exp< E > Struct Template Reference

Dynamic exponent. More...

#include <dynamicexp.hpp>

Public Types

typedef E value_type
 
typedef unsigned int size_type
 
typedef E * iterator
 
typedef iterator const_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef E exponent_t
 
typedef int degree_t
 
typedef dynamic_exp< E > self_t
 

Public Member Functions

 dynamic_exp ()
 
 dynamic_exp (const dynamic_exp< E > &d)
 
 dynamic_exp (int s)
 
 dynamic_exp (int s, E *t)
 
 ~dynamic_exp ()
 
size_type size () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
operator[] (size_type i) const
 
E & operator[] (size_type i)
 
self_toperator= (const self_t &A)
 
void reserve (size_type s)
 
void resize (size_type s)
 
void init (int s)
 
self_tset_expt (size_type i, value_type d)
 
void clear ()
 

Static Public Member Functions

static E * alloc (unsigned int N)
 

Public Attributes

size_type _size
 
E * _tab
 

Friends

bool operator== (const dynamic_exp &A, const dynamic_exp &B)
 
bool operator!= (const dynamic_exp &A, const dynamic_exp &B)
 

Detailed Description

template<class E = int>
struct mmx::dynamic_exp< E >

Dynamic exponent.

Member Typedef Documentation

template<class E = int>
typedef iterator mmx::dynamic_exp< E >::const_iterator
template<class E = int>
typedef std::reverse_iterator<const_iterator> mmx::dynamic_exp< E >::const_reverse_iterator
template<class E = int>
typedef int mmx::dynamic_exp< E >::degree_t
template<class E = int>
typedef E mmx::dynamic_exp< E >::exponent_t
template<class E = int>
typedef E* mmx::dynamic_exp< E >::iterator
template<class E = int>
typedef std::reverse_iterator<iterator> mmx::dynamic_exp< E >::reverse_iterator
template<class E = int>
typedef dynamic_exp<E> mmx::dynamic_exp< E >::self_t
template<class E = int>
typedef unsigned int mmx::dynamic_exp< E >::size_type
template<class E = int>
typedef E mmx::dynamic_exp< E >::value_type

Constructor & Destructor Documentation

template<class E = int>
mmx::dynamic_exp< E >::dynamic_exp ( )
inline
template<class E = int>
mmx::dynamic_exp< E >::dynamic_exp ( const dynamic_exp< E > &  d)
inline
template<class E = int>
mmx::dynamic_exp< E >::dynamic_exp ( int  s)
inline
template<class E = int>
mmx::dynamic_exp< E >::dynamic_exp ( int  s,
E *  t 
)
inline
template<class E = int>
mmx::dynamic_exp< E >::~dynamic_exp ( )
inline

Member Function Documentation

template<class E = int>
static E* mmx::dynamic_exp< E >::alloc ( unsigned int  N)
inlinestatic
template<class E = int>
iterator mmx::dynamic_exp< E >::begin ( )
inline
template<class E = int>
const_iterator mmx::dynamic_exp< E >::begin ( ) const
inline
template<class E = int>
void mmx::dynamic_exp< E >::clear ( )
inline
template<class E = int>
iterator mmx::dynamic_exp< E >::end ( )
inline
template<class E = int>
const_iterator mmx::dynamic_exp< E >::end ( ) const
inline
template<class E = int>
void mmx::dynamic_exp< E >::init ( int  s)
inline
template<class E = int>
self_t& mmx::dynamic_exp< E >::operator= ( const self_t A)
inline
template<class E = int>
E mmx::dynamic_exp< E >::operator[] ( size_type  i) const
inline
template<class E = int>
E& mmx::dynamic_exp< E >::operator[] ( size_type  i)
inline
template<class E = int>
reverse_iterator mmx::dynamic_exp< E >::rbegin ( )
inline
template<class E = int>
const_reverse_iterator mmx::dynamic_exp< E >::rbegin ( ) const
inline
template<class E = int>
reverse_iterator mmx::dynamic_exp< E >::rend ( )
inline
template<class E = int>
const_reverse_iterator mmx::dynamic_exp< E >::rend ( ) const
inline
template<class E = int>
void mmx::dynamic_exp< E >::reserve ( size_type  s)
inline
template<class E = int>
void mmx::dynamic_exp< E >::resize ( size_type  s)
inline
template<class E >
dynamic_exp< E > & mmx::dynamic_exp< E >::set_expt ( size_type  i,
value_type  d 
)
template<class E = int>
size_type mmx::dynamic_exp< E >::size ( void  ) const
inline

Friends And Related Function Documentation

template<class E = int>
bool operator!= ( const dynamic_exp< E > &  A,
const dynamic_exp< E > &  B 
)
friend
template<class E = int>
bool operator== ( const dynamic_exp< E > &  A,
const dynamic_exp< E > &  B 
)
friend

Member Data Documentation

template<class E = int>
size_type mmx::dynamic_exp< E >::_size
template<class E = int>
E* mmx::dynamic_exp< E >::_tab

The documentation for this struct was generated from the following file:
Home