combin Namespace Reference


Classes

class  combinations_base
class  combinations
class  symm_helper
class  symm_val_helper
class  symmetriser

Typedefs

typedef std::vector< unsigned
int > 
range_t
typedef std::vector< range_trange_vector_t
typedef std::vector< int > weights_t

Functions

unsigned long factorial (unsigned int x)
int determine_intersection_ranges (const combin::range_vector_t &prod, const combin::range_vector_t &indv, combin::range_vector_t &target)
long vector_sum (const std::vector< int > &)
 sum of elements
unsigned long vector_prod (const std::vector< unsigned int > &)
 product of elements
unsigned long vector_prod_fact (const std::vector< unsigned int > &)
 product of factorials of elements
bool operator== (const std::vector< unsigned int > &one, const std::vector< unsigned int > &two)
long hash (const std::vector< unsigned int > &)
 compute a hash value for a vector of unsigned ints
template<class iterator1, class iterator2>
int ordersign (iterator1 b1, iterator1 e1, iterator2 b2, iterator2 e2, int stepsize=1)
template<class iterator1>
int ordersign (iterator1 b1, iterator1 e1)
template<class T>
fact (T x)
template<class T>
std::ostream & operator<< (std::ostream &str, const symmetriser< T > &sym)


Typedef Documentation

typedef std::vector<unsigned int> combin::range_t
 

typedef std::vector<range_t> combin::range_vector_t
 

typedef std::vector<int> combin::weights_t
 


Function Documentation

int combin::determine_intersection_ranges const combin::range_vector_t prod,
const combin::range_vector_t indv,
combin::range_vector_t target
 

template<class T>
T combin::fact x  ) 
 

unsigned long combin::factorial unsigned int  x  ) 
 

long combin::hash const std::vector< unsigned int > &  one  ) 
 

compute a hash value for a vector of unsigned ints

template<class T>
std::ostream & combin::operator<< std::ostream &  str,
const symmetriser< T > &  sym
 

bool combin::operator== const std::vector< unsigned int > &  one,
const std::vector< unsigned int > &  two
 

template<class iterator1>
int combin::ordersign iterator1  b1,
iterator1  e1
 

template<class iterator1, class iterator2>
int combin::ordersign iterator1  b1,
iterator1  e1,
iterator2  b2,
iterator2  e2,
int  stepsize = 1
 

unsigned long combin::vector_prod const std::vector< unsigned int > &  v  ) 
 

product of elements

unsigned long combin::vector_prod_fact const std::vector< unsigned int > &  v  ) 
 

product of factorials of elements

long combin::vector_sum const std::vector< int > &  v  ) 
 

sum of elements


Generated on Sat Jul 18 23:03:19 2009 for cadabra by  doxygen 1.4.6