32 #define NULL ((void *)0
50 int minv(
double *a,
int n);
52 int psinv(
double *v,
int n);
54 int ruinv(
double *a,
int n);
56 int solv(
double *a,
double *
b,
int n);
58 int solvps(
double *s,
double *
x,
int n);
60 int solvru(
double *a,
double *
b,
int n);
62 void solvtd(
double *a,
double *
b,
double *c,
double *
x,
int m);
64 void eigen(
double *a,
double *eval,
int n);
66 void eigval(
double *a,
double *eval,
int n);
68 double evmax(
double *a,
double *u,
int n);
70 int svdval(
double *d,
double *a,
int m,
int n);
72 int sv2val(
double *d,
double *a,
int m,
int n);
74 int svduv(
double *d,
double *a,
double *u,
int m,
double *v,
int n);
76 int sv2uv(
double *d,
double *a,
double *u,
int m,
double *v,
int n);
78 int svdu1v(
double *d,
double *a,
int m,
double *v,
int n);
80 int sv2u1v(
double *d,
double *a,
int m,
double *v,
int n);
82 void mmul(
double *mat,
double *a,
double *
b,
int n);
84 void rmmult(
double *mat,
double *a,
double *
b,
int m,
int k,
int n);
86 void vmul(
double *vp,
double *mat,
double *v,
int n);
88 double vnrm(
double *u,
double *v,
int n);
90 void matprt(
double *a,
int n,
int m,
char *fmt);
92 void fmatprt(FILE *fp,
double *a,
int n,
int m,
char *fmt);
94 void trnm(
double *a,
int n);
96 void mattr(
double *a,
double *
b,
int m,
int n);
98 void otrma(
double *at,
double *u,
double *a,
int n);
100 void otrsm(
double *
st,
double *u,
double *s0,
int n);
102 void mcopy(
double *a,
double *
b,
int m);
104 void ortho(
double *evc,
int n);
106 void smgen(
double *a,
double *eval,
double *evec,
int n);
110 void house(
double *a,
double *d,
double *ud,
int n);
112 void housev(
double *a,
double *d,
double *ud,
int n);
114 int qreval(
double *eval,
double *ud,
int n);
116 int qrevec(
double *eval,
double *evec,
double *dp,
int n);
120 int qrbdi(
double *d,
double *e,
int n);
122 int qrbdv(
double *d,
double *e,
double *u,
int m,
double *v,
int n);
124 int qrbdu1(
double *d,
double *e,
double *u,
int m,
double *v,
int n);
126 void ldumat(
double *a,
double *u,
int m,
int n);
128 void ldvmat(
double *a,
double *v,
int n);
130 void atou1(
double *a,
int m,
int n);
132 void atovm(
double *v,
int n);
154 void cmprt(
Cpx *a,
int n,
int m,
char *fmt);
174 void chouse(
Cpx *a,
double *d,
double *ud,
int n);
176 void chousv(
Cpx *a,
double *d,
double *ud,
int n);
178 void qrecvc(
double *eval,
Cpx *evec,
double *ud,
int n);
void cmmul(Cpx *c, Cpx *a, Cpx *b, int n)
void otrma(double *at, double *u, double *a, int n)
int qrevec(double *eval, double *evec, double *dp, int n)
void ldumat(double *a, double *u, int m, int n)
void mmul(double *mat, double *a, double *b, int n)
void solvtd(double *a, double *b, double *c, double *x, int m)
int svdu1v(double *d, double *a, int m, double *v, int n)
void matprt(double *a, int n, int m, char *fmt)
void cmmult(Cpx *c, Cpx *a, Cpx *b, int m, int k, int n)
void cmprt(Cpx *a, int n, int m, char *fmt)
void eigval(double *a, double *eval, int n)
void chouse(Cpx *a, double *d, double *ud, int n)
void cmattr(Cpx *a, Cpx *b, int m, int n)
int qrbdu1(double *d, double *e, double *u, int m, double *v, int n)
int solv(double *a, double *b, int n)
double vnrm(double *u, double *v, int n)
void cvmul(Cpx *vp, Cpx *mat, Cpx *v, int n)
void heigval(Cpx *a, double *eval, int n)
void cmcpy(Cpx *a, Cpx *b, int n)
void trnm(double *a, int n)
void trncm(Cpx *a, int n)
int sv2uv(double *d, double *a, double *u, int m, double *v, int n)
void fmatprt(FILE *fp, double *a, int n, int m, char *fmt)
int svduv(double *d, double *a, double *u, int m, double *v, int n)
int qrbdi(double *d, double *e, int n)
double hevmax(Cpx *a, Cpx *u, int n)
void atou1(double *a, int m, int n)
void qrecvc(double *eval, Cpx *evec, double *ud, int n)
void hmgen(Cpx *h, double *eval, Cpx *u, int n)
Cpx cvnrm(Cpx *u, Cpx *v, int n)
int psinv(double *v, int n)
void ortho(double *evc, int n)
int qreval(double *eval, double *ud, int n)
int solvps(double *s, double *x, int n)
void housev(double *a, double *d, double *ud, int n)
void rmmult(double *mat, double *a, double *b, int m, int k, int n)
void mcopy(double *a, double *b, int m)
void smgen(double *a, double *eval, double *evec, int n)
int ruinv(double *a, int n)
double evmax(double *a, double *u, int n)
void eigen(double *a, double *eval, int n)
void hconj(Cpx *u, int n)
void atovm(double *v, int n)
void utrncm(Cpx *at, Cpx *u, Cpx *a, int n)
void house(double *a, double *d, double *ud, int n)
void vmul(double *vp, double *mat, double *v, int n)
int sv2u1v(double *d, double *a, int m, double *v, int n)
void otrsm(double *st, double *u, double *s0, int n)
int svdval(double *d, double *a, int m, int n)
int qrbdv(double *d, double *e, double *u, int m, double *v, int n)
void unitary(Cpx *u, int n)
void ldvmat(double *a, double *v, int n)
void utrnhm(Cpx *ht, Cpx *u, Cpx *h0, int n)
int solvru(double *a, double *b, int n)
int minv(double *a, int n)
int sv2val(double *d, double *a, int m, int n)
void chousv(Cpx *a, double *d, double *ud, int n)
int csolv(Cpx *a, Cpx *b, int n)
void heigvec(Cpx *a, double *eval, int n)
void mattr(double *a, double *b, int m, int n)