Show / Hide Table of Contents

    Class NPPNativeMethods.NPPs.MeanStdDev

    Mean and StdDev

    Inheritance
    System.Object
    NPPNativeMethods.NPPs.MeanStdDev
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ManagedCuda.NPP
    Assembly: NPP.dll
    Syntax
    public static class MeanStdDev

    Methods

    nppsMean_16s_Sfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr)

    16-bit short vector mean with integer scaling method

    Declaration
    public static NppStatus nppsMean_16s_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pMean, int nScaleFactor, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pMean

    Pointer to the output result.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMean_16sc_Sfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr)

    16-bit short complex vector mean with integer scaling method

    Declaration
    public static NppStatus nppsMean_16sc_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pMean, int nScaleFactor, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pMean

    Pointer to the output result.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMean_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    32-bit float vector mean method

    Declaration
    public static NppStatus nppsMean_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMean, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pMean

    Pointer to the output result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMean_32fc(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    32-bit float complex vector mean method

    Declaration
    public static NppStatus nppsMean_32fc(CUdeviceptr pSrc, int nLength, CUdeviceptr pMean, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pMean

    Pointer to the output result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMean_32s_Sfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr)

    32-bit integer vector mean with integer scaling method

    Declaration
    public static NppStatus nppsMean_32s_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pMean, int nScaleFactor, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pMean

    Pointer to the output result.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMean_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    64-bit double vector mean method

    Declaration
    public static NppStatus nppsMean_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMean, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pMean

    Pointer to the output result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMean_64fc(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    64-bit double complex vector mean method

    Declaration
    public static NppStatus nppsMean_64fc(CUdeviceptr pSrc, int nLength, CUdeviceptr pMean, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pMean

    Pointer to the output result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMeanGetBufferSize_16s_Sfs(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsMean_16s_Sfs.

    Declaration
    public static NppStatus nppsMeanGetBufferSize_16s_Sfs(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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMeanGetBufferSize_16sc_Sfs(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsMean_16sc_Sfs.

    Declaration
    public static NppStatus nppsMeanGetBufferSize_16sc_Sfs(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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMeanGetBufferSize_32f(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsMean_32f.

    Declaration
    public static NppStatus nppsMeanGetBufferSize_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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMeanGetBufferSize_32fc(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsMean_32fc.

    Declaration
    public static NppStatus nppsMeanGetBufferSize_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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMeanGetBufferSize_32s_Sfs(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsMean_32s_Sfs.

    Declaration
    public static NppStatus nppsMeanGetBufferSize_32s_Sfs(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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMeanGetBufferSize_64f(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsMean_64f.

    Declaration
    public static NppStatus nppsMeanGetBufferSize_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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMeanGetBufferSize_64fc(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsMean_64fc.

    Declaration
    public static NppStatus nppsMeanGetBufferSize_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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMeanStdDev_16s_Sfs(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr)

    16-bit float vector mean and standard deviation method (return values are also 16-bit)

    Declaration
    public static NppStatus nppsMeanStdDev_16s_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pMean, CUdeviceptr pStdDev, int nScaleFactor, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pMean

    Pointer to the output mean value.

    CUdeviceptr pStdDev

    Pointer to the output standard deviation value.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMeanStdDev_16s32s_Sfs(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr)

    16-bit float vector mean and standard deviation method (return values are 32-bit)

    Declaration
    public static NppStatus nppsMeanStdDev_16s32s_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pMean, CUdeviceptr pStdDev, int nScaleFactor, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pMean

    Pointer to the output mean value.

    CUdeviceptr pStdDev

    Pointer to the output standard deviation value.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMeanStdDev_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    32-bit float vector mean and standard deviation method

    Declaration
    public static NppStatus nppsMeanStdDev_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMean, CUdeviceptr pStdDev, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pMean

    Pointer to the output mean value.

    CUdeviceptr pStdDev

    Pointer to the output standard deviation value.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMeanStdDev_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    64-bit float vector mean and standard deviation method

    Declaration
    public static NppStatus nppsMeanStdDev_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMean, CUdeviceptr pStdDev, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pMean

    Pointer to the output mean value.

    CUdeviceptr pStdDev

    Pointer to the output standard deviation value.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMeanStdDevGetBufferSize_16s_Sfs(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsMeanStdDev_16s_Sfs.

    Declaration
    public static NppStatus nppsMeanStdDevGetBufferSize_16s_Sfs(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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMeanStdDevGetBufferSize_16s32s_Sfs(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsMeanStdDev_16s32s_Sfs.

    Declaration
    public static NppStatus nppsMeanStdDevGetBufferSize_16s32s_Sfs(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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMeanStdDevGetBufferSize_32f(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsMeanStdDev_32f.

    Declaration
    public static NppStatus nppsMeanStdDevGetBufferSize_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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMeanStdDevGetBufferSize_64f(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsMeanStdDev_64f.

    Declaration
    public static NppStatus nppsMeanStdDevGetBufferSize_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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsStdDev_16s_Sfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr)

    16-bit float vector standard deviation method (return value is also 16-bit)

    Declaration
    public static NppStatus nppsStdDev_16s_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pStdDev, int nScaleFactor, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pStdDev

    Pointer to the output result.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsStdDev_16s32s_Sfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr)

    16-bit float vector standard deviation method (return value is 32-bit)

    Declaration
    public static NppStatus nppsStdDev_16s32s_Sfs(CUdeviceptr pSrc, int nLength, CUdeviceptr pStdDev, int nScaleFactor, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pStdDev

    Pointer to the output result.

    System.Int32 nScaleFactor

    Integer Result Scaling.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsStdDev_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    32-bit float vector standard deviation method

    Declaration
    public static NppStatus nppsStdDev_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pStdDev, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pStdDev

    Pointer to the output result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsStdDev_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    64-bit float vector standard deviation method

    Declaration
    public static NppStatus nppsStdDev_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pStdDev, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    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 pStdDev

    Pointer to the output result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsStdDevGetBufferSize_16s_Sfs(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsStdDev_16s_Sfs.

    Declaration
    public static NppStatus nppsStdDevGetBufferSize_16s_Sfs(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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsStdDevGetBufferSize_16s32s_Sfs(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsStdDev_16s32s_Sfs.

    Declaration
    public static NppStatus nppsStdDevGetBufferSize_16s32s_Sfs(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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsStdDevGetBufferSize_32f(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsStdDev_32f.

    Declaration
    public static NppStatus nppsStdDevGetBufferSize_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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsStdDevGetBufferSize_64f(Int32, ref Int32)

    Device scratch buffer size (in bytes) for nppsStdDev_64f.

    Declaration
    public static NppStatus nppsStdDevGetBufferSize_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: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX