GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
heigvec.c
Go to the documentation of this file.
1 /* heigvec.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 heigvec(Cpx * a, double *ev, int n)
11 {
12  double *dp;
13 
14  dp = (double *)calloc(n, sizeof(double));
15  chousv(a, ev, dp, n);
16  qrecvc(ev, a, dp, n);
17  hconj(a, n);
18  free(dp);
19 }
void hconj(Cpx *u, int n)
Definition: hconj.c:9
void qrecvc(double *eval, Cpx *evec, double *ud, int n)
Definition: qrecvc.c:9
void chousv(Cpx *a, double *d, double *ud, int n)
Definition: chousv.c:10
void free(void *)
void heigvec(Cpx *a, double *ev, int n)
Definition: heigvec.c:10
Definition: la.h:54