private static extern int external_reduce_with_callback( Functions.ReduceNativeIntArrayWithFuncDelegate reduceFunc, int[] array, int arraySize);
/// <summary> /// Evaluate a reduce function taking a callback to a custom reducer /// </summary> /// <param name="reduceFunc">A delegate to a reducer function taking an integer array, the integer array size, and a pointer to a reducing function over the integer array</param> /// <param name="array">The integer array</param> /// <param name="arraySize">The size of the integer array</param> public int ExternalReduceWithCallback(Functions.ReduceNativeIntArrayWithFuncDelegate reduceFunc, int[] array, int arraySize) { return(external_reduce_with_callback(reduceFunc, array, arraySize)); }