gwinferno.preprocess.priors.Di#
- Di(z)[source]#
Wrapper for the scipy implementation of Spence’s function. Note that we adhere to the Mathematica convention as detailed in: https://reference.wolfram.com/language/ref/PolyLog.html
- Parameters:
- zfloat, complex, array-like
Input scalar or array-like value(s) at which to evaluate the dilogarithm.
- Returns:
- array-like
Array equivalent to PolyLog[2,z], as defined by Mathematica.