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

Functions

template<domain D, type T>
D T max (D T[[1]] x, D T[[1]] y)
 

Detailed Description

Function for finding the pointwise maximum of two input vectors.

Note
D - all protection domains
Supported types - bool / uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int
Parameters
x,y- input vectors of supported type
Returns
return the pointwise maximum of the two input vectors
Leakage
None

Function Documentation

◆ max()

D T max ( D T[[1]]  x,
D T[[1]]  y 
)