コード例 #1
0
        public static Array Min(Array arr, out Array idx, int dim = -1)
        {
            IntPtr outPtr;
            IntPtr idxPtr;

            Internal.VERIFY(AFAlgorithm.af_imin(out outPtr, out idxPtr, arr._ptr, getFNSD(dim, arr.Dimensions)));
            idx = new Array(idxPtr);
            return(new Array(outPtr));
        }