Main Page | Modules | Class List | File List | Class Members | File Members

General Size Vector Norms
[General Size Vectors]


Functions

double gan_vec_sqrlen (const Gan_Vector *x)
 Macro: Vector squared length.
float gan_vecf_sqrlen (const Gan_Vector_f *x)
 Macro: Vector squared length.

Function Documentation

double gan_vec_sqrlen const Gan_Vector x  ) 
 

Macro: Vector squared length.

Returns the scalar product $ ||x||^2 $ of vector x with itself, i.e. the squared length of x.

float gan_vecf_sqrlen const Gan_Vector_f x  ) 
 

Macro: Vector squared length.

Returns the scalar product $ ||x||^2 $ of vector x with itself, i.e. the squared length of x.


Generated on Fri Mar 17 12:44:59 2006 by  doxygen 1.3.9.1