*counter: avoid recomputation of denominators when checking for zeros
[barvinok.git] / bernoulli.h
blob9bf99ec2c6adeac6365196eb08984e0663c7e940
1 #include <barvinok/evalue.h>
3 #if defined(__cplusplus)
4 extern "C" {
5 #endif
7 struct barvinok_options;
9 struct bernoulli {
10 Vector *b_num;
11 Vector *b_den;
12 Vector **sum;
13 int size;
14 int n;
17 struct bernoulli *bernoulli_compute(int n);
19 evalue *Bernoulli_sum(Polyhedron *P, Polyhedron *C,
20 struct barvinok_options *options);
21 evalue *Bernoulli_sum_evalue(evalue *e, unsigned nvar,
22 struct barvinok_options *options);
24 #if defined(__cplusplus)
26 #endif