The Polylogarithm Function in Julia
Matthew Roughan

TL;DR
This paper introduces a new Julia implementation for efficiently and accurately computing the polylogarithm function, addressing a gap in practical numerical evaluation and validation of this important mathematical function.
Contribution
The paper presents a novel algorithm for polylogarithm evaluation in Julia, with thorough performance validation against Mathematica's arbitrary precision implementation.
Findings
The Julia implementation performs comparably to Mathematica in accuracy.
The algorithm is efficient for complex parameters and arguments.
Implementation is easily portable to other scientific computing languages.
Abstract
The polylogarithm function is one of the constellation of important mathematical functions. It has a long history, and many connections to other special functions and series, and many applications, for instance in statistical physics. However, the practical aspects of its numerical evaluation have not received the type of comprehensive treatments lavished on its siblings. Only a handful of formal publications consider the evaluation of the function, and most focus on a specific domain and/or presume arbitrary precision arithmetic will be used. And very little of the literature contains any formal validation of numerical performance. In this paper we present an algorithm for calculating polylogarithms for both complex parameter and argument and evaluate it thoroughly in comparison to the arbitrary precision implementation in Mathematica. The implementation was created in a new scientific…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNumerical Methods and Algorithms · History and Theory of Mathematics · Mathematics, Computing, and Information Processing
