Trait polylog::Li4

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

Provides the 4-th order polylogarithm function li4() of a number of type T.

Required Methods§

source

fn li4(&self) -> T

Implementations on Foreign Types§

source§

impl Li4<f64> for f64

source§

fn li4(&self) -> f64

Returns the fourth order polylogarithm of a real number of type f64.

Example:
use polylog::Li4;

let x = 1.0;
println!("Li4({}) = {}", x, x.li4());
source§

impl Li4<Complex<f64>> for Complex<f64>

source§

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

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

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

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

Implementors§