[][src]Trait polylog::Li3

pub trait Li3<T> {
    pub fn li3(&self) -> T;
}

Provides the trilogarithm function li3() of a number of type T.

Required methods

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

Loading content...

Implementations on Foreign Types

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

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

Returns the trilogarithm of a complex number of type Complex<f64>.

Example:

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

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

Implementors

Loading content...