示例#1
0
        public unsafe override void Absolute(double[] src, ref double[] dest)
        {
            if (src.Length != dest.Length)
            {
                throw new Exception("Length of src is not equal to the length of dest");
            }

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