Esempio n. 1
0
        public unsafe override void Add(ref double[] srcDest, double[] src2)
        {
            if (srcDest.Length != src2.Length)
            {
                throw new Exception("Length of src2 is not equal to the length of srcDest");
            }

            fixed(double *pSrc = src2, pSrcDst = srcDest)
            {
                IPPNative.ippsAdd_64f_I(pSrc, pSrcDst, src2.Length);
            }
        }