Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 64-bit floating point signal times constant with in place conversion to 64-bit signed integer
/// and with scaling and saturation of output result.
/// </summary>
/// <param name="nValue">Constant value to be multiplied by each vector element</param>
/// <param name="pDst">Destination signal pointer.</param>
/// <param name="nScaleFactor">Integer Result Scaling.</param>
64-bit floating point signal times constant with in place conversion to 64-bit signed integer
and with scaling and saturation of output result.
64 - bit floating point signal times constant with in place conversion to 64 - bit signed integer and with scaling and saturation of output result .
public static void MulC(this CudaDeviceVariable<long> pDst, double nValue, int nScaleFactor)
		{
			NppStatus status = NPPNativeMethods.NPPs.MulC.nppsMulC_64f64s_ISfs(nValue, pDst.DevicePointer, pDst.Size, nScaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsMulC_64f64s_ISfs", status));
			NPPException.CheckNppStatus(status, pDst);
		}
public static void MulC ( this CudaDeviceVariable < long > pDst , double nValue , int nScaleFactor ) { NppStatus status = NPPNativeMethods . NPPs . MulC . nppsMulC_64f64s_ISfs ( nValue , pDst . DevicePointer , pDst . Size , nScaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pDst ) ; }
64-bit floating point signal times constant with in place conversion to 64-bit signed integer
and with scaling and saturation of output result.
64 - bit floating point signal times constant with in place conversion to 64 - bit signed integer and with scaling and saturation of output result .
CudaDeviceVariable<long>
this
nValue
double
Constant value to be multiplied by each vector element
Constant value to be multiplied by each vector element
nScaleFactor
int
Integer Result Scaling.
Integer Result Scaling .
pDst
Destination signal pointer.
Destination signal pointer .