Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 64-bit floating point signal normalize.
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pDst">Destination signal pointer.</param>
/// <param name="vSub">value subtracted from each signal element before division</param>
/// <param name="vDiv">divisor of post-subtracted signal element dividend</param>
64-bit floating point signal normalize.
64 - bit floating point signal normalize .
public static void Normalize(this CudaDeviceVariable<double> pSrc, CudaDeviceVariable<double> pDst, double vSub, double vDiv)
		{
			NppStatus status = NPPNativeMethods.NPPs.NormalizeSignal.nppsNormalize_64f(pSrc.DevicePointer, pDst.DevicePointer, pSrc.Size, vSub, vDiv);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsNormalize_64f", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void Normalize ( this CudaDeviceVariable < double > pSrc , CudaDeviceVariable < double > pDst , double vSub , double vDiv ) { NppStatus status = NPPNativeMethods . NPPs . NormalizeSignal . nppsNormalize_64f ( pSrc . DevicePointer , pDst . DevicePointer , pSrc . Size , vSub , vDiv ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
64-bit floating point signal normalize.
64 - bit floating point signal normalize .
CudaDeviceVariable<double>
this
<not_specific>
pDst
CudaDeviceVariable<double>
Destination signal pointer.
Destination signal pointer .
vSub
double
value subtracted from each signal element before division
value subtracted from each signal element before division
vDiv
double
divisor of post-subtracted signal element dividend
divisor of post - subtracted signal element dividend
pSrc
<not_specific>
Source signal pointer.
Source signal pointer .