Main Page   Modules   Compound List   File List   Compound Members   File Members  

Norms of Fixed Size Vectors
[Fixed Size Vectors]


Functions

double gan_vec2_sqrlen_s (Gan_Vector2 *p)
 Returns sum of squares of vector elements.

double gan_vec2_sqrlen_q (Gan_Vector2 *p)
 Macro: Returns sum of squares of vector elements.

float gan_vec2f_sqrlen_s (Gan_Vector2_f *p)
 Returns sum of squares of vector elements.

float gan_vec2f_sqrlen_q (Gan_Vector2_f *p)
 Macro: Returns sum of squares of vector elements.

double gan_vec3_sqrlen_s (Gan_Vector3 *p)
 Returns sum of squares of vector elements.

double gan_vec3_sqrlen_q (Gan_Vector3 *p)
 Macro: Returns sum of squares of vector elements.

float gan_vec3f_sqrlen_s (Gan_Vector3_f *p)
 Returns sum of squares of vector elements.

float gan_vec3f_sqrlen_q (Gan_Vector3_f *p)
 Macro: Returns sum of squares of vector elements.

double gan_vec4_sqrlen_s (Gan_Vector4 *p)
 Returns sum of squares of vector elements.

double gan_vec4_sqrlen_q (Gan_Vector4 *p)
 Macro: Returns sum of squares of vector elements.

float gan_vec4f_sqrlen_s (Gan_Vector4_f *p)
 Returns sum of squares of vector elements.

float gan_vec4f_sqrlen_q (Gan_Vector4_f *p)
 Macro: Returns sum of squares of vector elements.


Function Documentation

double gan_vec2_sqrlen_q Gan_Vector2   p
 

Macro: Returns sum of squares of vector elements.

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

Returns:
The squared length of p.

double gan_vec2_sqrlen_s 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 Gan_Vector2_f   p
 

Macro: Returns sum of squares of vector elements.

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

Returns:
The squared length of p.

float gan_vec2f_sqrlen_s 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 Gan_Vector3   p
 

Macro: Returns sum of squares of vector elements.

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

Returns:
The squared length of p.

double gan_vec3_sqrlen_s 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 Gan_Vector3_f   p
 

Macro: Returns sum of squares of vector elements.

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

Returns:
The squared length of p.

float gan_vec3f_sqrlen_s 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 Gan_Vector4   p
 

Macro: Returns sum of squares of vector elements.

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

Returns:
The squared length of p.

double gan_vec4_sqrlen_s 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 Gan_Vector4_f   p
 

Macro: Returns sum of squares of vector elements.

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

Returns:
The squared length of p.

float gan_vec4f_sqrlen_s 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 Mon Oct 13 16:14:52 2003 by doxygen1.3-rc1