10 int sv2val(
double *d,
double *a,
int m,
int n)
12 double *p, *p1, *q, *w, *v;
16 int i, j, k, mm, nm, ms;
20 w = (
double *)calloc(m,
sizeof(
double));
21 for (i = 0, mm = m, p = a; i < n && mm > 1; ++i, --mm, p += n + 1) {
22 for (j = 0, q = p, s = 0.; j < mm; ++j, q += n) {
33 for (k = 1, ms = n - i; k < ms; ++k) {
34 for (j = 0, q = p + k, u = 0.; j < mm; q += n)
37 for (j = 0, q = p + k; j < mm; q += n)
43 for (i = 0, p = a; i < n; ++i, p += n) {
44 for (j = 0, q = p; j < i; ++j)
47 for (i = 0, mm = n, nm = n - 1, p = a; i < n; ++i, --mm, --nm, p += n + 1) {
49 for (j = 0, q = p, s = 0.; j < mm; ++j, q += n) {
60 for (k = 1, ms = n - i; k < ms; ++k) {
61 for (j = 0, q = p + k, u = 0.; j < mm; q += n)
64 for (j = 0, q = p + k; j < mm; q += n)
72 for (j = 0, q = p1, s = 0.; j < nm; ++j, ++q)
81 for (k = n, ms = n * (m - i); k < ms; k += n) {
82 for (j = 0, q = p1, v = p1 + k, u = 0.; j < nm; ++j)
85 for (j = 0, q = p1, v = p1 + k; j < nm; ++j)
92 for (j = 0, p = a; j < n; ++j, p += n + 1) {
100 for (i = 0; i < n; ++i)
int qrbdi(double *d, double *e, int n)
int sv2val(double *d, double *a, int m, int n)