GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
eigval.c
Go to the documentation of this file.
1 /* eigval.c CCMATH mathematics library source code.
2  *
3  * Copyright (C) 2000 Daniel A. Atkinson All rights reserved.
4  * This code may be redistributed under the terms of the GNU library
5  * public license (LGPL). ( See the lgpl.license file for details.)
6  * ------------------------------------------------------------------------
7  */
8 #include <stdlib.h>
9 #include "ccmath.h"
10 void eigval(double *a, double *ev, int n)
11 {
12  double *dp;
13 
14  dp = (double *)calloc(n, sizeof(double));
15  house(a, ev, dp, n);
16  qreval(ev, dp, n);
17  free(dp);
18 }
int qreval(double *eval, double *ud, int n)
Definition: qreval.c:9
void house(double *a, double *d, double *ud, int n)
Definition: house.c:10
void free(void *)
int n
Definition: dataquad.c:291
void eigval(double *a, double *eval, int n)
Definition: eigval.c:10