Main Page   Modules   Compound List   File List   Compound Members   File Members  

Build a Fixed Size Matrix
[Fixed Size MatricesFixed Size Matrices and Vectors]


Functions

Gan_Matrix23 gan_mat23_set_parts_s (Gan_Matrix22 *B, Gan_Vector2 *p)
 Build 2x3 matrix from 2x2 matrix and column 2-vector.

Gan_Matrix23gan_mat23_set_parts_q (Gan_Matrix23 *A, Gan_Matrix22 *B, Gan_Vector2 *p)
 Macro: Build 2x3 matrix from 2x2 matrix and column 2-vector.

Gan_Matrix23_f gan_mat23f_set_parts_s (Gan_Matrix22_f *B, Gan_Vector2_f *p)
 Build 2x3 matrix from 2x2 matrix and column 2-vector.

Gan_Matrix23_fgan_mat23f_set_parts_q (Gan_Matrix23_f *A, Gan_Matrix22_f *B, Gan_Vector2_f *p)
 Macro: Build 2x3 matrix from 2x2 matrix and column 2-vector.

Gan_Matrix33 gan_mat33_set_parts_s (Gan_Matrix22 *B, Gan_Vector2 *p, Gan_Vector2 *q, double s)
 Build a 3x3 matrix from parts.

Gan_Matrix33 gan_mat33_set_cols_s (Gan_Vector3 *p, Gan_Vector3 *q, Gan_Vector3 *r)
 Build 3x3 matrix from 3-vector columns.

Gan_Matrix33 gan_mat33_set_rows_s (Gan_Vector3 *p, Gan_Vector3 *q, Gan_Vector3 *r)
 Build 3x3 matrix from 3-vector rows.

Gan_SquMatrix33 gan_symmat33_set_parts_s (Gan_SquMatrix22 *B, Gan_Vector2 *p, double s)
 Build a 3x3 symmetric matrix from parts.

Gan_SquMatrix33 gan_ltmat33_set_parts_s (Gan_SquMatrix22 *B, Gan_Vector2 *p, double s)
 Build a 3x3 lower triangular matrix from parts.

Gan_Matrix33gan_mat33_set_parts_q (Gan_Matrix33 *A, Gan_Matrix22 *B, Gan_Vector2 *p, Gan_Vector2 *q, double s)
 Macro: Build a 3x3 matrix from parts.

Gan_Matrix33gan_mat33_set_cols_q (Gan_Matrix33 *A, Gan_Vector3 *p, Gan_Vector3 *q, Gan_Vector3 *r)
 Macro: Build 3x3 matrix from 3-vector columns.

Gan_Matrix33gan_mat33_set_rows_q (Gan_Matrix33 *A, Gan_Vector3 *p, Gan_Vector3 *q, Gan_Vector3 *r)
 Macro: Build 3x3 matrix from 3-vector rows.

Gan_SquMatrix33gan_symmat33_set_parts_q (Gan_SquMatrix33 *A, Gan_SquMatrix22 *B, Gan_Vector2 *p, double s)
 Macro: Build a 3x3 symmetric matrix from parts.

Gan_SquMatrix33gan_ltmat33_set_parts_q (Gan_SquMatrix33 *A, Gan_SquMatrix22 *B, Gan_Vector2 *p, double s)
 Macro: Build a 3x3 lower triangular matrix from parts.

Gan_Matrix33_f gan_mat33f_set_parts_s (Gan_Matrix22_f *B, Gan_Vector2_f *p, Gan_Vector2_f *q, float s)
 Build a 3x3 matrix from parts.

Gan_Matrix33_f gan_mat33f_set_cols_s (Gan_Vector3_f *p, Gan_Vector3_f *q, Gan_Vector3_f *r)
 Build 3x3 matrix from 3-vector columns.

Gan_Matrix33_f gan_mat33f_set_rows_s (Gan_Vector3_f *p, Gan_Vector3_f *q, Gan_Vector3_f *r)
 Build 3x3 matrix from 3-vector rows.

Gan_SquMatrix33_f gan_symmat33f_set_parts_s (Gan_SquMatrix22_f *B, Gan_Vector2_f *p, float s)
 Build a 3x3 symmetric matrix from parts.

Gan_SquMatrix33_f gan_ltmat33f_set_parts_s (Gan_SquMatrix22_f *B, Gan_Vector2_f *p, float s)
 Build a 3x3 lower triangular matrix from parts.

Gan_Matrix33_fgan_mat33f_set_parts_q (Gan_Matrix33_f *A, Gan_Matrix22_f *B, Gan_Vector2_f *p, Gan_Vector2_f *q, float s)
 Macro: Build a 3x3 matrix from parts.

