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

Functions

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

Detailed Description

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

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

Function Documentation

◆ min()

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