Function fang_oost::get_u_domain[][src]

pub fn get_u_domain(
    num_u: usize,
    x_min: f64,
    x_max: f64
) -> impl IndexedParallelIterator<Item = Complex<f64>>
Expand description

Helper function to get complex u domain @num_u the number of discrete steps in complex space @x_min the minimum value of the truncated x domain @x_max the maximum value of the truncated x domain @return discrete complex values spanning the complex space

Examples

let num_u = 10;
let x_min = -20.0;
let x_max = 20.0;
let u_domain=fang_oost::get_u_domain(
    num_u,
    x_min,
    x_max
);