Norms of Fixed Size Vectors (original) (raw)
| 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
| | 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. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 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(). | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 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. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 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(). | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 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. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 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(). | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 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. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 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(). | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 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. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 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(). | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 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. |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | 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(). | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
