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

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