Complex Dilogarithm

Dilogarithm of any complex numbers
1.9K Downloads
Updated 3 May 2006

No License

dilog(z) returns the (component-wise) dilogarithm of z. It is quite fast and accurate (around machine precision).

The present dilog function corresponds to Maple's polylog(2,z) and Mathematica's PolyLog[2,z] functions.

It is defined as
dilog(z) = sum_{n=1}^Inf z^n/n^2
for |z|<=1, and by analytic continuation for |z|>1.

Cite As

Didier Clamond (2026). Complex Dilogarithm (https://uk.mathworks.com/matlabcentral/fileexchange/10186-complex-dilogarithm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Special Functions in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

Clarified definition.