VF_ssqVD_ssqVE_ssq
FunctionSum-of-squares
Syntax C/C++#include <VFstd.h>
float VF_ssq( fVector X, ui size );
C++ VecObj#include <OptiVec.h>
T vector<T>::ssq();
Pascal/Delphiuses VFstd;
function VF_ssq( X:fVector; size:UIntSize ): Single;
Descriptionssq = sum( Xi2 )
Error handlingnone (but be careful: this function may lead to an overflow!)
Return valuesum of the squares of the vector elements.
See alsoVF_sum,   VF_rms,   VF_ssqdevC,   VF_scalprod,   VF_Euclid

VectorLib Table of Contents  OptiVec home