pub fn euclidean_distance(x1: f64, y1: f64, x2: f64, y2: f64) -> f64 {
    let xs = (x2 - x1).powf(2.0);
    let ys = (y2 - y1).powf(2.0);
    (xs + ys).sqrt()
}
/// Calculate the euclidean distance between 2 points.
Calculate the euclidean distance between 2 points.
Calculate the euclidean distance between 2 points .
pub fn euclidean_distance(x1: f64, y1: f64, x2: f64, y2: f64) -> f64 {
    let xs = (x2 - x1).powf(2.0);
    let ys = (y2 - y1).powf(2.0);
    (xs + ys).sqrt()
}
pub fn euclidean_distance ( x1 : f64 , y1 : f64 , x2 : f64 , y2 : f64 ) -> f64 { let xs = ( x2 - x1 ) . powf ( 2.0 ) ; let ys = ( y2 - y1 ) . powf ( 2.0 ) ; ( xs + ys ) . sqrt ( ) }
Calculate the euclidean distance between 2 points.
Calculate the euclidean distance between 2 points .
x1
f64
y1
f64
x2
f64
y2
f64