Max Alekseyev on Fri, 29 Sep 2023 23:45:36 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

evaluation of Bernoulli polynomials


Most named polynomials in PARI allow upfront evaluation at a given point - like

? polcyclo(7,2)
%1 = 127
? polchebyshev(7,2)
%2 = 128*x^7 - 192*x^5 + 80*x^3 - 8*x

However, this is not the case with Bernoulli polynomials:

? bernpol(7,2)
  ***   variable name expected: bernpol(7,2)
  ***                                     ^--

Can this be fixed please?

PS. On a cosmetic side, bernpol() should have been better called polbern() to be consistent with naming of other pol*() functions.

Regards,
Max