/// Get the "primitive" form of a Miller index, reduced by the GCD.
///
/// Returns `None` for `[0, 0, 0]`.
Get the "primitive" form of a Miller index, reduced by the GCD.
Get the " primitive " form of a Miller index reduced by the GCD .
pub fn make_primitive(miller: V3<i32>) -> Option<V3<i32>> {
        match gcd(miller) {
            0 => None,
            g => Some(miller.map(|x| x / g)),
        }
    }
pub fn make_primitive ( miller : V3 < i32 > ) -> Option < V3 < i32 > > { match gcd ( miller ) { 0 => None , g => Some ( miller . map ( | x | x / g ) ) , } }
Get the "primitive" form of a Miller index, reduced by the GCD.
Get the " primitive " form of a Miller index reduced by the GCD .
miller
V3<i32>