Class NPPNativeMethods.NPPs.NaturalLogarithmSignal
Natural logarithm of each sample of a signal.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class NaturalLogarithmSignal
Methods
nppsLn_16s_ISfs(CUdeviceptr, Int32, Int32)
16-bit signed short signal natural logarithm, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsLn_16s_ISfs(CUdeviceptr pSrcDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsLn_16s_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
16-bit signed short signal natural logarithm, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsLn_16s_Sfs(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsLn_32f(CUdeviceptr, CUdeviceptr, Int32)
32-bit floating point signal natural logarithm.
Declaration
public static NppStatus nppsLn_32f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
Returns
Type | Description |
---|---|
NppStatus |
nppsLn_32f_I(CUdeviceptr, Int32)
32-bit floating point signal natural logarithm.
Declaration
public static NppStatus nppsLn_32f_I(CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
Returns
Type | Description |
---|---|
NppStatus |
nppsLn_32s_ISfs(CUdeviceptr, Int32, Int32)
32-bit signed integer signal natural logarithm, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsLn_32s_ISfs(CUdeviceptr pSrcDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsLn_32s_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
32-bit signed integer signal natural logarithm, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsLn_32s_Sfs(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsLn_32s16s_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
32-bit signed integer signal natural logarithm, scale, then clamp to 16-bit signed short saturated value.
Declaration
public static NppStatus nppsLn_32s16s_Sfs(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength, int nScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
System.Int32 | nScaleFactor | Integer Result Scaling. |
Returns
Type | Description |
---|---|
NppStatus |
nppsLn_64f(CUdeviceptr, CUdeviceptr, Int32)
64-bit floating point signal natural logarithm.
Declaration
public static NppStatus nppsLn_64f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
Returns
Type | Description |
---|---|
NppStatus |
nppsLn_64f_I(CUdeviceptr, Int32)
64-bit floating point signal natural logarithm.
Declaration
public static NppStatus nppsLn_64f_I(CUdeviceptr pSrcDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
Returns
Type | Description |
---|---|
NppStatus |
nppsLn_64f32f(CUdeviceptr, CUdeviceptr, Int32)
64-bit floating point signal natural logarithm with 32-bit floating point result.
Declaration
public static NppStatus nppsLn_64f32f(CUdeviceptr pSrc, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
CUdeviceptr | pDst | Destination signal pointer. |
System.Int32 | nLength | Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed.. |
Returns
Type | Description |
---|---|
NppStatus |