public unsafe override void FindMaxMin(double[] src, out double maxValue, out double minValue, out int maxIdx, out int minIdx) { double[] max = new double[1]; double[] min = new double[1]; int[] maxIndex = new int[1]; int[] minIndex = new int[1]; fixed(double *pSrc = src, pMin = min, pMax = max) { fixed(int *pMinIdx = minIndex, pMaxIdx = maxIndex) { IPPNative.ippsMinMaxIndx_64f(pSrc, src.Length, pMin, pMinIdx, pMax, pMaxIdx); } } maxValue = max[0]; minValue = min[0]; maxIdx = maxIndex[0]; minIdx = minIndex[0]; }