#include <math.h>
Go to the source code of this file.
Defines |
#define | MAX(a, b) ((a)>(b)?(a):(b)) |
#define | n 3 |
Functions |
void | eigen_decomposition (double A[n][n], double V[n][n], double d[n]) |
static double | hypot2 (double x, double y) |
static void | tql2 (double V[n][n], double d[n], double e[n]) |
static void | tred2 (double V[n][n], double d[n], double e[n]) |
Define Documentation
#define MAX |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)>(b)?(a):(b)) |
Function Documentation
static double hypot2 |
( |
double |
x, |
|
|
double |
y |
|
) |
| [static] |
static void tql2 |
( |
double |
V[n][n], |
|
|
double |
d[n], |
|
|
double |
e[n] |
|
) |
| [static] |
static void tred2 |
( |
double |
V[n][n], |
|
|
double |
d[n], |
|
|
double |
e[n] |
|
) |
| [static] |