Пример #1
0
        public unsafe override void Absolute(float[] src, ref float[] dest)
        {
            if (src.Length != dest.Length)
            {
                throw new Exception("Length of src is not equal to the length of dest");
            }

            fixed(float *pSrc = src, pDst = dest)
            {
                IPPNative.ippsAbs_32f(pSrc, pDst, src.Length);
            }
        }