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

Invert a General Size Matrix
[General Size Matrices]


Functions

Gan_SquMatrixgan_diagmat_inv_diag_thres (Gan_SquMatrix *A, unsigned null_space, double thres)
 Invert the elements of diagonal matrix.
Gan_Matrixgan_mat_invert_q (const Gan_Matrix *A, Gan_Matrix *B)
 Inverts general square matrix.
Gan_Matrixgan_mat_invert_s (const Gan_Matrix *A)
 Macro: Inverts general square matrix.
Gan_SquMatrixgan_squmat_invert_q (Gan_SquMatrix *A, Gan_SquMatrix *B)
 Macro: Apply matrix inversion.
Gan_SquMatrixgan_squmat_invert_s (Gan_SquMatrix *A)
 Macro: Apply matrix inversion.
Gan_SquMatrixgan_squmat_invert_i (Gan_SquMatrix *A)
 Macro: Apply matrix inversion.
Gan_SquMatrix_fgan_diagmatf_inv_diag_thres (Gan_SquMatrix_f *A, unsigned null_space, float thres)
 Invert the elements of diagonal matrix.
Gan_Matrix_fgan_matf_invert_q (const Gan_Matrix_f *A, Gan_Matrix_f *B)
 Inverts general square matrix.
Gan_Matrix_fgan_matf_invert_s (const Gan_Matrix_f *A)
 Macro: Inverts general square matrix.
Gan_SquMatrix_fgan_squmatf_invert_q (Gan_SquMatrix_f *A, Gan_SquMatrix_f *B)
 Macro: Apply matrix inversion.
Gan_SquMatrix_fgan_squmatf_invert_s (Gan_SquMatrix_f *A)
 Macro: Apply matrix inversion.
Gan_SquMatrix_fgan_squmatf_invert_i (Gan_SquMatrix_f *A)
 Macro: Apply matrix inversion.

Function Documentation

Gan_SquMatrix* gan_diagmat_inv_diag_thres Gan_SquMatrix A,
unsigned  null_space,
double  thres
 

Invert the elements of diagonal matrix.

Returns:
The matrix A, or NULL on failure.
The bottom-right null_space elements of A are set to zero, as well as any other elements below the thres threshold value. All other elements of A are inverted. The elements of diagonal matrix A are assumed to be positive and in decreasing order from the top-left.

Gan_SquMatrix_f* gan_diagmatf_inv_diag_thres Gan_SquMatrix_f A,
unsigned  null_space,
float  thres
 

Invert the elements of diagonal matrix.

Returns:
The matrix A, or NULL on failure.
The bottom-right null_space elements of A are set to zero, as well as any other elements below the thres threshold value. All other elements of A are inverted. The elements of diagonal matrix A are assumed to be positive and in decreasing order from the top-left.

Gan_Matrix* gan_mat_invert_q const Gan_Matrix A,
Gan_Matrix B
 

Inverts general square matrix.

Parameters:
A Input Matrix
B Output inverse matrix
Returns:
Non-NULL Pointer to the output inverse matrix, or NULL on failure. Inverts general square matrix A into matrix B. This is a nasty operation and should be avoided at all costs.
See also:
gan_mat_invert_s().

Gan_Matrix* gan_mat_invert_s const Gan_Matrix A  ) 
 

Macro: Inverts general square matrix.

Parameters:
A Input Matrix
Returns:
Non-NULL A pointer to the output inverse matrix, or NULL on failure.
Inverts general square matrix A. This is a nasty operation and should be avoided at all costs.

Implemented as a macro call to gan_mat_invert_q().

See also:
gan_mat_invert_q().

Gan_Matrix_f* gan_matf_invert_q const Gan_Matrix_f A,
Gan_Matrix_f B
 

Inverts general square matrix.

Parameters:
A Input Matrix
B Output inverse matrix
Returns:
Non-NULL Pointer to the output inverse matrix, or NULL on failure. Inverts general square matrix A into matrix B. This is a nasty operation and should be avoided at all costs.
See also:
gan_matf_invert_s().

Gan_Matrix_f* gan_matf_invert_s const Gan_Matrix_f A  ) 
 

Macro: Inverts general square matrix.

Parameters:
A Input Matrix
Returns:
Non-NULL A pointer to the output inverse matrix, or NULL on failure.
Inverts general square matrix A. This is a nasty operation and should be avoided at all costs.

Implemented as a macro call to gan_matf_invert_q().

See also:
gan_matf_invert_q().

Gan_SquMatrix* gan_squmat_invert_i Gan_SquMatrix A  ) 
 

Macro: Apply matrix inversion.

Returns:
Result matrix A.
Apply matrix inversion to square matrix A, computing the result $ A \leftarrow A^{-1} $ in-place in A.

Gan_SquMatrix* gan_squmat_invert_q Gan_SquMatrix A,
Gan_SquMatrix B
 

Macro: Apply matrix inversion.

Returns:
Result matrix B.
Apply matrix inversion to square matrix A, writing result into square matrix $ B = A^{-1} $.

Gan_SquMatrix* gan_squmat_invert_s Gan_SquMatrix A  ) 
 

Macro: Apply matrix inversion.

Returns:
Result as a new matrix.
Apply matrix inversion to square matrix A, creating and returning a new square matrix for the result $ A^{-1} $.

Gan_SquMatrix_f* gan_squmatf_invert_i Gan_SquMatrix_f A  ) 
 

Macro: Apply matrix inversion.

Returns:
Result matrix A.
Apply matrix inversion to square matrix A, computing the result $ A \leftarrow A^{-1} $ in-place in A.

Gan_SquMatrix_f* gan_squmatf_invert_q Gan_SquMatrix_f A,
Gan_SquMatrix_f B
 

Macro: Apply matrix inversion.

Returns:
Result matrix B.
Apply matrix inversion to square matrix A, writing result into square matrix $ B = A^{-1} $.

Gan_SquMatrix_f* gan_squmatf_invert_s Gan_SquMatrix_f A  ) 
 

Macro: Apply matrix inversion.

Returns:
Result as a new matrix.
Apply matrix inversion to square matrix A, creating and returning a new square matrix for the result $ A^{-1} $.


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