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§
Implementations on Foreign Types§
source§impl Li4<Complex<f64>> for Complex<f64>
impl Li4<Complex<f64>> for Complex<f64>
source§fn li4(&self) -> Complex<f64>
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;
assert!((Complex::new(1.0_f64, 1.0_f64).li4() - Complex::new(0.9593189135784193_f64, 1.1380391966769828_f64)).norm() < 2.0_f64*std::f64::EPSILON);