FunctionSum of the squares of the deviations from a preset value.
Syntax C/C++#include <VFstd.h>
float VF_ssqdevC( fVector X, ui size, float C );
C++ VecObj#include <OptiVec.h>
T vector<T>::ssqdevC( const T& C );
Pascal/Delphiuses VFstd;
function VF_ssqdevC( X:fVector; size:UIntSize; C:Single ): Single;
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_ssqdevC( float *h_RetVal, fVector d_X, ui size, float C );
int cusdVF_ssqdevC( float *d_RetVal, fVector d_X, ui size, float *d_C );
float VFcu_ssqdevC( fVector X, ui size, float C );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_ssqdevC( var h_RetVal:Single; d_X:fVector; size:UIntSize; C:Single ): IntBool;
function cusdVF_ssqdevC( d_RetVal:PSingle; d_X:fVector; size:UIntSize; d_C:PSingle ): IntBool;
function VFcu_ssqdevC( h_X:fVector; size:UIntSize; C:Single ): Single;
DescriptionssqdevC = sum( (Xi - C)2 )
Error handlingnone
Return valuesum of the squares of the deviations.
See alsoVF_ssq,   VF_ssqdevV,   VF_avdevC,   VF_sumdevC,   VF_chi2

VectorLib Table of Contents  OptiVec home