Class NPPNativeMethods.NPPs.Cauchy
Determine Cauchy robust error function and its first and second derivatives for each sample of a signal.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Cauchy
Methods
nppsCauchy_32f_I(CUdeviceptr, Int32, Single)
32-bit floating point signal Cauchy error calculation.
Declaration
public static NppStatus nppsCauchy_32f_I(CUdeviceptr pSrcDst, int nLength, float nParam)
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.Single | nParam | constant used in Cauchy formula |
Returns
Type | Description |
---|---|
NppStatus |
nppsCauchyD_32f_I(CUdeviceptr, Int32, Single)
32-bit floating point signal Cauchy first derivative.
Declaration
public static NppStatus nppsCauchyD_32f_I(CUdeviceptr pSrcDst, int nLength, float nParam)
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.Single | nParam | constant used in Cauchy formula |
Returns
Type | Description |
---|---|
NppStatus |
nppsCauchyDD2_32f_I(CUdeviceptr, CUdeviceptr, Int32, Single)
32-bit floating point signal Cauchy first and second derivatives.
Declaration
public static NppStatus nppsCauchyDD2_32f_I(CUdeviceptr pSrcDst, CUdeviceptr pD2FVal, int nLength, float nParam)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Signal Pointer. |
CUdeviceptr | pD2FVal | Source signal pointer. This signal contains the second derivative |
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.Single | nParam | constant used in Cauchy formula |
Returns
Type | Description |
---|---|
NppStatus |