Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 32-bit signed integer signal natural logarithm, scale, then clamp to 16-bit signed short saturated value.
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pDst">Destination signal pointer.</param>
/// <param name="nScaleFactor">Integer Result Scaling.</param>
32-bit signed integer signal natural logarithm, scale, then clamp to 16-bit signed short saturated value.
32 - bit signed integer signal natural logarithm scale then clamp to 16 - bit signed short saturated value .
public static void Ln(this CudaDeviceVariable<int> pSrc, CudaDeviceVariable<short> pDst, int nScaleFactor)
		{
			NppStatus status = NPPNativeMethods.NPPs.NaturalLogarithmSignal.nppsLn_32s16s_Sfs(pSrc.DevicePointer, pDst.DevicePointer, pSrc.Size, nScaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsLn_32s16s_Sfs", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void Ln ( this CudaDeviceVariable < int > pSrc , CudaDeviceVariable < short > pDst , int nScaleFactor ) { NppStatus status = NPPNativeMethods . NPPs . NaturalLogarithmSignal . nppsLn_32s16s_Sfs ( pSrc . DevicePointer , pDst . DevicePointer , pSrc . Size , nScaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
32-bit signed integer signal natural logarithm, scale, then clamp to 16-bit signed short saturated value.
32 - bit signed integer signal natural logarithm scale then clamp to 16 - bit signed short saturated value .
CudaDeviceVariable<int>
this
pDst
CudaDeviceVariable<short>
Destination signal pointer.
Destination signal pointer .
nScaleFactor
int
Integer Result Scaling.
Integer Result Scaling .
pSrc
Source signal pointer.
Source signal pointer .