public unsafe override void Add(float[] src1, float scalar, ref float[] dest) { if (src1.Length != dest.Length) { throw new Exception("Length of src1 is not equal to the length of dest"); } fixed(float *pSrc1 = src1, pDst = dest) { IPPNative.ippsAddC_32f(pSrc1, scalar, pDst, dest.Length); } }