Class NPPNativeMethods.NPPs.AddProductC
Adds product of a constant and each sample of a source signal to the each sample of destination signal.
Inheritance
System.Object
NPPNativeMethods.NPPs.AddProductC
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 AddProductC
Methods
nppsAddProductC_32f(CUdeviceptr, Single, CUdeviceptr, Int32)
32-bit floating point signal add product of signal times constant to destination signal.
Declaration
public static NppStatus nppsAddProductC_32f(CUdeviceptr pSrc, float nValue, CUdeviceptr pDst, int nLength)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source signal pointer. |
System.Single | nValue | Constant value to be multiplied by each vector element |
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 |