SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
Functions
unapplyPublicPermutationCols

Functions

template<domain D :shared3p , type T>
D T unapplyPublicPermutationCols (D T X, uint p)
 

Detailed Description

Permute matrix columns according to a public permutation. Reverses the effect of applyPublicPermutationCols.

Note
D - shared3p protection domain
Supported types - bool / uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int / float32 / float64 / fix32 / fix64
Parameters
X- matrix to be permuted
p- permutation. Output column at index p[i] will be X[:, i].
Returns
X where columns have been permuted according to permutation p
Leakage
None

Function Documentation

◆ unapplyPublicPermutationCols()

template<domain D :shared3p , type T>
D T unapplyPublicPermutationCols ( D T  X,
uint  p 
)