GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
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
9
#include <stdlib.h>
10
#include "
ccmath.h
"
11
12
void
heigvec
(
Cpx
*a,
double
*ev,
int
n)
13
{
14
double
*dp;
15
16
dp = (
double
*)calloc(n,
sizeof
(
double
));
17
chousv
(a, ev, dp, n);
18
qrecvc
(ev, a, dp, n);
19
hconj
(a, n);
20
free
(dp);
21
}
ccmath.h
qrecvc
void qrecvc(double *eval, Cpx *evec, double *ud, int n)
Definition:
qrecvc.c:11
hconj
void hconj(Cpx *u, int n)
Definition:
hconj.c:11
chousv
void chousv(Cpx *a, double *d, double *ud, int n)
Definition:
chousv.c:12
heigvec
void heigvec(Cpx *a, double *ev, int n)
Definition:
heigvec.c:12
free
void free(void *)
complex
Definition:
ccmath.h:38
lib
external
ccmath
heigvec.c
Generated on Sun Dec 22 2024 07:38:15 for GRASS GIS 8 Programmer's Manual by
1.9.1