![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Find inversion of small dense matrices in row-major format. More...
Go to the source code of this file.
Macros | |
#define | SWAP(a, b) {temp=(a);(a)=(b);(b)=temp;} |
Functions | |
void | fasp_smat_inv_nc2 (REAL *a) |
Compute the inverse matrix of a 2*2 full matrix A (in place) More... | |
void | fasp_smat_inv_nc3 (REAL *a) |
Compute the inverse matrix of a 3*3 full matrix A (in place) More... | |
void | fasp_smat_inv_nc4 (REAL *a) |
Compute the inverse matrix of a 4*4 full matrix A (in place) More... | |
void | fasp_smat_inv_nc5 (REAL *a) |
Compute the inverse matrix of a 5*5 full matrix A (in place) More... | |
void | fasp_smat_inv_nc7 (REAL *a) |
Compute the inverse matrix of a 7*7 matrix a. More... | |
void | fasp_smat_inv_nc (REAL *a, const INT n) |
Compute the inverse of a matrix using Gauss Elimination. More... | |
SHORT | fasp_smat_invp_nc (REAL *a, const INT n) |
Compute the inverse of a matrix using Gauss Elimination with Pivoting. More... | |
SHORT | fasp_smat_inv (REAL *a, const INT n) |
Compute the inverse matrix of a small full matrix a. More... | |
REAL | fasp_smat_Linf (const REAL *A, const INT n) |
Compute the L infinity norm of A. More... | |
void | fasp_smat_identity_nc2 (REAL *a) |
Set a 2*2 full matrix to be a identity. More... | |
void | fasp_smat_identity_nc3 (REAL *a) |
Set a 3*3 full matrix to be a identity. More... | |
void | fasp_smat_identity_nc5 (REAL *a) |
Set a 5*5 full matrix to be a identity. More... | |
void | fasp_smat_identity_nc7 (REAL *a) |
Set a 7*7 full matrix to be a identity. More... | |
void | fasp_smat_identity (REAL *a, const INT n, const INT n2) |
Set a n*n full matrix to be a identity. More... | |
Find inversion of small dense matrices in row-major format.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file BlaSmallMatInv.c.
#define SWAP | ( | a, | |
b | |||
) | {temp=(a);(a)=(b);(b)=temp;} |
swap two numbers
Definition at line 17 of file BlaSmallMatInv.c.
Set a n*n full matrix to be a identity.
a | Pointer to the REAL vector which stands for a n*n full matrix |
n | Size of full matrix |
n2 | Length of the REAL vector which stores the n*n full matrix |
Definition at line 754 of file BlaSmallMatInv.c.
void fasp_smat_identity_nc2 | ( | REAL * | a | ) |
Set a 2*2 full matrix to be a identity.
a | Pointer to the REAL vector which stands for a 2*2 full matrix |
Definition at line 674 of file BlaSmallMatInv.c.
void fasp_smat_identity_nc3 | ( | REAL * | a | ) |
Set a 3*3 full matrix to be a identity.
a | Pointer to the REAL vector which stands for a 3*3 full matrix |
Definition at line 691 of file BlaSmallMatInv.c.
void fasp_smat_identity_nc5 | ( | REAL * | a | ) |
Set a 5*5 full matrix to be a identity.
a | Pointer to the REAL vector which stands for a 5*5 full matrix |
Definition at line 708 of file BlaSmallMatInv.c.
void fasp_smat_identity_nc7 | ( | REAL * | a | ) |
Set a 7*7 full matrix to be a identity.
a | Pointer to the REAL vector which stands for a 7*7 full matrix |
Definition at line 729 of file BlaSmallMatInv.c.
Compute the inverse matrix of a small full matrix a.
a | Pointer to the REAL array which stands a n*n matrix |
n | Dimension of the matrix |
Definition at line 603 of file BlaSmallMatInv.c.
Compute the inverse of a matrix using Gauss Elimination.
a | Pointer to the REAL array which stands a n*n matrix |
n | Dimension of the matrix |
Definition at line 441 of file BlaSmallMatInv.c.
void fasp_smat_inv_nc2 | ( | REAL * | a | ) |
Compute the inverse matrix of a 2*2 full matrix A (in place)
a | Pointer to the REAL array which stands a 2*2 matrix |
Definition at line 33 of file BlaSmallMatInv.c.
void fasp_smat_inv_nc3 | ( | REAL * | a | ) |
Compute the inverse matrix of a 3*3 full matrix A (in place)
a | Pointer to the REAL array which stands a 3*3 matrix |
Definition at line 67 of file BlaSmallMatInv.c.
void fasp_smat_inv_nc4 | ( | REAL * | a | ) |
Compute the inverse matrix of a 4*4 full matrix A (in place)
a | Pointer to the REAL array which stands a 4*4 matrix |
Modified by Hongxuan Zhang on 06/13/2014: Fix a bug in M23.
Definition at line 111 of file BlaSmallMatInv.c.
void fasp_smat_inv_nc5 | ( | REAL * | a | ) |
Compute the inverse matrix of a 5*5 full matrix A (in place)
a | Pointer to the REAL array which stands a 5*5 matrix |
Definition at line 170 of file BlaSmallMatInv.c.
void fasp_smat_inv_nc7 | ( | REAL * | a | ) |
Compute the inverse matrix of a 7*7 matrix a.
a | Pointer to the REAL array which stands a 7*7 matrix |
Definition at line 425 of file BlaSmallMatInv.c.
Compute the inverse of a matrix using Gauss Elimination with Pivoting.
a | Pointer to the REAL array which stands a n*n matrix |
n | Dimension of the matrix |
Definition at line 508 of file BlaSmallMatInv.c.
Compute the L infinity norm of A.
A | Pointer to the n*n dense matrix |
n | the dimension of the dense matrix |
Definition at line 646 of file BlaSmallMatInv.c.