| VF_Euclid | VD_Euclid | VE_Euclid |
|
| Function | Calculates the Euclidean norm of a vector |
|
| Syntax C/C++ | #include <VFstd.h>
float VF_Euclid( fVector X, ui size ); |
| C++ VecObj | #include <OptiVec.h>
T vector<T>::Euclid(); |
| Pascal/Delphi | uses VFstd;
function VF_Euclid( X:fVector; size:UIntSize ): Single; |
|
| Description | norm = sqrt( sum( Xi2 ) )
The Euclidean norm of a vector is defined as the square-root of the scalar product of the vector with itself. |
|
| Error handling | none (but beware of a possible overflow!) |
|
| Return value | The Euclidean norm is returned |
|
|