Ejemplo n.º 1
0
        public static Array ScanByKey(Array key, Array arr, int dim, af_binary_op op, bool inclusive_scan = true)
        {
            IntPtr ptr;

            Internal.VERIFY(AFAlgorithm.af_scan_by_key(out ptr, key._ptr, arr._ptr, getFNSD(dim, arr.Dimensions), op, inclusive_scan));
            return(new Array(ptr));
        }
Ejemplo n.º 2
0
 public static extern af_err af_scan_by_key(out IntPtr array_out, IntPtr array_key, IntPtr array_in, int dim, af_binary_op op, bool inclusive_scan);