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

Norms of Fixed Size Vectors
[Fixed Size Vectors]


Functions

double gan_vec2_sqrlen_s (const Gan_Vector2 *p)
 Returns sum of squares of vector elements.
double gan_vec2_sqrlen_q (const Gan_Vector2 *p)
 Macro: Returns sum of squares of vector elements.
float gan_vec2f_sqrlen_s (const Gan_Vector2_f *p)
 Returns sum of squares of vector elements.
float gan_vec2f_sqrlen_q (const Gan_Vector2_f *p)
 Macro: Returns sum of squares of vector elements.
double gan_vec3_sqrlen_s (const Gan_Vector3 *p)
 Returns sum of squares of vector elements.
double gan_vec3_sqrlen_q (const Gan_Vector3 *p)
 Macro: Returns sum of squares of vector elements.
float gan_vec3f_sqrlen_s (const Gan_Vector3_f *p)
 Returns sum of squares of vector elements.
float gan_vec3f_sqrlen_q (const Gan_Vector3_f *p)
 Macro: Returns sum of squares of vector elements.
double gan_vec4_sqrlen_s (const Gan_Vector4 *p)
 Returns sum of squares of vector elements.
double gan_vec4_sqrlen_q (const Gan_Vector4 *p)
 Macro: Returns sum of squares of vector elements.
float gan_vec4f_sqrlen_s (const Gan_Vector4_f *p)
 Returns sum of squares of vector elements.
float gan_vec4f_sqrlen_q (const Gan_Vector4_f *p)
 Macro: Returns sum of squares of vector elements.

Function Documentation

double gan_vec2_sqrlen_q const Gan_Vector2 p  ) 
 

Macro: Returns sum of squares of vector elements.

Returns the scalar product $ p.p $ of fixed size vector p with itself.

Returns:
The squared length of p.

double gan_vec2_sqrlen_s const Gan_Vector2 p  ) 
 

Returns sum of squares of vector elements.

Returns the scalar product of fixed size vector p with itself, i.e. the squared length of p. Implemented as a function.

See also:
gan_vec2_sqrlen_q().

float gan_vec2f_sqrlen_q const Gan_Vector2_f p  ) 
 

Macro: Returns sum of squares of vector elements.

Returns the scalar product $ p.p $ of fixed size vector p with itself.

Returns:
The squared length of p.

float gan_vec2f_sqrlen_s const Gan_Vector2_f p  ) 
 

Returns sum of squares of vector elements.

Returns the scalar product of fixed size vector p with itself, i.e. the squared length of p. Implemented as a function.

See also:
gan_vec2f_sqrlen_q().

double gan_vec3_sqrlen_q const Gan_Vector3 p  ) 
 

Macro: Returns sum of squares of vector elements.

Returns the scalar product $ p.p $ of fixed size vector p with itself.

Returns:
The squared length of p.

double gan_vec3_sqrlen_s const Gan_Vector3 p  ) 
 

Returns sum of squares of vector elements.

Returns the scalar product of fixed size vector p with itself, i.e. the squared length of p. Implemented as a function.

See also:
gan_vec3_sqrlen_q().

float gan_vec3f_sqrlen_q const Gan_Vector3_f p  ) 
 

Macro: Returns sum of squares of vector elements.

Returns the scalar product $ p.p $ of fixed size vector p with itself.

Returns:
The squared length of p.

float gan_vec3f_sqrlen_s const Gan_Vector3_f p  ) 
 

Returns sum of squares of vector elements.

Returns the scalar product of fixed size vector p with itself, i.e. the squared length of p. Implemented as a function.

See also:
gan_vec3f_sqrlen_q().

double gan_vec4_sqrlen_q const Gan_Vector4 p  ) 
 

Macro: Returns sum of squares of vector elements.

Returns the scalar product $ p.p $ of fixed size vector p with itself.

Returns:
The squared length of p.

double gan_vec4_sqrlen_s const Gan_Vector4 p  ) 
 

Returns sum of squares of vector elements.

Returns the scalar product of fixed size vector p with itself, i.e. the squared length of p. Implemented as a function.

See also:
gan_vec4_sqrlen_q().

float gan_vec4f_sqrlen_q const Gan_Vector4_f p  ) 
 

Macro: Returns sum of squares of vector elements.

Returns the scalar product $ p.p $ of fixed size vector p with itself.

Returns:
The squared length of p.

float gan_vec4f_sqrlen_s const Gan_Vector4_f p  ) 
 

Returns sum of squares of vector elements.

Returns the scalar product of fixed size vector p with itself, i.e. the squared length of p. Implemented as a function.

See also:
gan_vec4f_sqrlen_q().


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