Gan_Matrix33_fgan_mat33f_set_cols_q (Gan_Matrix33_f *A, Gan_Vector3_f *p, Gan_Vector3_f *q, Gan_Vector3_f *r)
 Macro: Build 3x3 matrix from 3-vector columns.

Gan_Matrix33_fgan_mat33f_set_rows_q (Gan_Matrix33_f *A, Gan_Vector3_f *p, Gan_Vector3_f *q, Gan_Vector3_f *r)
 Macro: Build 3x3 matrix from 3-vector rows.

Gan_SquMatrix33_fgan_symmat33f_set_parts_q (Gan_SquMatrix33_f *A, Gan_SquMatrix22_f *B, Gan_Vector2_f *p, float s)
 Macro: Build a 3x3 symmetric matrix from parts.

Gan_SquMatrix33_fgan_ltmat33f_set_parts_q (Gan_SquMatrix33_f *A, Gan_SquMatrix22_f *B, Gan_Vector2_f *p, float s)
 Macro: Build a 3x3 lower triangular matrix from parts.

Gan_Matrix34 gan_mat34_set_parts_s (Gan_Matrix33 *B, Gan_Vector3 *p)
 Build 3x4 matrix from 3x3 matrix and column 3-vector.

Gan_Matrix34 gan_mat34_set_cols_s (Gan_Vector3 *p, Gan_Vector3 *q, Gan_Vector3 *r, Gan_Vector3 *s)
 Build 3x4 matrix from 3-vector columns.

Gan_Matrix34 gan_mat34_set_rows_s (Gan_Vector4 *p, Gan_Vector4 *q, Gan_Vector4 *r)
 Build 3x4 matrix from 4-vector rows.

Gan_Matrix34gan_mat34_set_parts_q (Gan_Matrix34 *A, Gan_Matrix33 *B, Gan_Vector3 *p)
 Macro: Build 3x4 matrix from 3x3 matrix and column 3-vector.

Gan_Matrix34gan_mat34_set_cols_q (Gan_Matrix34 *A, Gan_Vector3 *p, Gan_Vector3 *q, Gan_Vector3 *r, Gan_Vector3 *s)
 Macro: Build 3x4 matrix from 3-vector columns.

Gan_Matrix34gan_mat34_set_rows_q (Gan_Matrix34 *A, Gan_Vector4 *p, Gan_Vector4 *q, Gan_Vector4 *r)
 Macro: Build 3x4 matrix from 4-vector rows.

Gan_Matrix34_f gan_mat34f_set_parts_s (Gan_Matrix33_f *B, Gan_Vector3_f *p)
 Build 3x4 matrix from 3x3 matrix and column 3-vector.

Gan_Matrix34_f gan_mat34f_set_cols_s (Gan_Vector3_f *p, Gan_Vector3_f *q, Gan_Vector3_f *r, Gan_Vector3_f *s)
 Build 3x4 matrix from 3-vector columns.

Gan_Matrix34_f gan_mat34f_set_rows_s (Gan_Vector4_f *p, Gan_Vector4_f *q, Gan_Vector4_f *r)
 Build 3x4 matrix from 4-vector rows.

Gan_Matrix34_fgan_mat34f_set_parts_q (Gan_Matrix34_f *A, Gan_Matrix33_f *B, Gan_Vector3_f *p)
 Macro: Build 3x4 matrix from 3x3 matrix and column 3-vector.

Gan_Matrix34_fgan_mat34f_set_cols_q (Gan_Matrix34_f *A, Gan_Vector3_f *p, Gan_Vector3_f *q, Gan_Vector3_f *r, Gan_Vector3_f *s)
 Macro: Build 3x4 matrix from 3-vector columns.

Gan_Matrix34_fgan_mat34f_set_rows_q (Gan_Matrix34_f *A, Gan_Vector4_f *p, Gan_Vector4_f *q, Gan_Vector4_f *r)
 Macro: Build 3x4 matrix from 4-vector rows.

Gan_Matrix44 gan_mat44_set_parts_s (Gan_Matrix33 *B, Gan_Vector3 *p, Gan_Vector3 *q, double s)
 Build a 4x4 matrix from parts.

Gan_Matrix44 gan_mat44_set_blocks_s (Gan_Matrix22 *A, Gan_Matrix22 *B, Gan_Matrix22 *C, Gan_Matrix22 *D)
 Build a 4x4 matrix from 2x2 blocks.

Gan_SquMatrix44 gan_symmat44_set_parts_s (Gan_SquMatrix33 *B, Gan_Vector3 *p, double s)
 Build a 4x4 symmetric matrix from parts.

Gan_SquMatrix44 gan_symmat44_set_blocks_s (Gan_SquMatrix22 *B, Gan_Matrix22 *C, Gan_SquMatrix22 *D)
 Build a 4x4 symmetric matrix from 2x2 blocks.

