pub fn unflatten_coords(&self, flat: &[f64]) -> Coords {
        let (flat_fracs, params) = flat.split_at(flat.len() - self.num_params());

        Coords::new(
            self.lattice_with_params(params),
            CoordsKind::Fracs(flat_fracs.nest().to_vec()),
        )
    }
/// Recover a Coords from the flattened representation
Recover a Coords from the flattened representation
Recover a Coords from the flattened representation
pub fn unflatten_coords(&self, flat: &[f64]) -> Coords {
        let (flat_fracs, params) = flat.split_at(flat.len() - self.num_params());
        Coords::new(
            self.lattice_with_params(params),
            CoordsKind::Fracs(flat_fracs.nest().to_vec()),
        )
    }
pub fn unflatten_coords ( & self , flat : & [ f64 ] ) -> Coords { let ( flat_fracs , params ) = flat . split_at ( flat . len ( ) - self . num_params ( ) ) ; Coords :: new ( self . lattice_with_params ( params ) , CoordsKind :: Fracs ( flat_fracs . nest ( ) . to_vec ( ) ) , ) }
Recover a Coords from the flattened representation
Recover a Coords from the flattened representation
&self
flat
&[f64]
&self
flat
&[f64]