error_norm

Function error_norm 

Source
pub fn error_norm<F: IntegrateFloat>(
    error: &Array1<F>,
    y: &Array1<F>,
    rtol: F,
    atol: F,
) -> F
Expand description

Calculate the error norm based on relative and absolute tolerances

§Arguments

  • error - Error estimate from the ODE step
  • y - Solution at the current step
  • rtol - Relative tolerance
  • atol - Absolute tolerance

§Returns

The normalized error