Gan_SquMatrix44 gan_ltmat44_set_parts_s (Gan_SquMatrix33 *B, Gan_Vector3 *p, double s)
 Build a 4x4 lower triangular matrix from parts.

Gan_Matrix44gan_mat44_set_parts_q (Gan_Matrix44 *A, Gan_Matrix33 *B, Gan_Vector3 *p, Gan_Vector3 *q, double s)
 Macro: Build a 4x4 matrix from parts.

Gan_Matrix44gan_mat44_set_blocks_q (Gan_Matrix44 *M, Gan_Matrix22 *A, Gan_Matrix22 *B, Gan_Matrix22 *C, Gan_Matrix22 *D)
 Macro: Build a 4x4 matrix from 2x2 blocks.

Gan_SquMatrix44gan_symmat44_set_parts_q (Gan_SquMatrix44 *A, Gan_SquMatrix33 *B, Gan_Vector3 *p, double s)
 Macro: Build a 4x4 symmetric matrix from parts.

Gan_SquMatrix44gan_symmat44_set_blocks_q (Gan_SquMatrix44 *A, Gan_SquMatrix22 *B, Gan_Matrix22 *C, Gan_SquMatrix22 *D)
 Macro: Build a 4x4 symmetric matrix from 2x2 blocks.

Gan_SquMatrix44gan_ltmat44_set_parts_q (Gan_SquMatrix44 *A, Gan_SquMatrix33 *B, Gan_Vector3 *p, double s)
 Macro: Build a 4x4 lower triangular matrix from parts.

Gan_Matrix44_f gan_mat44f_set_parts_s (Gan_Matrix33_f *B, Gan_Vector3_f *p, Gan_Vector3_f *q, float s)
 Build a 4x4 matrix from parts.

Gan_Matrix44_f gan_mat44f_set_blocks_s (Gan_Matrix22_f *A, Gan_Matrix22_f *B, Gan_Matrix22_f *C, Gan_Matrix22_f *D)
 Build a 4x4 matrix from 2x2 blocks.

Gan_SquMatrix44_f gan_symmat44f_set_parts_s (Gan_SquMatrix33_f *B, Gan_Vector3_f *p, float s)
 Build a 4x4 symmetric matrix from parts.

Gan_SquMatrix44_f gan_symmat44f_set_blocks_s (Gan_SquMatrix22_f *B, Gan_Matrix22_f *C, Gan_SquMatrix22_f *D)
 Build a 4x4 symmetric matrix from 2x2 blocks.

Gan_SquMatrix44_f gan_ltmat44f_set_parts_s (Gan_SquMatrix33_f *B, Gan_Vector3_f *p, float s)
 Build a 4x4 lower triangular matrix from parts.

Gan_Matrix44_fgan_mat44f_set_parts_q (Gan_Matrix44_f *A, Gan_Matrix33_f *B, Gan_Vector3_f *p, Gan_Vector3_f *q, float s)
 Macro: Build a 4x4 matrix from parts.

Gan_Matrix44_fgan_mat44f_set_blocks_q (Gan_Matrix44_f *M, Gan_Matrix22_f *A, Gan_Matrix22_f *B, Gan_Matrix22_f *C, Gan_Matrix22_f *D)
 Macro: Build a 4x4 matrix from 2x2 blocks.

Gan_SquMatrix44_fgan_symmat44f_set_parts_q (Gan_SquMatrix44_f *A, Gan_SquMatrix33_f *B, Gan_Vector3_f *p, float s)
 Macro: Build a 4x4 symmetric matrix from parts.

Gan_SquMatrix44_fgan_symmat44f_set_blocks_q (Gan_SquMatrix44_f *A, Gan_SquMatrix22_f *B, Gan_Matrix22_f *C, Gan_SquMatrix22_f *D)
 Macro: Build a 4x4 symmetric matrix from 2x2 blocks.

Gan_SquMatrix44_fgan_ltmat44f_set_parts_q (Gan_SquMatrix44_f *A, Gan_SquMatrix33_f *B, Gan_Vector3_f *p, float s)
 Macro: Build a 4x4 lower triangular matrix from parts.


Function Documentation

Gan_SquMatrix33* gan_ltmat33_set_parts_q Gan_SquMatrix33   A,
Gan_SquMatrix22   B,
Gan_Vector2   p,
double    s
 

Macro: Build a 3x3 lower triangular matrix from parts.

Build 3x3 lower triangular matrix from 2x2 lower triangular matrix B, row 2-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left and bottom-right parts of the 3x3 matrix. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_SquMatrix33 gan_ltmat33_set_parts_s Gan_SquMatrix22   B,
Gan_Vector2   p,
double    s
 

Build a 3x3 lower triangular matrix from parts.

Build 3x3 lower triangular matrix from 2x2 lower triangular matrix B, row 2-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left and bottom-right parts of the 3x3 matrix. The arrangement of the matrix is

