create_minimum_graph

Function 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.

§Arguments

  • context - context where a minimum graph should be created
  • n - number of elements of an array (i.e., 2n)
  • st - scalar type of array elements

§Returns

Graph that finds the minimum of an array