GRASS Programmer's Manual
6.4.2(2012)
|
#include <stdlib.h>
#include <grass/gmath.h>
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
int | eigen (double **M, double **Vectors, double *lambda, int n) |
Computes eigenvalues (and eigen vectors if desired) for symmetric matices. | |
int | egvorder2 (double *d, double **z, long bands) |
Returns 0. | |
int | transpose2 (double **eigmat, long bands) |
Returns 0. |
int egvorder2 | ( | double * | d, |
double ** | z, | ||
long | bands | ||
) |
int eigen | ( | double ** | M, |
double ** | Vectors, | ||
double * | lambda, | ||
int | n | ||
) |
Computes eigenvalues (and eigen vectors if desired) for symmetric matices.
Computes eigenvalues (and eigen vectors if desired) for symmetric matices.
M | Input matrix |
Vectors | eigen output vector matrix |
lambda | Output eigenvalues |
n | Input matrix dimension |
Definition at line 26 of file eigen.c.
References G_alloc_matrix(), G_alloc_vector(), G_free_matrix(), G_free_vector(), G_tqli(), and G_tred2().
Referenced by jacobi().