Go to the source code of this file.
|
int | MMG5_eigenv3d (int symmat, double *mat, double lambda[3], double v[3][3]) |
| Find eigenvalues and vectors of a 3x3 matrix.
|
|
int | MMG5_eigenv2d (int symmat, double *mat, double lambda[2], double v[2][2]) |
| Find eigenvalues and vectors of a 2x2 matrix.
|
|
int | MMG5_eigen2 (double *mm, double *lambda, double vp[2][2]) |
| Find eigenvalues and vectors of a 2x2 matrix.
|
|
int | MMG5_eigensym (double m[3], double lambda[2], double vp[2][2]) |
|
◆ MMG5_EPS
◆ MMG5_EPSD
◆ MMG5_eigen2()
int MMG5_eigen2 |
( |
double * |
mm, |
|
|
double * |
lambda, |
|
|
double |
vp[2][2] |
|
) |
| |
Find eigenvalues and vectors of a 2x2 matrix.
- Parameters
-
mm | pointer to the matrix. |
lambda | pointer to the output eigenvalues. |
vp | eigenvectors. |
- Returns
- 1.
- Warning
- not used for now
Definition at line 858 of file eigenv.c.
◆ MMG5_eigensym()
int MMG5_eigensym |
( |
double |
m[3], |
|
|
double |
lambda[2], |
|
|
double |
vp[2][2] |
|
) |
| |
|
inline |
- Parameters
-
m | terms of symetric matrix \(2x2\). |
lambda | eigenvalues of m. |
vp | eigenvectors of m. |
- Returns
- order of the eigenvalues.
Compute eigenelements of a symetric matrix m. Eigenvectors are orthogonal.
Definition at line 973 of file eigenv.c.
◆ MMG5_eigenv2d()
int MMG5_eigenv2d |
( |
int |
symmat, |
|
|
double * |
mat, |
|
|
double |
lambda[2], |
|
|
double |
vp[2][2] |
|
) |
| |
Find eigenvalues and vectors of a 2x2 matrix.
- Parameters
-
symmat | 0 if matrix is not symetric, 1 otherwise. |
mat | pointer to the matrix. |
lambda | eigenvalues. |
v | eigenvectors. |
- Returns
- order of eigenvalues (1,2) or 0 if failed.
Definition at line 780 of file eigenv.c.
◆ MMG5_eigenv3d()
int MMG5_eigenv3d |
( |
int |
symmat, |
|
|
double * |
mat, |
|
|
double |
lambda[3], |
|
|
double |
v[3][3] |
|
) |
| |
Find eigenvalues and vectors of a 3x3 matrix.
- Parameters
-
symmat | 0 if matrix is not symetric, 1 otherwise. |
mat | pointer to the matrix. |
lambda | eigenvalues. |
v | eigenvectors. |
- Returns
- order of eigenvalues (1,2,3) or 0 if failed.
rows of A-lambda[2]*I
rows of A-lambda[0]*I
Definition at line 385 of file eigenv.c.