If p is passed as NULL, the corresponding part of the result is filled with zeros.

Gan_SquMatrix33_f* gan_ltmat33f_set_parts_q Gan_SquMatrix33_f   A,
Gan_SquMatrix22_f   B,
Gan_Vector2_f   p,
float    s
 

Macro: Build a 3x3 lower triangular matrix from parts.

Build 3x3 lower triangular matrix from 2x2 lower triangular matrix B, row 2-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left and bottom-right parts of the 3x3 matrix. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_SquMatrix33_f gan_ltmat33f_set_parts_s Gan_SquMatrix22_f   B,
Gan_Vector2_f   p,
float    s
 

Build a 3x3 lower triangular matrix from parts.

Build 3x3 lower triangular matrix from 2x2 lower triangular matrix B, row 2-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left and bottom-right parts of the 3x3 matrix. The arrangement of the matrix is

If p is passed as NULL, the corresponding part of the result is filled with zeros.

Gan_SquMatrix44* gan_ltmat44_set_parts_q Gan_SquMatrix44   A,
Gan_SquMatrix33   B,
Gan_Vector3   p,
double    s
 

Macro: Build a 4x4 lower triangular matrix from parts.

Build 4x4 lower triangular matrix from 3x3 lower triangular matrix B, row 3-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left and bottom-right parts of the 4x4 matrix. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_SquMatrix44 gan_ltmat44_set_parts_s Gan_SquMatrix33   B,
Gan_Vector3   p,
double    s
 

Build a 4x4 lower triangular matrix from parts.

Build 4x4 lower triangular matrix from 3x3 lower triangular matrix B, row 3-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left and bottom-right parts of the 4x4 matrix. The arrangement of the matrix is

If p is passed as NULL, the corresponding part of the result is filled with zeros.

Gan_SquMatrix44_f* gan_ltmat44f_set_parts_q Gan_SquMatrix44_f   A,
Gan_SquMatrix33_f   B,
Gan_Vector3_f   p,
float    s
 

Macro: Build a 4x4 lower triangular matrix from parts.

Build 4x4 lower triangular matrix from 3x3 lower triangular matrix B, row 3-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left and bottom-right parts of the 4x4 matrix. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_SquMatrix44_f gan_ltmat44f_set_parts_s Gan_SquMatrix33_f   B,
Gan_Vector3_f   p,
float    s
 

Build a 4x4 lower triangular matrix from parts.

Build 4x4 lower triangular matrix from 3x3 lower triangular matrix B, row 3-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left and bottom-right parts of the 4x4 matrix. The arrangement of the matrix is

If p is passed as NULL, the corresponding part of the result is filled with zeros.

Gan_Matrix23* gan_mat23_set_parts_q Gan_Matrix23   A,
Gan_Matrix22   B,
Gan_Vector2   p
 

Macro: Build 2x3 matrix from 2x2 matrix and column 2-vector.

Build 2x3 matrix A from 2x2 matrix B and column 2-vector p, which are respectively inserted in the left-hand and right-hand parts of the 2x3 matrix. The arrangement is thus

Returns:
Pointer to result 2x3 matrix A.

Gan_Matrix23 gan_mat23_set_parts_s Gan_Matrix22   B,
Gan_Vector2   p
 

Build 2x3 matrix from 2x2 matrix and column 2-vector.

Build 2x3 matrix from 2x2 matrix B and column 2-vector p, which are respectively inserted in the left-hand and right-hand parts of the 2x3 matrix. The arrangement is thus

Returns:
Result as a new 2x3 matrix.

Gan_Matrix23_f* gan_mat23f_set_parts_q Gan_Matrix23_f   A,
Gan_Matrix22_f   B,
Gan_Vector2_f   p
 

Macro: Build 2x3 matrix from 2x2 matrix and column 2-vector.

Build 2x3 matrix A from 2x2 matrix B and column 2-vector p, which are respectively inserted in the left-hand and right-hand parts of the 2x3 matrix. The arrangement is thus

Returns:
Pointer to result 2x3 matrix A.

Gan_Matrix23_f gan_mat23f_set_parts_s Gan_Matrix22_f   B,
Gan_Vector2_f   p
 

Build 2x3 matrix from 2x2 matrix and column 2-vector.

Build 2x3 matrix from 2x2 matrix B and column 2-vector p, which are respectively inserted in the left-hand and right-hand parts of the 2x3 matrix. The arrangement is thus

Returns:
Result as a new 2x3 matrix.

Gan_Matrix33* gan_mat33_set_cols_q Gan_Matrix33   A,
Gan_Vector3   p,
Gan_Vector3   q,
Gan_Vector3   r
 

Macro: Build 3x3 matrix from 3-vector columns.

Build 3x3 matrix A from 3-vector columns p, q and r. The arrangement can be written

