Function fang_oost::compute_du[][src]

pub fn compute_du(x_min: f64, x_max: f64) -> f64

Function to compute the difference in successive U nodes.
This can feed into the "getU" function. Note that this depends on X: the U and X domains are not "independent".

Examples

let x_min=-20.0;
let x_max=20.0;
let du=fang_oost::compute_du(
   x_min, x_max
);