VF_sumdevC | VD_sumdevC | VE_sumdevC |
|
Function | Sum of the absolute deviations from a preset value. |
|
Syntax C/C++ | #include <VFstd.h>
float VF_sumdevC( fVector X, ui size, float C ); |
C++ VecObj | #include <OptiVec.h>
T vector<T>::sumdevC( const T& C ); |
Pascal/Delphi | uses VFstd;
function VF_sumdevC( X:fVector; size:UIntSize; C:Single ): Single; |
|
CUDA function C/C++ | #include <cudaVFstd.h>
int cudaVF_sumdevC( float *h_RetVal, fVector d_X, ui size, float C );
int cusdVF_sumdevC( float *d_RetVal, fVector d_X, ui size, float *d_C );
float VFcu_sumdevC( fVector h_X, ui size, float C );
|
CUDA function Pascal/Delphi | uses VFstd;
function cudaVF_sumdevC( var h_RetVal:Single; d_X:fVector; size:UIntSize; C:Single ): IntBool;
function cusdVF_sumdevC( d_RetVal:PSingle; d_X:fVector; size:UIntSize; d_C:PSingle ): IntBool;
function VFcu_sumdevC( h_X:fVector; size:UIntSize; C:Single ): Single;
|
|
Description | sumdevC = sum( |Xi - C| ) |
|
|
Return value | sum of the absolute deviations. |
|
|