Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
hugin_base/hugin_math/eig_jacobi.cpp File Reference
#include <stdlib.h>#include <stdio.h>#include <math.h>#include "eig_jacobi.h"Include dependency graph for eig_jacobi.cpp:

Namespaces | |
| namespace | hugin_utils |
Functions | |
| void | sortd (int length, double *a, int *ind) |
| void | eig_jacobi (int n, double a[3][3], double v[3][3], double *d, int *ind, int *maxsweep, int *maxannil, double *epsilon) |
| Implements jacobi eigenvalue/vector algorithm on a symmetric matrix stored as a 2 dimensional matrix a[n][n] and computes the eigenvectors in another globally allocated matrix v[n][n]. | |
Function Documentation
|
||||||||||||||||||||||||||||||||||||
|
Implements jacobi eigenvalue/vector algorithm on a symmetric matrix stored as a 2 dimensional matrix a[n][n] and computes the eigenvectors in another globally allocated matrix v[n][n]. intput: n - size of matrix problem outputs: v - eigenvector matrix d[MAX] - a vector of unsorted eigenvalues ind[MAX] - a vector of indicies sorting d[] into descending order maxanil - number of rotations applied inputs/outputs a - input matrix (the input is changed) maxsweep - on input max number of sweeps
|
|
||||||||||||||||
|
|
1.3.9.1