Trait polylog::Li6

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

Provides the 6-th order polylogarithm function li6() of a number of type T.

Required Methods§

source

fn li6(&self) -> T

Implementations on Foreign Types§

source§

impl Li6<Complex<f64>> for Complex<f64>

source§

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

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

§Example:
use num::complex::Complex;
use polylog::Li6;

assert!((Complex::new(1.0_f64, 1.0_f64).li6() - Complex::new(0.9961497968353170_f64, 1.0335544477237482_f64)).norm() < 2.0_f64*std::f64::EPSILON);

Implementors§