public unsafe override void ASin(double[] value, ref double[] returnValue) { if (value.Length != returnValue.Length) { throw new Exception("Length of src is not equal to the length of dest"); } fixed(double *pSrc = value, pDst = returnValue) { IPPNative.ippsAsin_64f_A53(pSrc, pDst, 1); } }
public unsafe override void ASin(double value, ref double returnValue) { double[] input = new double[1] { value }; double[] output = new double[1] { returnValue }; fixed(double *pSrc = input, pDst = output) { IPPNative.ippsAsin_64f_A53(pSrc, pDst, 1); } }