|
| template<domain D :shared3p , type T> |
| D T | max (D T x) |
| |
| template<domain D :shared3p > |
| D uint8 | max (D uint8 x) |
| |
| template<domain D :shared3p > |
| D uint16 | max (D uint16 x) |
| |
| template<domain D :shared3p > |
| D uint32 | max (D uint32 x) |
| |
| template<domain D :shared3p > |
| D uint | max (D uint x) |
| |
| template<domain D :shared3p > |
| D int8 | max (D int8 x) |
| |
| template<domain D :shared3p > |
| D int16 | max (D int16 x) |
| |
| template<domain D :shared3p > |
| D int32 | max (D int32 x) |
| |
| template<domain D :shared3p > |
| D int | max (D int x) |
| |
| template<domain D :shared3p > |
| D float32 | max (D float32 x) |
| |
| template<domain D :shared3p > |
| D float64 | max (D float64 x) |
| |
| template<domain D :shared3p > |
| D xor_uint8 | max (D xor_uint8 x) |
| |
| template<domain D :shared3p > |
| D xor_uint16 | max (D xor_uint16 x) |
| |
| template<domain D :shared3p > |
| D xor_uint32 | max (D xor_uint32 x) |
| |
| template<domain D :shared3p > |
| D xor_uint64 | max (D xor_uint64 x) |
| |
| template<domain D :shared3p > |
| D fix32 | max (D fix32 x) |
| |
| template<domain D :shared3p > |
| D fix64 | max (D fix64 x) |
| |
Function for finding the maximum element of the input vector.
- Note
- D - shared3p protection domain
-
Supported types - uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int / xor_uint8 / xor_uint16 / xor_uint32 / xor_uint64
- Parameters
-
- Returns
- maximum element of the input vector
- Precondition
- input vector is not empty
- Leakage
- None
◆ max() [1/17]
template<domain D :shared3p >
◆ max() [2/17]
template<domain D :shared3p >
◆ max() [3/17]
template<domain D :shared3p >
| D float32 max |
( |
D float32 |
x | ) |
|
◆ max() [4/17]
template<domain D :shared3p >
| D float64 max |
( |
D float64 |
x | ) |
|
◆ max() [5/17]
template<domain D :shared3p >
◆ max() [6/17]
template<domain D :shared3p >
◆ max() [7/17]
template<domain D :shared3p >
◆ max() [8/17]
template<domain D :shared3p >
◆ max() [9/17]
template<domain D :shared3p , type T>
◆ max() [10/17]
template<domain D :shared3p >
◆ max() [11/17]
template<domain D :shared3p >
| D uint16 max |
( |
D uint16 |
x | ) |
|
◆ max() [12/17]
template<domain D :shared3p >
| D uint32 max |
( |
D uint32 |
x | ) |
|
◆ max() [13/17]
template<domain D :shared3p >
◆ max() [14/17]
template<domain D :shared3p >
| D xor_uint16 max |
( |
D xor_uint16 |
x | ) |
|
◆ max() [15/17]
template<domain D :shared3p >
| D xor_uint32 max |
( |
D xor_uint32 |
x | ) |
|
◆ max() [16/17]
template<domain D :shared3p >
| D xor_uint64 max |
( |
D xor_uint64 |
x | ) |
|
◆ max() [17/17]
template<domain D :shared3p >
| D xor_uint8 max |
( |
D xor_uint8 |
x | ) |
|