Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 16-bit signed short signal square root, scale, then clamp to saturated value.
/// </summary>
/// <param name="pSrcDst">In-Place Signal Pointer.</param>
/// <param name="nScaleFactor">Integer Result Scaling.</param>
16-bit signed short signal square root, scale, then clamp to saturated value.
16 - bit signed short signal square root scale then clamp to saturated value .
public static void Sqrt(this CudaDeviceVariable<short> pSrcDst, int nScaleFactor)
		{
			NppStatus status = NPPNativeMethods.NPPs.SquareRootSignal.nppsSqrt_16s_ISfs(pSrcDst.DevicePointer, pSrcDst.Size, nScaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsSqrt_16s_ISfs", status));
			NPPException.CheckNppStatus(status, pSrcDst);
		}
public static void Sqrt ( this CudaDeviceVariable < short > pSrcDst , int nScaleFactor ) { NppStatus status = NPPNativeMethods . NPPs . SquareRootSignal . nppsSqrt_16s_ISfs ( pSrcDst . DevicePointer , pSrcDst . Size , nScaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrcDst ) ; }
16-bit signed short signal square root, scale, then clamp to saturated value.
16 - bit signed short signal square root scale then clamp to saturated value .
CudaDeviceVariable<short>
this
nScaleFactor
int
Integer Result Scaling.
Integer Result Scaling .
pSrcDst
In-Place Signal Pointer.
In - Place Signal Pointer .