Returns:
Pointer to filled matrix A.

Gan_Matrix33 gan_mat33_set_cols_s Gan_Vector3   p,
Gan_Vector3   q,
Gan_Vector3   r
 

Build 3x3 matrix from 3-vector columns.

Build 3x3 matrix from 3-vector columns p, q and r. The arrangement can be written

Returns:
Filled matrix.

Gan_Matrix33* gan_mat33_set_parts_q Gan_Matrix33   A,
Gan_Matrix22   B,
Gan_Vector2   p,
Gan_Vector2   q,
double    s
 

Macro: Build a 3x3 matrix from parts.

Build 3x3 matrix from 2x2 matrix B, column 2-vector p, row 2-vector q and scalar s, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of A. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_Matrix33 gan_mat33_set_parts_s Gan_Matrix22   B,
Gan_Vector2   p,
Gan_Vector2   q,
double    s
 

Build a 3x3 matrix from parts.

Build 3x3 matrix from 2x2 matrix B, column 2-vector p, row 2-vector q and scalar s, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of A. The arrangement of the matrix is

If p and/or q are passed as NULL, the corresponding parts of the result are filled with zeros.

Returns:
Pointer to filled matrix A.

Gan_Matrix33* gan_mat33_set_rows_q Gan_Matrix33   A,
Gan_Vector3   p,
Gan_Vector3   q,
Gan_Vector3   r
 

Macro: Build 3x3 matrix from 3-vector rows.

Build 3x3 matrix A from 3-vector rows p, q and r. The arrangement can be written

Returns:
Pointer to filled matrix A.

Gan_Matrix33 gan_mat33_set_rows_s Gan_Vector3   p,
Gan_Vector3   q,
Gan_Vector3   r
 

Build 3x3 matrix from 3-vector rows.

Build 3x3 matrix from 3-vector rows p, q and r. The arrangement can be written

Returns:
Filled matrix.

Gan_Matrix33_f* gan_mat33f_set_cols_q Gan_Matrix33_f   A,
Gan_Vector3_f   p,
Gan_Vector3_f   q,
Gan_Vector3_f   r
 

Macro: Build 3x3 matrix from 3-vector columns.

Build 3x3 matrix A from 3-vector columns p, q and r. The arrangement can be written

Returns:
Pointer to filled matrix A.

Gan_Matrix33_f gan_mat33f_set_cols_s Gan_Vector3_f   p,
Gan_Vector3_f   q,
Gan_Vector3_f   r
 

Build 3x3 matrix from 3-vector columns.

Build 3x3 matrix from 3-vector columns p, q and r. The arrangement can be written

Returns:
Filled matrix.

Gan_Matrix33_f* gan_mat33f_set_parts_q Gan_Matrix33_f   A,
Gan_Matrix22_f   B,
Gan_Vector2_f   p,
Gan_Vector2_f   q,
float    s
 

Macro: Build a 3x3 matrix from parts.

Build 3x3 matrix from 2x2 matrix B, column 2-vector p, row 2-vector q and scalar s, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of A. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_Matrix33_f gan_mat33f_set_parts_s Gan_Matrix22_f   B,
Gan_Vector2_f   p,
Gan_Vector2_f   q,
float    s
 

Build a 3x3 matrix from parts.

Build 3x3 matrix from 2x2 matrix B, column 2-vector p, row 2-vector q and scalar s, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of A. The arrangement of the matrix is

If p and/or q are passed as NULL, the corresponding parts of the result are filled with zeros.

Returns:
Pointer to filled matrix A.

Gan_Matrix33_f* gan_mat33f_set_rows_q Gan_Matrix33_f   A,
Gan_Vector3_f   p,
Gan_Vector3_f   q,
Gan_Vector3_f   r
 

Macro: Build 3x3 matrix from 3-vector rows.

Build 3x3 matrix A from 3-vector rows p, q and r. The arrangement can be written

Returns:
Pointer to filled matrix A.

Gan_Matrix33_f gan_mat33f_set_rows_s Gan_Vector3_f   p,
Gan_Vector3_f   q,
Gan_Vector3_f   r
 

Build 3x3 matrix from 3-vector rows.

Build 3x3 matrix from 3-vector rows p, q and r. The arrangement can be written

Returns:
Filled matrix.

Gan_Matrix34* gan_mat34_set_cols_q Gan_Matrix34   A,
Gan_Vector3   p,
Gan_Vector3   q,
Gan_Vector3   r,
Gan_Vector3   s
 

Macro: Build 3x4 matrix from 3-vector columns.

Build 3x4 matrix A from 3-vector columns p, q, r and s. The arrangement can be written

Returns:
Pointer to filled matrix A.

Gan_Matrix34 gan_mat34_set_cols_s Gan_Vector3   p,
Gan_Vector3   q,
Gan_Vector3   r,
Gan_Vector3   s
 

