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