SecreC 2 language
2.8.0 (2023.09)
Language and standard library reference
|
Functions | |
template<domain D :shared3p , type T> | |
D T | applyPrivatePermutation (D T[[1]] data, D uint[[1]] p) |
Permute a vector according to a private 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 applyPrivatePermutation | ( | D T[[1]] | data, |
D uint[[1]] | p | ||
) |