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

Invert a Fixed Size Matrix
[Fixed Size Matrices]


Functions

Gan_Matrix22gan_mat22_invert (Gan_Matrix22 *A, Gan_Matrix22 *B, int *error_code)
 Invert 2x2 matrix.
Gan_SquMatrix22gan_symmat22_invert (Gan_SquMatrix22 *A, Gan_SquMatrix22 *B, int *error_code)
 Compute inverse of symmetric 2x2 matrix.
Gan_SquMatrix22gan_ltmat22_invert (Gan_SquMatrix22 *A, Gan_SquMatrix22 *B, int *error_code)
 Compute inverse of lower triangular 2x2 matrix.
Gan_Matrix22 gan_mat22_invert_s (const Gan_Matrix22 *A)
 Invert fixed size square matrix.
Gan_SquMatrix22 gan_symmat22_invert_s (const Gan_SquMatrix22 *A)
 Invert fixed size square matrix.
Gan_SquMatrix22 gan_ltmat22_invert_s (const Gan_SquMatrix22 *A)
 Invert fixed size square matrix.
Gan_Matrix22gan_mat22_invert_q (Gan_Matrix22 *A, Gan_Matrix22 *B)
 Macro: Invert fixed size square matrix.
Gan_Matrix22gan_mat22_invert_i (Gan_Matrix22 *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix22gan_symmat22_invert_q (Gan_SquMatrix22 *A, Gan_SquMatrix22 *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix22gan_symmat22_invert_i (Gan_SquMatrix22 *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix22gan_ltmat22_invert_q (Gan_SquMatrix22 *A, Gan_SquMatrix22 *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix22gan_ltmat22_invert_i (Gan_SquMatrix22 *A)
 Macro: Invert fixed size square matrix in-place.
Gan_Matrix22_fgan_mat22f_invert (Gan_Matrix22_f *A, Gan_Matrix22_f *B, int *error_code)
 Invert 2x2 matrix.
Gan_SquMatrix22_fgan_symmat22f_invert (Gan_SquMatrix22_f *A, Gan_SquMatrix22_f *B, int *error_code)
 Compute inverse of symmetric 2x2 matrix.
Gan_SquMatrix22_fgan_ltmat22f_invert (Gan_SquMatrix22_f *A, Gan_SquMatrix22_f *B, int *error_code)
 Compute inverse of lower triangular 2x2 matrix.
Gan_Matrix22_f gan_mat22f_invert_s (const Gan_Matrix22_f *A)
 Invert fixed size square matrix.
Gan_SquMatrix22_f gan_symmat22f_invert_s (const Gan_SquMatrix22_f *A)
 Invert fixed size square matrix.
Gan_SquMatrix22_f gan_ltmat22f_invert_s (const Gan_SquMatrix22_f *A)
 Invert fixed size square matrix.
Gan_Matrix22_fgan_mat22f_invert_q (Gan_Matrix22_f *A, Gan_Matrix22_f *B)
 Macro: Invert fixed size square matrix.
Gan_Matrix22_fgan_mat22f_invert_i (Gan_Matrix22_f *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix22_fgan_symmat22f_invert_q (Gan_SquMatrix22_f *A, Gan_SquMatrix22_f *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix22_fgan_symmat22f_invert_i (Gan_SquMatrix22_f *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix22_fgan_ltmat22f_invert_q (Gan_SquMatrix22_f *A, Gan_SquMatrix22_f *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix22_fgan_ltmat22f_invert_i (Gan_SquMatrix22_f *A)
 Macro: Invert fixed size square matrix in-place.
Gan_Bool gan_mat23h_invert_q (const Gan_Matrix23 *A, double a, Gan_Matrix23 *B, double *b)
 Compute inverse of completed 3x3 matrix.
Gan_Matrix23 gan_mat23h_invert_s (const Gan_Matrix23 *A, double a, double *b)
 Compute inverse of completed 3x3 matrix.
Gan_Bool gan_mat23hf_invert_q (const Gan_Matrix23_f *A, float a, Gan_Matrix23_f *B, float *b)
 Compute inverse of completed 3x3 matrix.
Gan_Matrix23_f gan_mat23hf_invert_s (const Gan_Matrix23_f *A, float a, float *b)
 Compute inverse of completed 3x3 matrix.
Gan_Matrix33gan_mat33_invert (Gan_Matrix33 *A, Gan_Matrix33 *B, int *error_code)
 Invert 3x3 matrix.
Gan_SquMatrix33gan_symmat33_invert (Gan_SquMatrix33 *A, Gan_SquMatrix33 *B, int *error_code)
 Compute inverse of symmetric 3x3 matrix.
Gan_SquMatrix33gan_ltmat33_invert (Gan_SquMatrix33 *A, Gan_SquMatrix33 *B, int *error_code)
 Compute inverse of lower triangular 3x3 matrix.
Gan_Matrix33 gan_mat33_invert_s (const Gan_Matrix33 *A)
 Invert fixed size square matrix.
Gan_SquMatrix33 gan_symmat33_invert_s (const Gan_SquMatrix33 *A)
 Invert fixed size square matrix.
Gan_SquMatrix33 gan_ltmat33_invert_s (const Gan_SquMatrix33 *A)
 Invert fixed size square matrix.
Gan_Matrix33gan_mat33_invert_q (Gan_Matrix33 *A, Gan_Matrix33 *B)
 Macro: Invert fixed size square matrix.
Gan_Matrix33gan_mat33_invert_i (Gan_Matrix33 *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix33gan_symmat33_invert_q (Gan_SquMatrix33 *A, Gan_SquMatrix33 *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix33gan_symmat33_invert_i (Gan_SquMatrix33 *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix33gan_ltmat33_invert_q (Gan_SquMatrix33 *A, Gan_SquMatrix33 *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix33gan_ltmat33_invert_i (Gan_SquMatrix33 *A)
 Macro: Invert fixed size square matrix in-place.
Gan_Matrix33_fgan_mat33f_invert (Gan_Matrix33_f *A, Gan_Matrix33_f *B, int *error_code)
 Invert 3x3 matrix.
Gan_SquMatrix33_fgan_symmat33f_invert (Gan_SquMatrix33_f *A, Gan_SquMatrix33_f *B, int *error_code)
 Compute inverse of symmetric 3x3 matrix.
Gan_SquMatrix33_fgan_ltmat33f_invert (Gan_SquMatrix33_f *A, Gan_SquMatrix33_f *B, int *error_code)
 Compute inverse of lower triangular 3x3 matrix.
Gan_Matrix33_f gan_mat33f_invert_s (const Gan_Matrix33_f *A)
 Invert fixed size square matrix.
Gan_SquMatrix33_f gan_symmat33f_invert_s (const Gan_SquMatrix33_f *A)
 Invert fixed size square matrix.
Gan_SquMatrix33_f gan_ltmat33f_invert_s (const Gan_SquMatrix33_f *A)
 Invert fixed size square matrix.
Gan_Matrix33_fgan_mat33f_invert_q (Gan_Matrix33_f *A, Gan_Matrix33_f *B)
 Macro: Invert fixed size square matrix.
Gan_Matrix33_fgan_mat33f_invert_i (Gan_Matrix33_f *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix33_fgan_symmat33f_invert_q (Gan_SquMatrix33_f *A, Gan_SquMatrix33_f *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix33_fgan_symmat33f_invert_i (Gan_SquMatrix33_f *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix33_fgan_ltmat33f_invert_q (Gan_SquMatrix33_f *A, Gan_SquMatrix33_f *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix33_fgan_ltmat33f_invert_i (Gan_SquMatrix33_f *A)
 Macro: Invert fixed size square matrix in-place.
Gan_Bool gan_mat34h_invert_q (const Gan_Matrix34 *A, double a, Gan_Matrix34 *B, double *b)
 Compute inverse of completed 4x4 matrix.
Gan_Matrix34 gan_mat34h_invert_s (const Gan_Matrix34 *A, double a, double *b)
 Compute inverse of completed 4x4 matrix.
Gan_Bool gan_mat34hf_invert_q (const Gan_Matrix34_f *A, float a, Gan_Matrix34_f *B, float *b)
 Compute inverse of completed 4x4 matrix.
Gan_Matrix34_f gan_mat34hf_invert_s (const Gan_Matrix34_f *A, float a, float *b)
 Compute inverse of completed 4x4 matrix.
Gan_Matrix44gan_mat44_invert (Gan_Matrix44 *A, Gan_Matrix44 *B, int *error_code)
 Invert 4x4 matrix.
Gan_SquMatrix44gan_symmat44_invert (Gan_SquMatrix44 *A, Gan_SquMatrix44 *B, int *error_code)
 Compute inverse of symmetric 4x4 matrix.
Gan_SquMatrix44gan_ltmat44_invert (Gan_SquMatrix44 *A, Gan_SquMatrix44 *B, int *error_code)
 Compute inverse of lower triangular 4x4 matrix.
Gan_Matrix44 gan_mat44_invert_s (const Gan_Matrix44 *A)
 Invert fixed size square matrix.
Gan_SquMatrix44 gan_symmat44_invert_s (const Gan_SquMatrix44 *A)
 Invert fixed size square matrix.
Gan_SquMatrix44 gan_ltmat44_invert_s (const Gan_SquMatrix44 *A)
 Invert fixed size square matrix.
Gan_Matrix44gan_mat44_invert_q (Gan_Matrix44 *A, Gan_Matrix44 *B)
 Macro: Invert fixed size square matrix.
Gan_Matrix44gan_mat44_invert_i (Gan_Matrix44 *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix44gan_symmat44_invert_q (Gan_SquMatrix44 *A, Gan_SquMatrix44 *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix44gan_symmat44_invert_i (Gan_SquMatrix44 *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix44gan_ltmat44_invert_q (Gan_SquMatrix44 *A, Gan_SquMatrix44 *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix44gan_ltmat44_invert_i (Gan_SquMatrix44 *A)
 Macro: Invert fixed size square matrix in-place.
Gan_Matrix44_fgan_mat44f_invert (Gan_Matrix44_f *A, Gan_Matrix44_f *B, int *error_code)
 Invert 4x4 matrix.
Gan_SquMatrix44_fgan_symmat44f_invert (Gan_SquMatrix44_f *A, Gan_SquMatrix44_f *B, int *error_code)
 Compute inverse of symmetric 4x4 matrix.
Gan_SquMatrix44_fgan_ltmat44f_invert (Gan_SquMatrix44_f *A, Gan_SquMatrix44_f *B, int *error_code)
 Compute inverse of lower triangular 4x4 matrix.
Gan_Matrix44_f gan_mat44f_invert_s (const Gan_Matrix44_f *A)
 Invert fixed size square matrix.
Gan_SquMatrix44_f gan_symmat44f_invert_s (const Gan_SquMatrix44_f *A)
 Invert fixed size square matrix.
Gan_SquMatrix44_f gan_ltmat44f_invert_s (const Gan_SquMatrix44_f *A)
 Invert fixed size square matrix.
Gan_Matrix44_fgan_mat44f_invert_q (Gan_Matrix44_f *A, Gan_Matrix44_f *B)
 Macro: Invert fixed size square matrix.
Gan_Matrix44_fgan_mat44f_invert_i (Gan_Matrix44_f *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix44_fgan_symmat44f_invert_q (Gan_SquMatrix44_f *A, Gan_SquMatrix44_f *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix44_fgan_symmat44f_invert_i (Gan_SquMatrix44_f *A)
 Macro: Invert fixed size square matrix in-place.
Gan_SquMatrix44_fgan_ltmat44f_invert_q (Gan_SquMatrix44_f *A, Gan_SquMatrix44_f *B)
 Macro: Invert fixed size square matrix.
Gan_SquMatrix44_fgan_ltmat44f_invert_i (Gan_SquMatrix44_f *A)
 Macro: Invert fixed size square matrix in-place.

Function Documentation

Gan_SquMatrix22* gan_ltmat22_invert Gan_SquMatrix22 A,
Gan_SquMatrix22 B,
int *  error_code
 

Compute inverse of lower triangular 2x2 matrix.

Compute inverse $ A^{-1} $ of lower triangular 2x2 matrix A, writing the result into matrix B.

Returns:
Pointer to B on success, NULL on failure.

Gan_SquMatrix22* gan_ltmat22_invert_i Gan_SquMatrix22 A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix22* gan_ltmat22_invert_q Gan_SquMatrix22 A,
Gan_SquMatrix22 B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix22 gan_ltmat22_invert_s const Gan_SquMatrix22 A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_SquMatrix22_f* gan_ltmat22f_invert Gan_SquMatrix22_f A,
Gan_SquMatrix22_f B,
int *  error_code
 

Compute inverse of lower triangular 2x2 matrix.

Compute inverse $ A^{-1} $ of lower triangular 2x2 matrix A, writing the result into matrix B.

Returns:
Pointer to B on success, NULL on failure.

Gan_SquMatrix22_f* gan_ltmat22f_invert_i Gan_SquMatrix22_f A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix22_f* gan_ltmat22f_invert_q Gan_SquMatrix22_f A,
Gan_SquMatrix22_f B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix22_f gan_ltmat22f_invert_s const Gan_SquMatrix22_f A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_SquMatrix33* gan_ltmat33_invert Gan_SquMatrix33 A,
Gan_SquMatrix33 B,
int *  error_code
 

Compute inverse of lower triangular 3x3 matrix.

Compute inverse $ A^{-1} $ of lower triangular 3x3 matrix A, writing the result into matrix B.

Returns:
Pointer to B on success, NULL on failure.

Gan_SquMatrix33* gan_ltmat33_invert_i Gan_SquMatrix33 A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix33* gan_ltmat33_invert_q Gan_SquMatrix33 A,
Gan_SquMatrix33 B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix33 gan_ltmat33_invert_s const Gan_SquMatrix33 A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_SquMatrix33_f* gan_ltmat33f_invert Gan_SquMatrix33_f A,
Gan_SquMatrix33_f B,
int *  error_code
 

Compute inverse of lower triangular 3x3 matrix.

Compute inverse $ A^{-1} $ of lower triangular 3x3 matrix A, writing the result into matrix B.

Returns:
Pointer to B on success, NULL on failure.

Gan_SquMatrix33_f* gan_ltmat33f_invert_i Gan_SquMatrix33_f A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix33_f* gan_ltmat33f_invert_q Gan_SquMatrix33_f A,
Gan_SquMatrix33_f B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix33_f gan_ltmat33f_invert_s const Gan_SquMatrix33_f A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_SquMatrix44* gan_ltmat44_invert Gan_SquMatrix44 A,
Gan_SquMatrix44 B,
int *  error_code
 

Compute inverse of lower triangular 4x4 matrix.

Compute inverse $ A^{-1} $ of lower triangular 4x4 matrix A, writing the result into matrix B.

Returns:
Pointer to B on success, NULL on failure.

Gan_SquMatrix44* gan_ltmat44_invert_i Gan_SquMatrix44 A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix44* gan_ltmat44_invert_q Gan_SquMatrix44 A,
Gan_SquMatrix44 B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix44 gan_ltmat44_invert_s const Gan_SquMatrix44 A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_SquMatrix44_f* gan_ltmat44f_invert Gan_SquMatrix44_f A,
Gan_SquMatrix44_f B,
int *  error_code
 

Compute inverse of lower triangular 4x4 matrix.

Compute inverse $ A^{-1} $ of lower triangular 4x4 matrix A, writing the result into matrix B.

Returns:
Pointer to B on success, NULL on failure.

Gan_SquMatrix44_f* gan_ltmat44f_invert_i Gan_SquMatrix44_f A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix44_f* gan_ltmat44f_invert_q Gan_SquMatrix44_f A,
Gan_SquMatrix44_f B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix44_f gan_ltmat44f_invert_s const Gan_SquMatrix44_f A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_Matrix22* gan_mat22_invert Gan_Matrix22 A,
Gan_Matrix22 B,
int *  error_code
 

Invert 2x2 matrix.

Compute inverse $ A^{-1} $ of 2x2 matrix A, writing the result into matrix B, so that $ A B = I $.

Returns:
Result matrix B on success, NULL on error.

Gan_Matrix22* gan_mat22_invert_i Gan_Matrix22 A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_Matrix22* gan_mat22_invert_q Gan_Matrix22 A,
Gan_Matrix22 B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_Matrix22 gan_mat22_invert_s const Gan_Matrix22 A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_Matrix22_f* gan_mat22f_invert Gan_Matrix22_f A,
Gan_Matrix22_f B,
int *  error_code
 

Invert 2x2 matrix.

Compute inverse $ A^{-1} $ of 2x2 matrix A, writing the result into matrix B, so that $ A B = I $.

Returns:
Result matrix B on success, NULL on error.

Gan_Matrix22_f* gan_mat22f_invert_i Gan_Matrix22_f A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_Matrix22_f* gan_mat22f_invert_q Gan_Matrix22_f A,
Gan_Matrix22_f B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_Matrix22_f gan_mat22f_invert_s const Gan_Matrix22_f A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_Bool gan_mat23h_invert_q const Gan_Matrix23 A,
double  a,
Gan_Matrix23 B,
double *  b
 

Compute inverse of completed 3x3 matrix.

Given 2x3 matrix A and scalar value a, compute 2x3 matrix B and scalar b such that

\[ \left(\begin{array}{cc} \multicolumn{2}{c}{B} \\ 0^{\top} & b \end{array}\right) = \left(\begin{array}{cc} \multicolumn{2}{c}{A} \\ 0^{\top} & a \end{array}\right)^{-1} \]

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Matrix23 gan_mat23h_invert_s const Gan_Matrix23 A,
double  a,
double *  b
 

Compute inverse of completed 3x3 matrix.

Given 2x3 matrix A and scalar value a, compute 2x3 matrix B and scalar b such that

\[ \left(\begin{array}{cc} \multicolumn{2}{c}{B} \\ 0^{\top} & b \end{array}\right) = \left(\begin{array}{cc} \multicolumn{2}{c}{A} \\ 0^{\top} & a \end{array}\right)^{-1} \]

Returns:
Result matrix B as a new 2x3 matrix.

Gan_Bool gan_mat23hf_invert_q const Gan_Matrix23_f A,
float  a,
Gan_Matrix23_f B,
float *  b
 

Compute inverse of completed 3x3 matrix.

Given 2x3 matrix A and scalar value a, compute 2x3 matrix B and scalar b such that

\[ \left(\begin{array}{cc} \multicolumn{2}{c}{B} \\ 0^{\top} & b \end{array}\right) = \left(\begin{array}{cc} \multicolumn{2}{c}{A} \\ 0^{\top} & a \end{array}\right)^{-1} \]

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Matrix23_f gan_mat23hf_invert_s const Gan_Matrix23_f A,
float  a,
float *  b
 

Compute inverse of completed 3x3 matrix.

Given 2x3 matrix A and scalar value a, compute 2x3 matrix B and scalar b such that

\[ \left(\begin{array}{cc} \multicolumn{2}{c}{B} \\ 0^{\top} & b \end{array}\right) = \left(\begin{array}{cc} \multicolumn{2}{c}{A} \\ 0^{\top} & a \end{array}\right)^{-1} \]

Returns:
Result matrix B as a new 2x3 matrix.

Gan_Matrix33* gan_mat33_invert Gan_Matrix33 A,
Gan_Matrix33 B,
int *  error_code
 

Invert 3x3 matrix.

Compute inverse $ A^{-1} $ of 3x3 matrix A, writing the result into matrix B, so that $ A B = I $.

Returns:
Result matrix B on success, NULL on error.

Gan_Matrix33* gan_mat33_invert_i Gan_Matrix33 A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_Matrix33* gan_mat33_invert_q Gan_Matrix33 A,
Gan_Matrix33 B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_Matrix33 gan_mat33_invert_s const Gan_Matrix33 A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_Matrix33_f* gan_mat33f_invert Gan_Matrix33_f A,
Gan_Matrix33_f B,
int *  error_code
 

Invert 3x3 matrix.

Compute inverse $ A^{-1} $ of 3x3 matrix A, writing the result into matrix B, so that $ A B = I $.

Returns:
Result matrix B on success, NULL on error.

Gan_Matrix33_f* gan_mat33f_invert_i Gan_Matrix33_f A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_Matrix33_f* gan_mat33f_invert_q Gan_Matrix33_f A,
Gan_Matrix33_f B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_Matrix33_f gan_mat33f_invert_s const Gan_Matrix33_f A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_Bool gan_mat34h_invert_q const Gan_Matrix34 A,
double  a,
Gan_Matrix34 B,
double *  b
 

Compute inverse of completed 4x4 matrix.

Given 3x4 matrix A and scalar value a, compute 3x4 matrix B and scalar b such that

\[ \left(\begin{array}{cc} \multicolumn{2}{c}{B} \\ 0^{\top} & b \end{array}\right) = \left(\begin{array}{cc} \multicolumn{2}{c}{A} \\ 0^{\top} & a \end{array}\right)^{-1} \]

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Matrix34 gan_mat34h_invert_s const Gan_Matrix34 A,
double  a,
double *  b
 

Compute inverse of completed 4x4 matrix.

Given 3x4 matrix A and scalar value a, compute 3x4 matrix B and scalar b such that

\[ \left(\begin{array}{cc} \multicolumn{2}{c}{B} \\ 0^{\top} & b \end{array}\right) = \left(\begin{array}{cc} \multicolumn{2}{c}{A} \\ 0^{\top} & a \end{array}\right)^{-1} \]

Returns:
Result matrix B as a new 3x4 matrix.

Gan_Bool gan_mat34hf_invert_q const Gan_Matrix34_f A,
float  a,
Gan_Matrix34_f B,
float *  b
 

Compute inverse of completed 4x4 matrix.

Given 3x4 matrix A and scalar value a, compute 3x4 matrix B and scalar b such that

\[ \left(\begin{array}{cc} \multicolumn{2}{c}{B} \\ 0^{\top} & b \end{array}\right) = \left(\begin{array}{cc} \multicolumn{2}{c}{A} \\ 0^{\top} & a \end{array}\right)^{-1} \]

Returns:
GAN_TRUE on success, GAN_FALSE on failure.

Gan_Matrix34_f gan_mat34hf_invert_s const Gan_Matrix34_f A,
float  a,
float *  b
 

Compute inverse of completed 4x4 matrix.

Given 3x4 matrix A and scalar value a, compute 3x4 matrix B and scalar b such that

\[ \left(\begin{array}{cc} \multicolumn{2}{c}{B} \\ 0^{\top} & b \end{array}\right) = \left(\begin{array}{cc} \multicolumn{2}{c}{A} \\ 0^{\top} & a \end{array}\right)^{-1} \]

Returns:
Result matrix B as a new 3x4 matrix.

Gan_Matrix44* gan_mat44_invert Gan_Matrix44 A,
Gan_Matrix44 B,
int *  error_code
 

Invert 4x4 matrix.

Compute inverse $ A^{-1} $ of 4x4 matrix A, writing the result into matrix B, so that $ A B = I $.

Returns:
Result matrix B on success, NULL on error.

Gan_Matrix44* gan_mat44_invert_i Gan_Matrix44 A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_Matrix44* gan_mat44_invert_q Gan_Matrix44 A,
Gan_Matrix44 B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_Matrix44 gan_mat44_invert_s const Gan_Matrix44 A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_Matrix44_f* gan_mat44f_invert Gan_Matrix44_f A,
Gan_Matrix44_f B,
int *  error_code
 

Invert 4x4 matrix.

Compute inverse $ A^{-1} $ of 4x4 matrix A, writing the result into matrix B, so that $ A B = I $.

Returns:
Result matrix B on success, NULL on error.

Gan_Matrix44_f* gan_mat44f_invert_i Gan_Matrix44_f A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_Matrix44_f* gan_mat44f_invert_q Gan_Matrix44_f A,
Gan_Matrix44_f B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_Matrix44_f gan_mat44f_invert_s const Gan_Matrix44_f A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_SquMatrix22* gan_symmat22_invert Gan_SquMatrix22 A,
Gan_SquMatrix22 B,
int *  error_code
 

Compute inverse of symmetric 2x2 matrix.

Compute inverse $ A^{-1} $ of symmetric 2x2 matrix A, writing the result into matrix B, so that

\[ A B = B A = I \]

A must be non-singular.

Returns:
Pointer to result matrix B on success, NULL on failure.

Gan_SquMatrix22* gan_symmat22_invert_i Gan_SquMatrix22 A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix22* gan_symmat22_invert_q Gan_SquMatrix22 A,
Gan_SquMatrix22 B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix22 gan_symmat22_invert_s const Gan_SquMatrix22 A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_SquMatrix22_f* gan_symmat22f_invert Gan_SquMatrix22_f A,
Gan_SquMatrix22_f B,
int *  error_code
 

Compute inverse of symmetric 2x2 matrix.

Compute inverse $ A^{-1} $ of symmetric 2x2 matrix A, writing the result into matrix B, so that

\[ A B = B A = I \]

A must be non-singular.

Returns:
Pointer to result matrix B on success, NULL on failure.

Gan_SquMatrix22_f* gan_symmat22f_invert_i Gan_SquMatrix22_f A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix22_f* gan_symmat22f_invert_q Gan_SquMatrix22_f A,
Gan_SquMatrix22_f B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix22_f gan_symmat22f_invert_s const Gan_SquMatrix22_f A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_SquMatrix33* gan_symmat33_invert Gan_SquMatrix33 A,
Gan_SquMatrix33 B,
int *  error_code
 

Compute inverse of symmetric 3x3 matrix.

Compute inverse $ A^{-1} $ of symmetric 3x3 matrix A, writing the result into matrix B, so that

\[ A B = B A = I \]

A must be non-singular.

Returns:
Pointer to result matrix B on success, NULL on failure.

Gan_SquMatrix33* gan_symmat33_invert_i Gan_SquMatrix33 A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix33* gan_symmat33_invert_q Gan_SquMatrix33 A,
Gan_SquMatrix33 B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix33 gan_symmat33_invert_s const Gan_SquMatrix33 A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_SquMatrix33_f* gan_symmat33f_invert Gan_SquMatrix33_f A,
Gan_SquMatrix33_f B,
int *  error_code
 

Compute inverse of symmetric 3x3 matrix.

Compute inverse $ A^{-1} $ of symmetric 3x3 matrix A, writing the result into matrix B, so that

\[ A B = B A = I \]

A must be non-singular.

Returns:
Pointer to result matrix B on success, NULL on failure.

Gan_SquMatrix33_f* gan_symmat33f_invert_i Gan_SquMatrix33_f A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix33_f* gan_symmat33f_invert_q Gan_SquMatrix33_f A,
Gan_SquMatrix33_f B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix33_f gan_symmat33f_invert_s const Gan_SquMatrix33_f A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_SquMatrix44* gan_symmat44_invert Gan_SquMatrix44 A,
Gan_SquMatrix44 B,
int *  error_code
 

Compute inverse of symmetric 4x4 matrix.

Compute inverse $ A^{-1} $ of symmetric 4x4 matrix A, writing the result into matrix B, so that

\[ A B = B A = I \]

A must be non-singular.

Returns:
Pointer to result matrix B on success, NULL on failure.

Gan_SquMatrix44* gan_symmat44_invert_i Gan_SquMatrix44 A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix44* gan_symmat44_invert_q Gan_SquMatrix44 A,
Gan_SquMatrix44 B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix44 gan_symmat44_invert_s const Gan_SquMatrix44 A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.

Gan_SquMatrix44_f* gan_symmat44f_invert Gan_SquMatrix44_f A,
Gan_SquMatrix44_f B,
int *  error_code
 

Compute inverse of symmetric 4x4 matrix.

Compute inverse $ A^{-1} $ of symmetric 4x4 matrix A, writing the result into matrix B, so that

\[ A B = B A = I \]

A must be non-singular.

Returns:
Pointer to result matrix B on success, NULL on failure.

Gan_SquMatrix44_f* gan_symmat44f_invert_i Gan_SquMatrix44_f A  ) 
 

Macro: Invert fixed size square matrix in-place.

Compute inverse of fixed-size square matrix A in-place: $ A \leftarrow A^{-1} $.

Returns:
Pointer to result matrix A.

Gan_SquMatrix44_f* gan_symmat44f_invert_q Gan_SquMatrix44_f A,
Gan_SquMatrix44_f B
 

Macro: Invert fixed size square matrix.

Compute inverse of fixed-size square matrix A, putting result in $ B = A^{-1} $.

Returns:
Pointer to result matrix B.

Gan_SquMatrix44_f gan_symmat44f_invert_s const Gan_SquMatrix44_f A  ) 
 

Invert fixed size square matrix.

Compute inverse $ A^{-1} $ of fixed size square matrix A, returning the result as a new fixed size square matrix.


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