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

Functions

template<domain D>
D uint64 radixSort (D uint64 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()

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