Function cf_dist_utils::get_cdf_discrete_cf
source · Expand description
Returns cumulative density function at given x.
Examples
extern crate num_complex;
use num_complex::Complex;
extern crate cf_dist_utils;
let mu = 2.0;
let sigma = 5.0;
let num_u = 128;
let x = 0.0;
let x_min=-20.0;
let x_max=25.0;
let norm_cf_discrete=vec![Complex::new(1.0, 1.0), Complex::new(-1.0, 1.0)];
let cdf=cf_dist_utils::get_cdf_discrete_cf(
x, x_min, x_max, &norm_cf_discrete
);