1 #include <barvinok/evalue.h>
3 #if defined(__cplusplus)
7 struct barvinok_options
;
9 struct bernoulli_coef
{
12 Vector
*lcm
; /* lcm of this and previous denominators */
14 int n
; /* The number of Bernoulli coefficients */
20 int n
; /* The number of polynomials */
24 * Compute Bernoulli coefficients up to the nth.
25 * The returned structure will contain at least n+1 coefficients (0..n).
27 struct bernoulli_coef
*bernoulli_coef_compute(int n
);
30 * Compute Faulhaber polynomials up to the nth.
31 * The returned structure will contain at least n+1 polynomials (0..n).
33 struct poly_list
*faulhaber_compute(int n
);
36 * Compute Bernoulli polynomials up to the nth.
37 * The returned structure will contain at least n+1 polynomials (0..n).
39 struct poly_list
*bernoulli_compute(int n
);
41 evalue
*Bernoulli_sum_evalue(evalue
*e
, unsigned nvar
,
42 struct barvinok_options
*options
);
44 #if defined(__cplusplus)