Li5

Trait 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;

assert!((Complex::new(1.0_f64, 1.0_f64).li5() - Complex::new(0.9874666591701124_f64, 1.0684416071074221_f64)).norm() < 2.0_f64*std::f64::EPSILON);

Implementors§