Selection operation
MIN
Bounds checks, ranking, scoring, and private selection.
Signature
| Raw symbols | FHE16_MIN |
|---|---|
| Example | int32_t* out = FHE16_MIN(a, b); |
Caller
Bounds checks, ranking, scoring, and private selection.
Circuit Path
Homomorphic pathMAXorMIN with min flag, combining compare and encrypted selection.
Input, Output, Ownership
| Output | n-bit integer ciphertext. |
|---|---|
| Ownership | Returned ciphertext is caller-owned. |
| Implementation baseline | FHE16Ver6/include/soAPI/soAPI.hpp and FHE16Ver6/src/soAPI/soAPI.cpp |
C Example
int32_t* out = FHE16_MIN(a, b);
FHE16_Free(out);