Build 3x4 matrix from 3-vector columns.

Build 3x4 matrix from 3-vector columns p, q, r and s. The arrangement can be written

Returns:
Filled matrix.

Gan_Matrix34* gan_mat34_set_parts_q Gan_Matrix34   A,
Gan_Matrix33   B,
Gan_Vector3   p
 

Macro: Build 3x4 matrix from 3x3 matrix and column 3-vector.

Build 3x4 matrix A from 3x3 matrix B and column 3-vector p, which are respectively inserted in the left-hand and right-hand parts of the 3x4 matrix. The arrangement is thus

Returns:
Pointer to result 3x4 matrix A.

Gan_Matrix34 gan_mat34_set_parts_s Gan_Matrix33   B,
Gan_Vector3   p
 

Build 3x4 matrix from 3x3 matrix and column 3-vector.

Build 3x4 matrix from 3x3 matrix B and column 3-vector p, which are respectively inserted in the left-hand and right-hand parts of the 3x4 matrix. The arrangement is thus

Returns:
Result as a new 3x4 matrix.

Gan_Matrix34* gan_mat34_set_rows_q Gan_Matrix34   A,
Gan_Vector4   p,
Gan_Vector4   q,
Gan_Vector4   r
 

Macro: Build 3x4 matrix from 4-vector rows.

Build 3x4 matrix A from 4-vector rows p, q and r. The arrangement can be written

Returns:
Pointer to filled matrix A.

Gan_Matrix34 gan_mat34_set_rows_s Gan_Vector4   p,
Gan_Vector4   q,
Gan_Vector4   r
 

Build 3x4 matrix from 4-vector rows.

Build 3x4 matrix from 4-vector rows p, q and r. The arrangement can be written

Returns:
Filled matrix.

Gan_Matrix34_f* gan_mat34f_set_cols_q Gan_Matrix34_f   A,
Gan_Vector3_f   p,
Gan_Vector3_f   q,
Gan_Vector3_f   r,
Gan_Vector3_f   s
 

Macro: Build 3x4 matrix from 3-vector columns.

Build 3x4 matrix A from 3-vector columns p, q, r and s. The arrangement can be written

Returns:
Pointer to filled matrix A.

Gan_Matrix34_f gan_mat34f_set_cols_s Gan_Vector3_f   p,
Gan_Vector3_f   q,
Gan_Vector3_f   r,
Gan_Vector3_f   s
 

Build 3x4 matrix from 3-vector columns.

Build 3x4 matrix from 3-vector columns p, q, r and s. The arrangement can be written

Returns:
Filled matrix.

Gan_Matrix34_f* gan_mat34f_set_parts_q Gan_Matrix34_f   A,
Gan_Matrix33_f   B,
Gan_Vector3_f   p
 

Macro: Build 3x4 matrix from 3x3 matrix and column 3-vector.

Build 3x4 matrix A from 3x3 matrix B and column 3-vector p, which are respectively inserted in the left-hand and right-hand parts of the 3x4 matrix. The arrangement is thus

Returns:
Pointer to result 3x4 matrix A.

Gan_Matrix34_f gan_mat34f_set_parts_s Gan_Matrix33_f   B,
Gan_Vector3_f   p
 

Build 3x4 matrix from 3x3 matrix and column 3-vector.

Build 3x4 matrix from 3x3 matrix B and column 3-vector p, which are respectively inserted in the left-hand and right-hand parts of the 3x4 matrix. The arrangement is thus

Returns:
Result as a new 3x4 matrix.

Gan_Matrix34_f* gan_mat34f_set_rows_q Gan_Matrix34_f   A,
Gan_Vector4_f   p,
Gan_Vector4_f   q,
Gan_Vector4_f   r
 

Macro: Build 3x4 matrix from 4-vector rows.

Build 3x4 matrix A from 4-vector rows p, q and r. The arrangement can be written

Returns:
Pointer to filled matrix A.

Gan_Matrix34_f gan_mat34f_set_rows_s Gan_Vector4_f   p,
Gan_Vector4_f   q,
Gan_Vector4_f   r
 

Build 3x4 matrix from 4-vector rows.

Build 3x4 matrix from 4-vector rows p, q and r. The arrangement can be written

Returns:
Filled matrix.

Gan_Matrix44* gan_mat44_set_blocks_q Gan_Matrix44   M,
Gan_Matrix22   A,
Gan_Matrix22   B,
Gan_Matrix22   C,
Gan_Matrix22   D
 

Macro: Build a 4x4 matrix from 2x2 blocks.

Build 4x4 matrix M from 2x2 matrix blocks A, B, C and D, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of the 4x4 matrix. The arrangement is

Returns:
Pointer to filled matrix M.

