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