1 #include <barvinok/evalue.h>
2 #include "section_array.h"
4 #if defined(__cplusplus)
8 struct barvinok_options
;
10 struct bernoulli_coef
{
13 Vector
*lcm
; /* lcm of this and previous denominators */
15 int n
; /* The number of Bernoulli coefficients */
21 int n
; /* The number of polynomials */
25 * Compute Bernoulli coefficients up to the nth.
26 * The returned structure will contain at least n+1 coefficients (0..n).
28 struct bernoulli_coef
*bernoulli_coef_compute(int n
);
31 * Compute Faulhaber polynomials up to the nth.
32 * The returned structure will contain at least n+1 polynomials (0..n).
34 struct poly_list
*faulhaber_compute(int n
);
37 * Compute Bernoulli polynomials up to the nth.
38 * The returned structure will contain at least n+1 polynomials (0..n).
40 struct poly_list
*bernoulli_compute(int n
);
42 evalue
*bernoulli_summate(Polyhedron
*P
, evalue
*E
, unsigned nvar
,
43 struct evalue_section_array
*sections
,
44 struct barvinok_options
*options
);
46 #if defined(__cplusplus)