[][src]Trait polylog::Li4

pub trait Li4<T> {
    pub fn li4(&self) -> T;
}

Provides the fourth order polylogarithm function li4() of a number of type T.

Required methods

pub fn li4(&self) -> T[src]

Loading content...

Implementations on Foreign Types

impl Li4<Complex<f64>> for Complex<f64>[src]

pub fn li4(&self) -> Complex<f64>[src]

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

Example:

extern crate num;
extern crate polylog;
use num::complex::Complex;
use polylog::Li4;

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

Implementors

Loading content...