combinatorics.cc File Reference

#include "combinatorics.hh"

Functions

unsigned long combin::factorial (unsigned int x)
int combin::determine_intersection_ranges (const combin::range_vector_t &prod, const combin::range_vector_t &indv, combin::range_vector_t &target)
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

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