Polylog
The Polylog package provides Rust implementations of real and complex polylogarithms, including the dilogarithm and trilogarithm.
The Polylog package depends on the num crate.
Example
extern crate num;
extern crate polylog;
use Complex;
use ;
Notes
The implementation of the real dilogarithm is an adaption of [arXiv:2201.01678].
The implementation of the complex dilogarithm has been inspired by the implementation in SPheno and has been translated to Rust.
The implementation of the real trilogarithm is an adaptation of [arXiv:2308.11619].
The implementation of the general n-th order polylogarithm is an adaption of [arXiv:2010.09860].
Copying
Polylog is licenced under the GNU Lesser General Public License (GNU LGPL) version 3.