Class NPPNativeMethods.NPPs.AverageRelativeError
Primitives for computing the AverageRelative error between two signals.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class AverageRelativeError
Methods
nppsAverageRelativeError_16s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit signed short integer AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_16s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_16sc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit unsigned short complex integer AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_16sc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_16u(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit unsigned short integer AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_16u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_32f(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit floating point AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_32f(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_32fc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit floating point complex AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_32fc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_32s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit signed short integer AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_32s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_32sc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit unsigned short complex integer AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_32sc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_32u(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit unsigned short integer AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_32u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_64f(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit floating point AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_64f(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_64fc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit floating point complex AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_64fc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_64s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit signed short integer AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_64s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_64sc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit unsigned short complex integer AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_64sc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_8s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
8-bit signed char AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_8s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeError_8u(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
8-bit unsigned char AverageRelative method.
Declaration
public static NppStatus nppsAverageRelativeError_8u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source signal pointer. |
CUdeviceptr | pSrc2 | Source 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.. |
CUdeviceptr | pDst | Pointer to the error result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppsAverageRelativeErrorGetBufferSize_16s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_16s.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_16s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_16sc(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_16sc.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_16sc(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_16u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_16u.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_16u(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_32f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_32f.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_32f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_32fc(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_32fc.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_32fc(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_32s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_32s.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_32s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_32sc(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_32sc.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_32sc(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_32u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_32u.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_32u(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_64f(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_64f.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_64f(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_64fc(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_64fc.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_64fc(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_64s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_64s.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_64s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_64sc(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_64sc.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_64sc(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_8s(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_8s.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_8s(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsAverageRelativeErrorGetBufferSize_8u(Int32, ref Int32)
Device-buffer size (in bytes) for nppsAverageRelativeError_8u.
Declaration
public static NppStatus nppsAverageRelativeErrorGetBufferSize_8u(int nLength, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
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 | hpBufferSize | Required buffer size. Important: |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |