Function: polylog (s, z)

Numerical polylogarithm function

Evaluates the polylogarithm of order s and argument z, in double precision. Both inputs can be arrays but their sizes must be either the same or scalar.

Example:

polylog (2, -4)
  ⇒ ans = -2.3699

Note this function may be slow for large numbers of inputs. This is because it is not a native double-precision implementation but rather the numerical evaluation of the Python mpmath function polylog.

See also: @sym/polylog.

Package: symbolic