Trait polylog::Li3 [−][src]
pub trait Li3<T> { fn li3(&self) -> T; }
Provides the trilogarithm function li3()
of a number of type
T
.
Required Methods
fn li3(&self) -> T
Implementations on Foreign Types
impl Li3<Complex<f64>> for Complex<f64>
[src]
impl Li3<Complex<f64>> for Complex<f64>
Returns the trilogarithm of a real number of type 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()); }