public unsafe override void Add(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.ippsAdd_16s_I(pSrc, pSrcDst, src2.Length); } }