Module storage_proofs_core::gadgets::insertion [−][src]
Expand description
Insertion Permutation
Insert an AllocatedNum
into a sequence of AllocatedNums
at an arbitrary position.
This can be thought of as a generalization of AllocatedNum::conditionally_reverse
and reduces to it in the binary case.
Functions
insert | Insert |
insert_2 | |
insert_4 | |
insert_8 | |
pick | Takes two allocated numbers ( |
select | Select the nth element of |