Skip to main content

assert_central_difference_array

Macro assert_central_difference_array 

Source
macro_rules! assert_central_difference_array {
    ($x:expr, $h:expr, |$var:ident| $eval:expr, $analytical:expr, $tol:expr) => { ... };
}
Expand description

Assert that a central difference of an array-producing function matches the analytical derivative.