fn omnitruncate(&self) -> Self {
        let (abs, flags) = self.abs.omnitruncate_and_flags();
        let element_vertices = self.avg_vertex_map();

        Self::new(
            flags
                .into_iter()
                .map(|flag| {
                    flag.into_iter()
                        .enumerate()
                        .skip(1)
                        .take(self.rank())
                        .map(|el| &element_vertices[el])
                        .sum()
                })
                .collect(),
            abs,
        )
    }
// TODO: A method that builds an omnitruncate together with a map from flags
// to vertices? We got some math details to figure out.
A method that builds an omnitruncate together with a map from flags
to vertices. We got some math details to figure out.
A method that builds an omnitruncate together with a map from flags to vertices . We got some math details to figure out .
fn omnitruncate(&self) -> Self {
        let (abs, flags) = self.abs.omnitruncate_and_flags();
        let element_vertices = self.avg_vertex_map();
        Self::new(
            flags
                .into_iter()
                .map(|flag| {
                    flag.into_iter()
                        .enumerate()
                        .skip(1)
                        .take(self.rank())
                        .map(|el| &element_vertices[el])
                        .sum()
                })
                .collect(),
            abs,
        )
    }
fn omnitruncate ( & self ) -> Self { let ( abs , flags ) = self . abs . omnitruncate_and_flags ( ) ; let element_vertices = self . avg_vertex_map ( ) ; Self :: new ( flags . into_iter ( ) . map ( | flag | { flag . into_iter ( ) . enumerate ( ) . skip ( 1 ) . take ( self . rank ( ) ) . map ( | el | & element_vertices [ el ] ) . sum ( ) } ) . collect ( ) , abs , ) }
TODO: A method that builds an omnitruncate together with a map from flags
to vertices?
TODO : A method that builds an omnitruncate together with a map from flags to vertices?
&self