(28/48/49/50) Lerch Transcendent and Polylogarithm
|
10-20-2021, 01:52 PM
(This post was last modified: 10-20-2021 01:53 PM by John Keith.)
Post: #1
|
|||
|
|||
(28/48/49/50) Lerch Transcendent and Polylogarithm
This program computes the Lerch transcendent Phi(z, s, a).The arguments may be real or complex. The program is a straightforward implementation of the function definition and it converges fairly quickly if |z| is not close to 1. The execution time rises and accuracy decreases as |z| approaches 1, so this is not an efficient algorithm for the Zeta function. The number 9999 for the maximum number of iterations may be lowered to improve speed at the cost of accuracy for values of |z| close to 1.
The polylogarithm Li_s(z) is defined as z*Phi(z, s, 1). If the program is named LERCH, with s on level 2 and z on level 1, the polylogarithm can be implemented as DUP ROT 1 LERCH *. Several other useful identities are listed at the Wikipedia links above, and at the Mathworld pages for the Lerch transcendent and the polylogarithm. Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(28/48/49/50) Lerch Transcendent and Polylogarithm - John Keith - 10-20-2021 01:52 PM
RE: (28/48/49/50) Lerch Transcendent and Polylogarithm - C.Ret - 10-20-2021, 03:57 PM
RE: (28/48/49/50) Lerch Transcendent and Polylogarithm - John Keith - 10-20-2021, 06:56 PM
|
User(s) browsing this thread: 1 Guest(s)