Skip to main content

relative_errors

Function relative_errors 

Source
pub fn relative_errors<T: Float + Display>(
    computed: &ArrayView1<'_, T>,
    reference: &ArrayView1<'_, T>,
) -> CoreResult<Array1<T>>
Expand description

Element-wise relative errors between two arrays. Returns Err if the arrays have different lengths.