Skip to main content

spence

Function spence 

Source
pub fn spence<T: SpenceArg>(z: T) -> T
Expand description

Spence’s function for real or complex argument, also known as the dilogarithm

$$ \int_1^z {\log(t) \over 1 - t} \dd t $$

Corresponds to scipy.special.spence.