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;
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_ssq( float *h_RetVal, fVector d_X, ui size );
int cusdVF_ssq( float *d_RetVal, fVector d_X, ui size );
float VFcu_ssq( fVector h_X, ui size );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_ssq( var h_RetVal:Single; d_X:fVector; size:UIntSize ): IntBool;
function cusdVF_ssq( d_RetVal:PSingle; d_X:fVector; size:UIntSize ): IntBool;
function VFcu_ssq( h_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