|
SecreC 2 language
2.8.0 (2023.09)
Language and standard library reference
|
Functions | |
| template<domain D :shared3p , type T> | |
| D T | unapplyPrivatePermutation (D T[[1]] x, D uint[[1]] p) |
Permute a vector according to a private permutation. Reverses the effect of applyPrivatePermutation.
| x | - vector to be permuted |
| p | - permutation. Output at index p[i] will be x[i]. |
x permuted according to permutation p | D T unapplyPrivatePermutation | ( | D T[[1]] | x, |
| D uint[[1]] | p | ||
| ) |