Function ciphercore_base::applications::minimum::create_minimum_graph
source · [−]pub fn create_minimum_graph(
context: Context,
n: u64,
st: ScalarType
) -> Result<Graph>Expand description
Creates a graph that finds the minimum of an array.
Minimum works only for arrays with unsigned scalar values.
Arguments
context- context where a minimum graph should be createdn- number of elements of an array (i.e., 2n)st- scalar type of array elements
Returns
Graph that finds the minimum of an array