[][src]Function cf_functions::stable_cf

pub fn stable_cf(
    u: &Complex<f64>,
    alpha: f64,
    mu: f64,
    beta: f64,
    c: f64
) -> Complex<f64>

Returns characteristic function of a stable distribution.

Examples

extern crate num_complex;
use num_complex::Complex;
extern crate cf_functions;
let u = Complex::new(1.0, 1.0);
let alpha = 0.5; 
let mu = 0.5; 
let beta = 0.3; 
let c = 0.3; 
let cf = cf_functions::stable_cf(
    &u, alpha, mu, beta, c
);