FunctionSum up the absolute values of all the elements of a vector.
Syntax C/C++#include <VFstd.h>
float VF_sumabs( fVector X, ui size );
C++ VecObj#include <OptiVec.h>
T vector<T>::sumabs();
Pascal/Delphiuses VFstd;
function VF_sumabs( X:fVector; size:UIntSize ): Single;
Descriptionsumabs = sum(| Xi |)
Error handlingnone (but be careful: this function may easily overflow!)
Return valuesum of the absolute values of all vector elements.
See alsoVF_sum,   VF_meanabs

VectorLib Table of Contents  OptiVec home