Function compare_datasets_within_tolerance

Source
pub fn compare_datasets_within_tolerance(
    original: &Dataset,
    reconstructed: &Dataset,
    tolerance: f64,
) -> (f64, bool)
Expand description

Computes maximum absolute difference between two Datasets and check if all differences are within a tolerance.