Loading...
Searching...
No Matches
eigen.c
Go to the documentation of this file.
/* eigen.c CCMATH mathematics library source code.
*
* Copyright (C) 2000 Daniel A. Atkinson All rights reserved.
* This code may be redistributed under the terms of the GNU library
* public license (LGPL). ( See the lgpl.license file for details.)
* ------------------------------------------------------------------------
*/
#include <stdlib.h>
#include "ccmath.h"
void eigen(double *a, double *ev, int n)
{
double *dp;
dp = (double *)calloc(n, sizeof(double));
housev(a, ev, dp, n);
qrevec(ev, a, dp, n);
trnm(a, n);
free(dp);
}
ccmath.h
qrevec
int qrevec(double *eval, double *evec, double *dp, int n)
Definition qrevec.c:9
trnm
void trnm(double *a, int n)
Definition trnm.c:8
housev
void housev(double *a, double *d, double *ud, int n)
Definition housev.c:10
eigen
void eigen(double *a, double *ev, int n)
Definition eigen.c:10