Enhanced Computation of Polylogarithm aka de Jonquieres function

Fast Computation of polylogarithmic function using closed form approximations
ダウンロード: 654
更新 2012/6/19

ライセンスの表示

Uses closed form approximations to compute the polylogarithm Li_n(z) of a complex array z base n.

Description: % polylog - Computes the n-based polylogarithm of z: Li_n(z)

Approximate closed form expressions for the Polylogarithm aka de Jonquière's function are used. Computes reasonably faster than direct calculation given by SUM_{k=1 to Inf}[z^k / k^n] = z + z^2/2^n + ...

Usage: [y errors] = PolyLog(n,z)

Input: z < 1 : real/complex number or array or array

n > -4 : base of polylogarithm

Output: y ... value of polylogarithm

errors ... number of errors

Approximation should be correct up to at least 5 digits for |z| > 0.55
and on the order of 10 digits for |z| <= 0.55!

Please Note: z array input is possible but not recommended as precision might drop for big ranged z inputs (unresolved Matlab issue unknown to the author).

following V. Bhagat, et al., On the evaluation of generalized Bose–Einstein and Fermi–Dirac integrals, Computer Physics Communications, Vol. 155, p.7, 2003

v3 20120616

引用

Maximilian Kuhnert (2024). Enhanced Computation of Polylogarithm aka de Jonquieres function (https://www.mathworks.com/matlabcentral/fileexchange/37229-enhanced-computation-of-polylogarithm-aka-de-jonquieres-function), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersLarge Files and Big Data についてさらに検索
謝辞

ヒントを与えたファイル: wme7/Polylog

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0