Build a Fixed Size Vector (original) (raw)

Functions
Gan_Vector3 gan_vec3_set_parts_s (const Gan_Vector2 *q, double s)
Build 3-vector from 2-vector and scalar.
Gan_Vector3 * gan_vec3_set_parts_q (Gan_Vector3 *p, const Gan_Vector2 *q, double s)
Macro: Build 3-vector from 2-vector and scalar.
Gan_Vector3_f gan_vec3f_set_parts_s (const Gan_Vector2_f *q, float s)
Build 3-vector from 2-vector and scalar.
Gan_Vector3_f * gan_vec3f_set_parts_q (Gan_Vector3_f *p, const Gan_Vector2_f *q, float s)
Macro: Build 3-vector from 2-vector and scalar.
Gan_Vector4 gan_vec4_set_parts_s (const Gan_Vector3 *q, double s)
Build 4-vector from 3-vector and scalar.
Gan_Vector4 gan_vec4_set_blocks_s (const Gan_Vector2 *q, const Gan_Vector2 *r)
Macro: Build 4-vector from two 2-vectors.
Gan_Vector4 * gan_vec4_set_parts_q (Gan_Vector4 *p, const Gan_Vector3 *q, double s)
Macro: Build 4-vector from 3-vector and scalar.
Gan_Vector4 * gan_vec4_set_blocks_q (Gan_Vector4 *p, const Gan_Vector2 *q, const Gan_Vector2 *r)
Macro: Build 4-vector from two 2-vectors.
Gan_Vector4_f gan_vec4f_set_parts_s (const Gan_Vector3_f *q, float s)
Build 4-vector from 3-vector and scalar.
Gan_Vector4_f gan_vec4f_set_blocks_s (const Gan_Vector2_f *q, const Gan_Vector2_f *r)
Macro: Build 4-vector from two 2-vectors.
Gan_Vector4_f * gan_vec4f_set_parts_q (Gan_Vector4_f *p, const Gan_Vector3_f *q, float s)
Macro: Build 4-vector from 3-vector and scalar.
Gan_Vector4_f * gan_vec4f_set_blocks_q (Gan_Vector4_f *p, const Gan_Vector2_f *q, const Gan_Vector2_f *r)
Macro: Build 4-vector from two 2-vectors.

Function Documentation

| | Macro: Build 3-vector from 2-vector and scalar. Build 3-vector p from 2-vector q and scalar s, which are respectively inserted in the top and bottom parts of the 3-vector, so that [ p = \left(\begin{array}{c} q \\ s \end{array}\right) ] **Returns:**Result 3-vector p. | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Build 3-vector from 2-vector and scalar. Build 3-vector from 2-vector q and scalar s, which are respectively inserted in the top and bottom parts of the 3-vector, which is built as [ \left(\begin{array}{c} q \\ s \end{array}\right) ] **Returns:**Result 3-vector. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Build 3-vector from 2-vector and scalar. Build 3-vector p from 2-vector q and scalar s, which are respectively inserted in the top and bottom parts of the 3-vector, so that [ p = \left(\begin{array}{c} q \\ s \end{array}\right) ] **Returns:**Result 3-vector p. | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Build 3-vector from 2-vector and scalar. Build 3-vector from 2-vector q and scalar s, which are respectively inserted in the top and bottom parts of the 3-vector, which is built as [ \left(\begin{array}{c} q \\ s \end{array}\right) ] **Returns:**Result 3-vector. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Build 4-vector from two 2-vectors. Build 4-vector p from 2-vectors q and r, which are respectively inserted in the top and bottom parts of the 4-vector, so that [ p = \left(\begin{array}{c} q \\ r \end{array}\right) ] **Returns:**Pointer to result 4-vector p. | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Build 4-vector from two 2-vectors. Build 4-vector from 2-vectors q and r, which are respectively inserted in the top and bottom parts of the 4-vector, which is built as [ \left(\begin{array}{c} q \\ r \end{array}\right) ] **Returns:**Result 4-vector. | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Build 4-vector from 3-vector and scalar. Build 4-vector p from 3-vector q and scalar s, which are respectively inserted in the top and bottom parts of the 4-vector, so that [ p = \left(\begin{array}{c} q \\ s \end{array}\right) ] **Returns:**Pointer to result 4-vector p. | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Build 4-vector from 3-vector and scalar. Build 4-vector from 3-vector q and scalar s, which are respectively inserted in the top and bottom parts of the 4-vector, which is built as [ \left(\begin{array}{c} q \\ s \end{array}\right) ] **Returns:**Result 4-vector. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Build 4-vector from two 2-vectors. Build 4-vector p from 2-vectors q and r, which are respectively inserted in the top and bottom parts of the 4-vector, so that [ p = \left(\begin{array}{c} q \\ r \end{array}\right) ] **Returns:**Pointer to result 4-vector p. | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Build 4-vector from two 2-vectors. Build 4-vector from 2-vectors q and r, which are respectively inserted in the top and bottom parts of the 4-vector, which is built as [ \left(\begin{array}{c} q \\ r \end{array}\right) ] **Returns:**Result 4-vector. | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Macro: Build 4-vector from 3-vector and scalar. Build 4-vector p from 3-vector q and scalar s, which are respectively inserted in the top and bottom parts of the 4-vector, so that [ p = \left(\begin{array}{c} q \\ s \end{array}\right) ] **Returns:**Pointer to result 4-vector p. | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| | Build 4-vector from 3-vector and scalar. Build 4-vector from 3-vector q and scalar s, which are respectively inserted in the top and bottom parts of the 4-vector, which is built as [ \left(\begin{array}{c} q \\ s \end{array}\right) ] **Returns:**Result 4-vector. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |


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