Пример #1
0
        public static Array Max(Array arr, out Array idx, int dim = -1)
        {
            IntPtr outPtr;
            IntPtr idxPtr;

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