|
| template<domain D> |
| D bool | matrixLookupColumn (D bool[[2]] mat, D uint colIndex) |
| |
| template<domain D> |
| D uint8 | matrixLookupColumn (D uint8[[2]] mat, D uint colIndex) |
| |
| template<domain D> |
| D uint16 | matrixLookupColumn (D uint16[[2]] mat, D uint colIndex) |
| |
| template<domain D> |
| D uint32 | matrixLookupColumn (D uint32[[2]] mat, D uint colIndex) |
| |
| template<domain D> |
| D uint | matrixLookupColumn (D uint[[2]] mat, D uint colIndex) |
| |
| template<domain D> |
| D int8 | matrixLookupColumn (D int8[[2]] mat, D uint colIndex) |
| |
| template<domain D> |
| D int16 | matrixLookupColumn (D int16[[2]] mat, D uint colIndex) |
| |
| template<domain D> |
| D int32 | matrixLookupColumn (D int32[[2]] mat, D uint colIndex) |
| |
| template<domain D> |
| D int | matrixLookupColumn (D int[[2]] mat, D uint colIndex) |
| |
| template<domain D> |
| D float32 | matrixLookupColumn (D float32[[2]] mat, D uint colIndex) |
| |
| template<domain D> |
| D float64 | matrixLookupColumn (D float64[[2]] mat, D uint colIndex) |
| |
Function for obliviously looking up a column 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 |
| colIndex | - an uint type scalar for specifying the column of the input matrix to look up |
- Returns
- returns the column from the input matrix specified by colIndex
- Leakage
- None
◆ matrixLookupColumn() [1/11]
| D bool matrixLookupColumn |
( |
D bool[[2]] |
mat, |
|
|
D uint |
colIndex |
|
) |
| |
◆ matrixLookupColumn() [2/11]
| D float32 matrixLookupColumn |
( |
D float32[[2]] |
mat, |
|
|
D uint |
colIndex |
|
) |
| |
◆ matrixLookupColumn() [3/11]
| D float64 matrixLookupColumn |
( |
D float64[[2]] |
mat, |
|
|
D uint |
colIndex |
|
) |
| |
◆ matrixLookupColumn() [4/11]
| D int16 matrixLookupColumn |
( |
D int16[[2]] |
mat, |
|
|
D uint |
colIndex |
|
) |
| |
◆ matrixLookupColumn() [5/11]
| D int32 matrixLookupColumn |
( |
D int32[[2]] |
mat, |
|
|
D uint |
colIndex |
|
) |
| |
◆ matrixLookupColumn() [6/11]
| D int8 matrixLookupColumn |
( |
D int8[[2]] |
mat, |
|
|
D uint |
colIndex |
|
) |
| |
◆ matrixLookupColumn() [7/11]
| D int matrixLookupColumn |
( |
D int[[2]] |
mat, |
|
|
D uint |
colIndex |
|
) |
| |
◆ matrixLookupColumn() [8/11]
| D uint16 matrixLookupColumn |
( |
D uint16[[2]] |
mat, |
|
|
D uint |
colIndex |
|
) |
| |
◆ matrixLookupColumn() [9/11]
| D uint32 matrixLookupColumn |
( |
D uint32[[2]] |
mat, |
|
|
D uint |
colIndex |
|
) |
| |
◆ matrixLookupColumn() [10/11]
| D uint8 matrixLookupColumn |
( |
D uint8[[2]] |
mat, |
|
|
D uint |
colIndex |
|
) |
| |
◆ matrixLookupColumn() [11/11]
| D uint matrixLookupColumn |
( |
D uint[[2]] |
mat, |
|
|
D uint |
colIndex |
|
) |
| |