Basic Examples (4)
Compute a Bernoulli-Barnes number:
Compute a Bernoulli-Barnes polynomial:
Generate the first several numbers for fixed periods:
Plot a family of Bernoulli-Barnes polynomials:
Scope (6)
Use symbolic period parameters:
The function supports any positive rank:
Use algebraic or irrational period parameters:
Obtain a high-precision numerical value:
The polynomial variable can itself be an expression:
Compare the defining exponential generating function with the reconstructed series:
Properties and Relations (8)
For one unit period, the function reduces to the built-in BernoulliB:
For one general period alpha, use the scaled Bernoulli polynomial:
Bernoulli-Barnes polynomials form an Appell sequence in x:
Shifting x by one period removes that period and lowers the order:
Simultaneously scaling x and all r periods gives a homogeneous scaling law of degree n-r:
Reflection about half the sum of the periods changes the sign according to the order:
The result is invariant under permutations of periods:
The Appell addition formula holds:
Possible Issues (2)
A zero period makes the defining generating function singular, so such input is intentionally left unevaluated:
Negative or noninteger orders are outside the definition and remain unevaluated:
Neat Examples (2)
Visualize the first eight polynomials for three unit periods:
Display the real roots of a sequence of polynomials: