Class NPPNativeMethods.NPPs.SquareRootSignal
Square root of each sample of a signal.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class SquareRootSignal
Methods
nppsSqrt_16s_ISfs(CUdeviceptr, Int32, Int32)
16-bit signed short signal square root, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsSqrt_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 |
nppsSqrt_16s_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
16-bit signed short signal square root, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsSqrt_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 |
nppsSqrt_16sc_ISfs(CUdeviceptr, Int32, Int32)
16-bit complex signed short signal square root, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsSqrt_16sc_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 |
nppsSqrt_16sc_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
16-bit complex signed short signal square root, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsSqrt_16sc_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 |
nppsSqrt_16u_ISfs(CUdeviceptr, Int32, Int32)
16-bit unsigned short signal square root, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsSqrt_16u_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 |
nppsSqrt_16u_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
16-bit unsigned short signal square root, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsSqrt_16u_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 |
nppsSqrt_32f(CUdeviceptr, CUdeviceptr, Int32)
32-bit floating point signal square root.
Declaration
public static NppStatus nppsSqrt_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 |
nppsSqrt_32f_I(CUdeviceptr, Int32)
32-bit floating point signal square root.
Declaration
public static NppStatus nppsSqrt_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 |
nppsSqrt_32fc(CUdeviceptr, CUdeviceptr, Int32)
32-bit complex floating point signal square root.
Declaration
public static NppStatus nppsSqrt_32fc(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 |
nppsSqrt_32fc_I(CUdeviceptr, Int32)
32-bit complex floating point signal square root.
Declaration
public static NppStatus nppsSqrt_32fc_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 |
nppsSqrt_32s16s_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
32-bit signed integer signal square root, scale, then clamp to 16-bit signed integer saturated value.
Declaration
public static NppStatus nppsSqrt_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 |
nppsSqrt_64f(CUdeviceptr, CUdeviceptr, Int32)
64-bit floating point signal square root.
Declaration
public static NppStatus nppsSqrt_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 |
nppsSqrt_64f_I(CUdeviceptr, Int32)
64-bit floating point signal square root.
Declaration
public static NppStatus nppsSqrt_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 |
nppsSqrt_64fc(CUdeviceptr, CUdeviceptr, Int32)
64-bit complex floating point signal square root.
Declaration
public static NppStatus nppsSqrt_64fc(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 |
nppsSqrt_64fc_I(CUdeviceptr, Int32)
64-bit complex floating point signal square root.
Declaration
public static NppStatus nppsSqrt_64fc_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 |
nppsSqrt_64s_ISfs(CUdeviceptr, Int32, Int32)
64-bit signed integer signal square root, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsSqrt_64s_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 |
nppsSqrt_64s_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
64-bit signed integer signal square root, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsSqrt_64s_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 |
nppsSqrt_64s16s_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
64-bit signed integer signal square root, scale, then clamp to 16-bit signed integer saturated value.
Declaration
public static NppStatus nppsSqrt_64s16s_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 |
nppsSqrt_8u_ISfs(CUdeviceptr, Int32, Int32)
8-bit unsigned char signal square root, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsSqrt_8u_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 |
nppsSqrt_8u_Sfs(CUdeviceptr, CUdeviceptr, Int32, Int32)
8-bit unsigned char signal square root, scale, then clamp to saturated value.
Declaration
public static NppStatus nppsSqrt_8u_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 |