ClausenCl
The Clausen functions : for even and for odd — the imaginary or real part of .
ClausenCl(n, θ)the Clausen function of integer order and real .Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer, real) -> number | compute-engine | always |
Details
- is the classical Clausen function; , infinite at .
- Parity alternates with the order (DLMF §25.12(ii), mpmath's
clsin/clcos): even gives the odd, -periodic sine series, odd the even cosine series, so that or respectively. See PolyLog. - Special values: (Catalan's constant), , , , , . See DirichletEta, DirichletBeta.
- peaks at with value , the Gieseking constant's companion; the volume of the ideal regular tetrahedron is .
- Wolfram has no Clausen head: there it is spelled , which is how the oracle checks are phrased. Numerically, the polylogarithm's expansion at the unit circle (DLMF 25.12.12) with reduced into .
Plot
Examples
2 more kept as data, checked against the oraclesBasic #
Properties #
About
| Examples | 9 |
|---|---|
| Checked against | Wolfram Language 7 agree2 differmpmath 8 agree1 error |
| Crosswalk | WikipediaMathWorldWikidata |
Implementation
notatioCl_n cuts Li_n(e^{iθ}) in two by parity: the even orders are the sine series (its imaginary part), the odd orders the cosine series (its real part).
typescriptpackages/ce-patches/src/compute-engine/numerics/clausen.tswolframpackages/oracle/src/mappings.tsNo built-in Clausen head; the Wolfram Function Repository's own ResourceFunction["ClausenCl"] matches ours -- Catalan at (2, π/2), 0 at (2, π), -3/4 ζ(3) at (3, π), DirichletBeta[4] at (4, π/2), 1.0149416064096535 at (2, 1.047…). Needs network access to the Function Repository to run. Known quirk: at (3, 0) it returns an unevaluated If[OddQ, Zeta[3], 0] -- a bug in the repository function, not ours -- so that example's oracle verdict should read as inconclusive, not disagree.
mpmathpackages/oracle/src/mappings.tsclsin(n, θ) for even n, clcos(n, θ) for odd n. Wolfram has no head; Im/Re PolyLog[n, E^(I θ)] instead.
See also: PolyLog, DirichletBeta, DirichletEta, Zeta