SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions

Functions

template<domain D :shared3p , type T>
D T shuffleRows (D T[[2]] mat)
 
template<domain D :shared3p >
D fix32 shuffleRows (D fix32[[2]] mat)
 
template<domain D :shared3p >
D fix64 shuffleRows (D fix64[[2]] mat)
 

Detailed Description

Function for shuffling rows in a matrix.

Note
D - shared3p protection domain
Returns
returns a matrix with shuffled rows
Leakage
None

Function Documentation

◆ shuffleRows() [1/3]

D fix32 shuffleRows ( D fix32[[2]]  mat)

◆ shuffleRows() [2/3]

D fix64 shuffleRows ( D fix64[[2]]  mat)

◆ shuffleRows() [3/3]

D T shuffleRows ( D T[[2]]  mat)
Note
T - any data type
Parameters
mat- a matrix of any type