Skip to main content

similarity

Function similarity 

Source
fn similarity(dist_sq1: i32, dist_sq2: i32) -> f64
Expand description

Similarity between two squared distances. Positive when the two nearest aquifer cells are close together (near a boundary).