combinatorics.hh File Reference

#include <vector>
#include <cassert>
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <map>

Namespaces

namespace  combin

Classes

class  combin::combinations_base< T >
class  combin::combinations< T >
class  combin::symm_helper< T >
class  combin::symm_val_helper< T >
class  combin::symmetriser< T >

Typedefs

typedef std::vector< unsigned
int > 
combin::range_t
typedef std::vector< range_tcombin::range_vector_t
typedef std::vector< int > combin::weights_t

Functions

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

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