pub fn vdot(a: [f64; 3], b: [f64; 3]) -> f64 {
    let mut out = 0f64;
    for i in 0..3 {
        out += a[i] * b[i]
    }
    out
}
/// compute the dot product between two vectors
compute the dot product between two vectors
compute the dot product between two vectors
pub fn vdot(a: [f64; 3], b: [f64; 3]) -> f64 {
    let mut out = 0f64;
    for i in 0..3 {
        out += a[i] * b[i]
    }
    out
}
pub fn vdot ( a : [ f64 ; 3 ] , b : [ f64 ; 3 ] ) -> f64 { let mut out = 0f64 ; for i in 0 .. 3 { out += a [ i ] * b [ i ] } out }
compute the dot product between two vectors
compute the dot product between two vectors
a
[f64; 3]
b
[f64; 3]
a
[f64; 3]
b
[f64; 3]