/// Builds a [ditope](https://polytope.miraheze.org/wiki/Ditope) of a given
/// polytope in place. Does nothing in the case of the nullitope.
Builds a [ditope] of a given
polytope in place. Does nothing in the case of the nullitope.
Builds a [ ditope ] of a given polytope in place . Does nothing in the case of the nullitope .
fn ditope_mut(&mut self) {
        if self.rank() != 0 {
            let rank = self.rank();
            let ranks = &mut self.ranks;
            for v in &mut ranks[rank - 1] {
                v.sups.push(1);
            }
            ranks.max_mut().sups.push(0);
            let max = ranks.max().clone();
            ranks[rank].push(max);
            ranks.push(ElementList::max(2));
        }
    }
fn ditope_mut ( & mut self ) { if self . rank ( ) != 0 { let rank = self . rank ( ) ; let ranks = & mut self . ranks ; for v in & mut ranks [ rank - 1 ] { v . sups . push ( 1 ) ; } ranks . max_mut ( ) . sups . push ( 0 ) ; let max = ranks . max ( ) . clone ( ) ; ranks [ rank ] . push ( max ) ; ranks . push ( ElementList :: max ( 2 ) ) ; } }
Builds a [ditope](https://polytope.miraheze.org/wiki/Ditope) of a given
polytope in place.
Builds a [ ditope ] ( https : // polytope . miraheze . org / wiki / Ditope ) of a given polytope in place .
&mut self