SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions
max(parts)

Functions

template<domain D, type T>
D T max (D T[[1]] vec, uint k)
 

Detailed Description

Function for finding the maximum value of the input in specified parts.

Note
Supported types - bool / uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int
Parameters
vec- a vector of supported type
k- an uint type value for specifying from how many subarrays max must be found
Returns
returns the maximum value of every subarray in the input
Leakage
None

Function Documentation

◆ max()

D T max ( D T[[1]]  vec,
uint  k 
)