VF_sumdevCVD_sumdevCVE_sumdevC
FunctionSum 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/Delphiuses 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/Delphiuses 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;
DescriptionsumdevC = sum( |Xi - C| )
Error handlingnone
Return valuesum of the absolute deviations.
See alsoVF_ssqdevC,   VF_sumdevV,   VF_avdevC

VectorLib Table of Contents  OptiVec home