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