// Perm that applies self then other.
Perm that applies self then other.
Perm that applies self then other .
fn then(&self, other: &PermVec) -> PermVec
    {
        assert_eq!(self.0.len(), other.0.len(), "Incorrect permutation length");
        let mut out = vec![::std::usize::MAX; self.0.len()];
        for (out_i, &self_i) in other.0.iter().enumerate() {
            out[out_i] = self.0[self_i];
        }
        PermVec(out).debug_validated()
    }
fn then ( & self , other : & PermVec ) -> PermVec { assert_eq ! ( self 0 len ( ) other 0 len ( ) " " ) ; let mut out = vec ! [ std usize MAX self 0 len ( ) ] ; for ( out_i , & self_i ) in other . 0 . iter ( ) . enumerate ( ) { out [ out_i ] = self . 0 [ self_i ] ; } PermVec ( out ) . debug_validated ( ) }
Perm that applies self then other.
Perm that applies self then other .
&self
other
&PermVec