SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions
shared3p_random.sc File Reference

Functions

template<domain D :shared3p , type T>
D T shuffle (D T[[1]] vec)
 
template<domain D :shared3p >
D fix32 shuffle (D fix32[[1]] vec)
 
template<domain D :shared3p >
D fix64 shuffle (D fix64[[1]] vec)
 
template<domain D :shared3p , type T>
D T shuffle (D T[[1]] vec, D uint8[[1]] key)
 
template<domain D :shared3p >
D fix32 shuffle (D fix32[[1]] vec, D uint8[[1]] key)
 
template<domain D :shared3p >
D fix64 shuffle (D fix64[[1]] vec, D uint8[[1]] key)
 
template<domain D :shared3p , type T>
D T inverseShuffle (D T[[1]] vec, D uint8[[1]] key)
 
template<domain D :shared3p >
D fix32 inverseShuffle (D fix32[[1]] vec, D uint8[[1]] key)
 
template<domain D :shared3p >
D fix64 inverseShuffle (D fix64[[1]] vec, D uint8[[1]] key)
 
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)
 
template<domain D :shared3p , type T>
D T shuffleRows (D T[[2]] mat, D uint8[[1]] key)
 
template<domain D :shared3p >
D fix32 shuffleRows (D fix32[[2]] mat, D uint8[[1]] key)
 
template<domain D :shared3p >
D fix64 shuffleRows (D fix64[[2]] mat, D uint8[[1]] key)
 
template<domain D :shared3p , type T>
D T inverseShuffleRows (D T[[2]] mat, D uint8[[1]] key)
 
template<domain D :shared3p >
D fix32 inverseShuffleRows (D fix32[[2]] mat, D uint8[[1]] key)
 
template<domain D :shared3p >
D fix64 inverseShuffleRows (D fix64[[2]] mat, D uint8[[1]] key)
 
template<domain D :shared3p , type T>
D T shuffleColumns (D T[[2]] mat)
 
template<domain D :shared3p , type T>
D T shuffleColumns (D T[[2]] mat, D uint8[[1]] key)
 
template<domain D :shared3p , type T>
D T inverseShuffleColumns (D T[[2]] mat, D uint8[[1]] key)
 
template<domain D :shared3p , dim N>
D bool randomize (D bool[[N]] arr)
 
template<domain D :shared3p , dim N>
D uint8 randomize (D uint8[[N]] arr)
 
template<domain D :shared3p , dim N>
D uint16 randomize (D uint16[[N]] arr)
 
template<domain D :shared3p , dim N>
D uint32 randomize (D uint32[[N]] arr)
 
template<domain D :shared3p , dim N>
D uint randomize (D uint[[N]] arr)
 
template<domain D :shared3p , dim N>
D int8 randomize (D int8[[N]] arr)
 
template<domain D :shared3p , dim N>
D int16 randomize (D int16[[N]] arr)
 
template<domain D :shared3p , dim N>
D int32 randomize (D int32[[N]] arr)
 
template<domain D :shared3p , dim N>
D int randomize (D int[[N]] arr)
 
template<domain D :shared3p , dim N>
D xor_uint8 randomize (D xor_uint8[[N]] arr)
 
template<domain D :shared3p , dim N>
D xor_uint16 randomize (D xor_uint16[[N]] arr)
 
template<domain D :shared3p , dim N>
D xor_uint32 randomize (D xor_uint32[[N]] arr)
 
template<domain D :shared3p , dim N>
D xor_uint64 randomize (D xor_uint64[[N]] arr)
 
template<domain D :shared3p , dim N>
D fix32 randomize (D fix32[[N]] arr)
 
template<domain D :shared3p , dim N>
D fix64 randomize (D fix64[[N]] arr)