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