|
| template<domain D :shared3p > |
| D uint8 | max (D uint8 x, uint k) |
| |
| template<domain D :shared3p > |
| D uint16 | max (D uint16 x, uint k) |
| |
| template<domain D :shared3p > |
| D uint32 | max (D uint32 x, uint k) |
| |
| template<domain D :shared3p > |
| D uint | max (D uint x, uint k) |
| |
| template<domain D :shared3p > |
| D int8 | max (D int8 x, uint k) |
| |
| template<domain D :shared3p > |
| D int16 | max (D int16 x, uint k) |
| |
| template<domain D :shared3p > |
| D int32 | max (D int32 x, uint k) |
| |
| template<domain D :shared3p > |
| D int | max (D int x, uint k) |
| |
| template<domain D :shared3p > |
| D fix32 | max (D fix32 x, uint k) |
| |
| template<domain D :shared3p > |
| D fix64 | max (D fix64 x, uint k) |
| |
Function for finding the maximum element in the specified parts of the vector.
- Note
- D - shared3p protection domain
-
Supported types - uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int
- Parameters
-
| x | - input vector |
| k | - an uint type value, which specifies into how many subarrays must the input array be divided |
- Returns
- a vector with all the maximum elements of all the subarrays specified by k
- Precondition
- input vector is not empty
-
the size of the input array is dividable by k
- Leakage
- None
◆ max() [1/10]
template<domain D :shared3p >
| D fix32 max |
( |
D fix32 |
x, |
|
|
uint |
k |
|
) |
| |
◆ max() [2/10]
template<domain D :shared3p >
| D fix64 max |
( |
D fix64 |
x, |
|
|
uint |
k |
|
) |
| |
◆ max() [3/10]
template<domain D :shared3p >
| D int max |
( |
D int |
x, |
|
|
uint |
k |
|
) |
| |
◆ max() [4/10]
template<domain D :shared3p >
| D int16 max |
( |
D int16 |
x, |
|
|
uint |
k |
|
) |
| |
◆ max() [5/10]
template<domain D :shared3p >
| D int32 max |
( |
D int32 |
x, |
|
|
uint |
k |
|
) |
| |
◆ max() [6/10]
template<domain D :shared3p >
| D int8 max |
( |
D int8 |
x, |
|
|
uint |
k |
|
) |
| |
◆ max() [7/10]
template<domain D :shared3p >
| D uint max |
( |
D uint |
x, |
|
|
uint |
k |
|
) |
| |
◆ max() [8/10]
template<domain D :shared3p >
| D uint16 max |
( |
D uint16 |
x, |
|
|
uint |
k |
|
) |
| |
◆ max() [9/10]
template<domain D :shared3p >
| D uint32 max |
( |
D uint32 |
x, |
|
|
uint |
k |
|
) |
| |
◆ max() [10/10]
template<domain D :shared3p >
| D uint8 max |
( |
D uint8 |
x, |
|
|
uint |
k |
|
) |
| |