GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
eigen_tools.c File Reference
#include <grass/gis.h>
#include <math.h>
Include dependency graph for eigen_tools.c:

Go to the source code of this file.

Macros

#define MAX_ITERS   30
#define SIGN(a, b)   ((b)<0 ? -fabs(a) : fabs(a))

Functions

int G_tqli (double d[], double e[], int n, double **z)
void G_tred2 (double **a, int n, double d[], double e[])

Macro Definition Documentation

#define MAX_ITERS   30

Definition at line 5 of file eigen_tools.c.

Referenced by G_tqli().

#define SIGN (   a,
  b 
)    ((b)<0 ? -fabs(a) : fabs(a))

Definition at line 6 of file eigen_tools.c.

Referenced by G_tqli().


Function Documentation

int G_tqli ( double  d[],
double  e[],
int  n,
double **  z 
)

Definition at line 9 of file eigen_tools.c.

References b, g, MAX_ITERS, r, gui_modules.psmap_dialogs::s, and SIGN.

Referenced by eigen().

void G_tred2 ( double **  a,
int  n,
double  d[],
double  e[] 
)

Definition at line 77 of file eigen_tools.c.

References g, and gui_modules.psmap_dialogs::h.

Referenced by eigen().