Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 32-bit integer complex number (32 bit real, 32 bit imaginary)signal subtract constant
/// and scale.
/// </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>
/// <param name="nScaleFactor">Integer Result Scaling.</param>
32-bit integer complex number (32 bit real, 32 bit imaginary)signal subtract constant
and scale.
32 - bit integer complex number ( 32 bit real 32 bit imaginary ) signal subtract constant and scale .
public static void SubC(this CudaDeviceVariable<Npp32sc> pSrc, CudaDeviceVariable<Npp32sc> pDst, Npp32sc nValue, int nScaleFactor)
		{
			NppStatus status = NPPNativeMethods.NPPs.SubC.nppsSubC_32sc_Sfs(pSrc.DevicePointer, nValue, pDst.DevicePointer, pSrc.Size, nScaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsSubC_32sc_Sfs", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void SubC ( this CudaDeviceVariable < Npp32sc > pSrc , CudaDeviceVariable < Npp32sc > pDst , Npp32sc nValue , int nScaleFactor ) { NppStatus status = NPPNativeMethods . NPPs . SubC . nppsSubC_32sc_Sfs ( pSrc . DevicePointer , nValue , pDst . DevicePointer , pSrc . Size , nScaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
32-bit integer complex number (32 bit real, 32 bit imaginary)signal subtract constant
and scale.
32 - bit integer complex number ( 32 bit real 32 bit imaginary ) signal subtract constant and scale .
CudaDeviceVariable<Npp32sc>
this
pDst
CudaDeviceVariable<Npp32sc>
Destination signal pointer.
Destination signal pointer .
nValue
Npp32sc
Constant value to be subtracted from each vector element
Constant value to be subtracted from each vector element
nScaleFactor
int
Integer Result Scaling.
Integer Result Scaling .
pSrc
Source signal pointer.
Source signal pointer .