Borderbasix

Public Types | Public Member Functions | Public Attributes | Friends | List of all members
dynamicexp< X, E > Struct Template Reference

Dynamic exponent. More...

#include <borderbasix/mpoly/dynamicexp.hpp>

Public Types

typedef E exponent_t
 
typedef int degree_t
 
typedef dynamicexp< X, E > self_t
 

Public Member Functions

 dynamicexp ()
 
 dynamicexp (const dynamicexp< X, E > &d)
 
 dynamicexp (int s, E *t)
 
 dynamicexp (int s)
 
 ~dynamicexp ()
 
operator[] (int i) const
 
dynamicexpoperator= (const dynamicexp &A)
 
self_toperator+= (const self_t &B)
 
void reserve (int s)
 
self_t setExponent (int i, int d)
 

Public Attributes

int size
 
E * tab
 

Friends

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

Detailed Description

template<char X, class E = char>
struct dynamicexp< X, E >

Dynamic exponent.

Member Typedef Documentation

template<char X, class E = char>
typedef int dynamicexp< X, E >::degree_t
template<char X, class E = char>
typedef E dynamicexp< X, E >::exponent_t
template<char X, class E = char>
typedef dynamicexp<X,E> dynamicexp< X, E >::self_t

Constructor & Destructor Documentation

template<char X, class E = char>
dynamicexp< X, E >::dynamicexp ( )
inline
template<char X, class E = char>
dynamicexp< X, E >::dynamicexp ( const dynamicexp< X, E > &  d)
inline
template<char X, class E = char>
dynamicexp< X, E >::dynamicexp ( int  s,
E *  t 
)
inline
template<char X, class E = char>
dynamicexp< X, E >::dynamicexp ( int  s)
inline
template<char X, class E = char>
dynamicexp< X, E >::~dynamicexp ( )
inline

Member Function Documentation

template<char X, class E >
dynamicexp< X, E > & dynamicexp< X, E >::operator+= ( const self_t B)
template<char X, class E = char>
dynamicexp& dynamicexp< X, E >::operator= ( const dynamicexp< X, E > &  A)
inline
template<char X, class E = char>
E dynamicexp< X, E >::operator[] ( int  i) const
inline
template<char X, class E = char>
void dynamicexp< X, E >::reserve ( int  s)
inline
template<char X, class E = char>
self_t dynamicexp< X, E >::setExponent ( int  i,
int  d 
)
inline

Friends And Related Function Documentation

template<char X, class E = char>
bool operator!= ( const dynamicexp< X, E > &  A,
const dynamicexp< X, E > &  B 
)
friend
template<char X, class E = char>
bool operator== ( const dynamicexp< X, E > &  A,
const dynamicexp< X, E > &  B 
)
friend

Member Data Documentation

template<char X, class E = char>
int dynamicexp< X, E >::size
template<char X, class E = char>
E* dynamicexp< X, E >::tab
Home  |  Download & InstallContributions