Gan_Matrix44 gan_mat44_set_blocks_s Gan_Matrix22   A,
Gan_Matrix22   B,
Gan_Matrix22   C,
Gan_Matrix22   D
 

Build a 4x4 matrix from 2x2 blocks.

Build 4x4 matrix from 2x2 matrix blocks A, B, C and D, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of the 4x4 matrix. The arrangement is

If any of A, B, C or D are passed as NULL, the corresponding parts of the result are filled with zeros.

Returns:
Filled matrix.

Gan_Matrix44* gan_mat44_set_parts_q Gan_Matrix44   A,
Gan_Matrix33   B,
Gan_Vector3   p,
Gan_Vector3   q,
double    s
 

Macro: Build a 4x4 matrix from parts.

Build 4x4 matrix from 3x3 matrix B, column 3-vector p, row 3-vector q and scalar s, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of A. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_Matrix44 gan_mat44_set_parts_s Gan_Matrix33   B,
Gan_Vector3   p,
Gan_Vector3   q,
double    s
 

Build a 4x4 matrix from parts.

Build 4x4 matrix from 3x3 matrix B, column 3-vector p, row 3-vector q and scalar s, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of A. The arrangement of the matrix is

If p and/or q are passed as NULL, the corresponding parts of the result are filled with zeros.

Returns:
Filled matrix.

Gan_Matrix44_f* gan_mat44f_set_blocks_q Gan_Matrix44_f   M,
Gan_Matrix22_f   A,
Gan_Matrix22_f   B,
Gan_Matrix22_f   C,
Gan_Matrix22_f   D
 

Macro: Build a 4x4 matrix from 2x2 blocks.

Build 4x4 matrix M from 2x2 matrix blocks A, B, C and D, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of the 4x4 matrix. The arrangement is

Returns:
Pointer to filled matrix M.

Gan_Matrix44_f gan_mat44f_set_blocks_s Gan_Matrix22_f   A,
Gan_Matrix22_f   B,
Gan_Matrix22_f   C,
Gan_Matrix22_f   D
 

Build a 4x4 matrix from 2x2 blocks.

Build 4x4 matrix from 2x2 matrix blocks A, B, C and D, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of the 4x4 matrix. The arrangement is

If any of A, B, C or D are passed as NULL, the corresponding parts of the result are filled with zeros.

Returns:
Filled matrix.

Gan_Matrix44_f* gan_mat44f_set_parts_q Gan_Matrix44_f   A,
Gan_Matrix33_f   B,
Gan_Vector3_f   p,
Gan_Vector3_f   q,
float    s
 

Macro: Build a 4x4 matrix from parts.

Build 4x4 matrix from 3x3 matrix B, column 3-vector p, row 3-vector q and scalar s, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of A. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_Matrix44_f gan_mat44f_set_parts_s Gan_Matrix33_f   B,
Gan_Vector3_f   p,
Gan_Vector3_f   q,
float    s
 

Build a 4x4 matrix from parts.

Build 4x4 matrix from 3x3 matrix B, column 3-vector p, row 3-vector q and scalar s, which are respectively inserted in the top-left, top-right, bottom-left and bottom-right parts of A. The arrangement of the matrix is

If p and/or q are passed as NULL, the corresponding parts of the result are filled with zeros.

Returns:
Filled matrix.

Gan_SquMatrix33* gan_symmat33_set_parts_q Gan_SquMatrix33   A,
Gan_SquMatrix22   B,
Gan_Vector2   p,
double    s
 

Macro: Build a 3x3 symmetric matrix from parts.

Build 3x3 symmetric matrix A from 2x2 symmetric matrix B, 2-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left/top-right and bottom-right parts of the 3x3 matrix. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_SquMatrix33 gan_symmat33_set_parts_s Gan_SquMatrix22   B,
Gan_Vector2   p,
double    s
 

Build a 3x3 symmetric matrix from parts.

Build 3x3 symmetric matrix from 2x2 symmetric matrix B, 2-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left/top-right and bottom-right parts of the 3x3 matrix. The arrangement of the matrix is

If p is passed as NULL, the corresponding part of the result is filled with zeros.

Returns:
Filled matrix.

Gan_SquMatrix33_f* gan_symmat33f_set_parts_q Gan_SquMatrix33_f   A,
Gan_SquMatrix22_f   B,
Gan_Vector2_f   p,
float    s
 

Macro: Build a 3x3 symmetric matrix from parts.

Build 3x3 symmetric matrix A from 2x2 symmetric matrix B, 2-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left/top-right and bottom-right parts of the 3x3 matrix. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_SquMatrix33_f gan_symmat33f_set_parts_s Gan_SquMatrix22_f   B,
Gan_Vector2_f   p,
float    s
 

Build a 3x3 symmetric matrix from parts.

