invVec for compiled code: the same scatter pass as a Fin.foldl, with no
intermediate list. It starts from p's own image vector rather than the
identity, since the pass writes every position.
Equations
- p.invVecImpl = Fin.foldl n p.scatterStep p.vec
Instances For
A scatter pass over every point writes every position, so its result does not depend on the starting vector.
Perm.inv for compiled code.
Equations
- p.invImpl = { vec := p.invVecImpl, nodup := ⋯, complete := ⋯ }