Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 64-bit in place floating point signal NPP_CMP_LESS threshold with constant level.
/// </summary>
/// <param name="pSrcDst">In-Place Signal Pointer.</param>
/// <param name="nLevel">Constant threshold value to be used to limit each signal sample</param>
/// <param name="nValue">Constant value to replace source value when threshold test is true.</param>
64-bit in place floating point signal NPP_CMP_LESS threshold with constant level.
64 - bit in place floating point signal NPP_CMP_LESS threshold with constant level .
public static void Threshold_LTVal(this CudaDeviceVariable<double> pSrcDst, double nLevel, double nValue)
		{
			NppStatus status = NPPNativeMethods.NPPs.Threshold.nppsThreshold_LTVal_64f_I(pSrcDst.DevicePointer, pSrcDst.Size, nLevel, nValue);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsThreshold_LTVal_64f_I", status));
			NPPException.CheckNppStatus(status, pSrcDst);
		}
public static void Threshold_LTVal ( this CudaDeviceVariable < double > pSrcDst , double nLevel , double nValue ) { NppStatus status = NPPNativeMethods . NPPs . Threshold . nppsThreshold_LTVal_64f_I ( pSrcDst . DevicePointer , pSrcDst . Size , nLevel , nValue ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrcDst ) ; }
64-bit in place floating point signal NPP_CMP_LESS threshold with constant level.
64 - bit in place floating point signal NPP_CMP_LESS threshold with constant level .
CudaDeviceVariable<double>
this
<not_specific>
nLevel
double
Constant threshold value to be used to limit each signal sample
Constant threshold value to be used to limit each signal sample
nValue
double
Constant value to replace source value when threshold test is true.
Constant value to replace source value when threshold test is true .
pSrcDst
<not_specific>
In-Place Signal Pointer.
In - Place Signal Pointer .