Build 3x3 symmetric matrix from 2x2 symmetric matrix B, 2-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left/top-right and bottom-right parts of the 3x3 matrix. The arrangement of the matrix is

If p is passed as NULL, the corresponding part of the result is filled with zeros.

Returns:
Filled matrix.

Gan_SquMatrix44* gan_symmat44_set_blocks_q Gan_SquMatrix44   A,
Gan_SquMatrix22   B,
Gan_Matrix22   C,
Gan_SquMatrix22   D
 

Macro: Build a 4x4 symmetric matrix from 2x2 blocks.

Build 4x4 symmetric matrix A from 2x2 symmetric matrix B, generic 2x2 matrix C and 2x2 symmetric matrix D, which are respectively inserted in the top-left, top-right (or transposed bottom-left) and bottom-right parts of A. The arrangement is

Returns:
Pointer to filled matrix A.

Gan_SquMatrix44 gan_symmat44_set_blocks_s Gan_SquMatrix22   B,
Gan_Matrix22   C,
Gan_SquMatrix22   D
 

Build a 4x4 symmetric matrix from 2x2 blocks.

Build 4x4 symmetric matrix from 2x2 symmetric matrix B, generic 2x2 matrix C and 2x2 symmetric matrix D, which are respectively inserted in the top-left, top-right (or transposed bottom-left) and bottom-right parts of the result 4x4 symmetric matrix. The arrangement is

If any of B, C or D are passed as NULL, the corresponding parts of the result are filled with zeros.

Returns:
Filled 4x4 symmetric matrix.

Gan_SquMatrix44* gan_symmat44_set_parts_q Gan_SquMatrix44   A,
Gan_SquMatrix33   B,
Gan_Vector3   p,
double    s
 

Macro: Build a 4x4 symmetric matrix from parts.

Build 4x4 symmetric matrix A from 3x3 symmetric matrix B, 3-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left/top-right and bottom-right parts of the 4x4 matrix. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_SquMatrix44 gan_symmat44_set_parts_s Gan_SquMatrix33   B,
Gan_Vector3   p,
double    s
 

Build a 4x4 symmetric matrix from parts.

Build 4x4 symmetric matrix from 3x3 symmetric matrix B, 3-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left/top-right and bottom-right parts of the 4x4 matrix. The arrangement of the matrix is

If p is passed as NULL, the corresponding part of the result is filled with zeros.

Returns:
Filled matrix.

Gan_SquMatrix44_f* gan_symmat44f_set_blocks_q Gan_SquMatrix44_f   A,
Gan_SquMatrix22_f   B,
Gan_Matrix22_f   C,
Gan_SquMatrix22_f   D
 

Macro: Build a 4x4 symmetric matrix from 2x2 blocks.

Build 4x4 symmetric matrix A from 2x2 symmetric matrix B, generic 2x2 matrix C and 2x2 symmetric matrix D, which are respectively inserted in the top-left, top-right (or transposed bottom-left) and bottom-right parts of A. The arrangement is

Returns:
Pointer to filled matrix A.

Gan_SquMatrix44_f gan_symmat44f_set_blocks_s Gan_SquMatrix22_f   B,
Gan_Matrix22_f   C,
Gan_SquMatrix22_f   D
 

Build a 4x4 symmetric matrix from 2x2 blocks.

Build 4x4 symmetric matrix from 2x2 symmetric matrix B, generic 2x2 matrix C and 2x2 symmetric matrix D, which are respectively inserted in the top-left, top-right (or transposed bottom-left) and bottom-right parts of the result 4x4 symmetric matrix. The arrangement is

If any of B, C or D are passed as NULL, the corresponding parts of the result are filled with zeros.

Returns:
Filled 4x4 symmetric matrix.

Gan_SquMatrix44_f* gan_symmat44f_set_parts_q Gan_SquMatrix44_f   A,
Gan_SquMatrix33_f   B,
Gan_Vector3_f   p,
float    s
 

Macro: Build a 4x4 symmetric matrix from parts.

Build 4x4 symmetric matrix A from 3x3 symmetric matrix B, 3-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left/top-right and bottom-right parts of the 4x4 matrix. The arrangement of the matrix is

Returns:
Pointer to filled matrix A.

Gan_SquMatrix44_f gan_symmat44f_set_parts_s Gan_SquMatrix33_f   B,
Gan_Vector3_f   p,
float    s
 

Build a 4x4 symmetric matrix from parts.

Build 4x4 symmetric matrix from 3x3 symmetric matrix B, 3-vector p, and scalar s, which are respectively inserted in the top-left, bottom-left/top-right and bottom-right parts of the 4x4 matrix. The arrangement of the matrix is

If p is passed as NULL, the corresponding part of the result is filled with zeros.

Returns:
Filled matrix.


Generated on Mon Oct 13 16:14:57 2003 by doxygen1.3-rc1