|
template<domain D> |
D bool | matrixLookupRow (D bool[[2]] mat, D uint rowIndex) |
|
template<domain D> |
D uint8 | matrixLookupRow (D uint8[[2]] mat, D uint rowIndex) |
|
template<domain D> |
D uint16 | matrixLookupRow (D uint16[[2]] mat, D uint rowIndex) |
|
template<domain D> |
D uint32 | matrixLookupRow (D uint32[[2]] mat, D uint rowIndex) |
|
template<domain D> |
D uint | matrixLookupRow (D uint[[2]] mat, D uint rowIndex) |
|
template<domain D> |
D int8 | matrixLookupRow (D int8[[2]] mat, D uint rowIndex) |
|
template<domain D> |
D int16 | matrixLookupRow (D int16[[2]] mat, D uint rowIndex) |
|
template<domain D> |
D int32 | matrixLookupRow (D int32[[2]] mat, D uint rowIndex) |
|
template<domain D> |
D int | matrixLookupRow (D int[[2]] mat, D uint rowIndex) |
|
template<domain D> |
D float32 | matrixLookupRow (D float32[[2]] mat, D uint rowIndex) |
|
template<domain D> |
D float64 | matrixLookupRow (D float64[[2]] mat, D uint rowIndex) |
|
Function for obliviously looking up a row in a matrix.
- Note
- D - all protection domains
-
Supported types - bool / uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int / float32 / float64
- Parameters
-
mat | - a 2-dimensional matrix of supported type |
rowIndex | - an uint type scalar for specifying the row of the input matrix to look up |
- Returns
- returns the row from the input matrix specified by rowIndex
- Leakage
- None
◆ matrixLookupRow() [1/11]
D bool matrixLookupRow |
( |
D bool[[2]] |
mat, |
|
|
D uint |
rowIndex |
|
) |
| |
◆ matrixLookupRow() [2/11]
D float32 matrixLookupRow |
( |
D float32[[2]] |
mat, |
|
|
D uint |
rowIndex |
|
) |
| |
◆ matrixLookupRow() [3/11]
D float64 matrixLookupRow |
( |
D float64[[2]] |
mat, |
|
|
D uint |
rowIndex |
|
) |
| |
◆ matrixLookupRow() [4/11]
D int16 matrixLookupRow |
( |
D int16[[2]] |
mat, |
|
|
D uint |
rowIndex |
|
) |
| |
◆ matrixLookupRow() [5/11]
D int32 matrixLookupRow |
( |
D int32[[2]] |
mat, |
|
|
D uint |
rowIndex |
|
) |
| |
◆ matrixLookupRow() [6/11]
D int8 matrixLookupRow |
( |
D int8[[2]] |
mat, |
|
|
D uint |
rowIndex |
|
) |
| |
◆ matrixLookupRow() [7/11]
D int matrixLookupRow |
( |
D int[[2]] |
mat, |
|
|
D uint |
rowIndex |
|
) |
| |
◆ matrixLookupRow() [8/11]
D uint16 matrixLookupRow |
( |
D uint16[[2]] |
mat, |
|
|
D uint |
rowIndex |
|
) |
| |
◆ matrixLookupRow() [9/11]
D uint32 matrixLookupRow |
( |
D uint32[[2]] |
mat, |
|
|
D uint |
rowIndex |
|
) |
| |
◆ matrixLookupRow() [10/11]
D uint8 matrixLookupRow |
( |
D uint8[[2]] |
mat, |
|
|
D uint |
rowIndex |
|
) |
| |
◆ matrixLookupRow() [11/11]
D uint matrixLookupRow |
( |
D uint[[2]] |
mat, |
|
|
D uint |
rowIndex |
|
) |
| |