Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 32-bit signed integer in place signal subtract from constant and scale.
/// </summary>
/// <param name="pSrcDst">In-Place Signal Pointer.</param>
/// <param name="nValue">Constant value each vector element is to be subtracted from</param>
/// <param name="nScaleFactor">Integer Result Scaling.</param>
32-bit signed integer in place signal subtract from constant and scale.
32 - bit signed integer in place signal subtract from constant and scale .
public static void SubCRev(this CudaDeviceVariable<int> pSrcDst, int nValue, int nScaleFactor)
		{
			NppStatus status = NPPNativeMethods.NPPs.SubCRev.nppsSubCRev_32s_ISfs(nValue, pSrcDst.DevicePointer, pSrcDst.Size, nScaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsSubCRev_32s_ISfs", status));
			NPPException.CheckNppStatus(status, pSrcDst);
		}
public static void SubCRev ( this CudaDeviceVariable < int > pSrcDst , int nValue , int nScaleFactor ) { NppStatus status = NPPNativeMethods . NPPs . SubCRev . nppsSubCRev_32s_ISfs ( nValue , pSrcDst . DevicePointer , pSrcDst . Size , nScaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrcDst ) ; }
32-bit signed integer in place signal subtract from constant and scale.
32 - bit signed integer in place signal subtract from constant and scale .
CudaDeviceVariable<int>
this
nValue
int
Constant value each vector element is to be subtracted from
Constant value each vector element is to be subtracted from
nScaleFactor
int
Integer Result Scaling.
Integer Result Scaling .
pSrcDst
In-Place Signal Pointer.
In - Place Signal Pointer .