Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 64-bit floating point signal subtract constant.
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="nValue">Constant value to be subtracted from each vector element</param>
/// <param name="pDst">Destination signal pointer.</param>
64-bit floating point signal subtract constant.
64 - bit floating point signal subtract constant .
public static void SubC(this CudaDeviceVariable<double> pSrc, CudaDeviceVariable<double> pDst, double nValue)
		{
			NppStatus status = NPPNativeMethods.NPPs.SubC.nppsSubC_64f(pSrc.DevicePointer, nValue, pDst.DevicePointer, pSrc.Size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsSubC_64f", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void SubC ( this CudaDeviceVariable < double > pSrc , CudaDeviceVariable < double > pDst , double nValue ) { NppStatus status = NPPNativeMethods . NPPs . SubC . nppsSubC_64f ( pSrc . DevicePointer , nValue , pDst . DevicePointer , pSrc . Size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
64-bit floating point signal subtract constant.
64 - bit floating point signal subtract constant .
CudaDeviceVariable<double>
this
pDst
CudaDeviceVariable<double>
Destination signal pointer.
Destination signal pointer .
nValue
double
Constant value to be subtracted from each vector element
Constant value to be subtracted from each vector element
pSrc
Source signal pointer.
Source signal pointer .