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

Functions

template<domain D>
D uint64 radixSort (D uint64[[2]] array, uint column1)
 

Detailed Description

Functions for sorting rows in a matrix using the radix sort algorithm.

Note
D - all protection domains
Supported types - uint / xor_uint64
Parameters
array- a vector of supported type
column- the index of the sorting column
Returns
returns a matrix where the rows are sorted based on the column given
Leakage
Shuffled reordering decisions are declassified

Function Documentation

◆ radixSort()

D uint64 radixSort ( D uint64[[2]]  array,
uint  column1 
)