Trait polylog::Li5

source ·
pub trait Li5<T> {
    // Required method
    fn li5(&self) -> T;
}
Expand description

Provides the 5-th order polylogarithm function li5() of a number of type T.

Required Methods§

source

fn li5(&self) -> T

Implementations on Foreign Types§

source§

impl Li5<Complex<f64>> for Complex<f64>

source§

fn li5(&self) -> Complex<f64>

Returns the fifth order polylogarithm of a complex number of type Complex<f64>.

Example:
use num::complex::Complex;
use polylog::Li5;

let z = Complex::new(1.0, 1.0);
println!("Li5({}) = {}", z, z.li5());

Implementors§