diff options
author | Alberto Ruiz <aruiz@um.es> | 2008-11-05 14:01:11 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2008-11-05 14:01:11 +0000 |
commit | 2044be5a83d77536daed0f0f34d2baa6aa548dd1 (patch) | |
tree | e8ef80f329fe062ebc028e2fe4136cdce2ce8cb7 /lib/Data/Packed/Internal/auxi.c | |
parent | 3161c13c508fb578bbc66156a609dbe4b991948d (diff) |
improved constant
Diffstat (limited to 'lib/Data/Packed/Internal/auxi.c')
-rw-r--r-- | lib/Data/Packed/Internal/auxi.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lib/Data/Packed/Internal/auxi.c b/lib/Data/Packed/Internal/auxi.c index c449b9a..48b05e8 100644 --- a/lib/Data/Packed/Internal/auxi.c +++ b/lib/Data/Packed/Internal/auxi.c | |||
@@ -1,12 +1,5 @@ | |||
1 | #include "auxi.h" | 1 | #include "auxi.h" |
2 | #include <gsl/gsl_blas.h> | ||
3 | #include <gsl/gsl_linalg.h> | ||
4 | #include <gsl/gsl_matrix.h> | 2 | #include <gsl/gsl_matrix.h> |
5 | #include <gsl/gsl_math.h> | ||
6 | #include <gsl/gsl_errno.h> | ||
7 | #include <gsl/gsl_complex.h> | ||
8 | #include <gsl/gsl_complex_math.h> | ||
9 | #include <gsl/gsl_cblas.h> | ||
10 | #include <string.h> | 3 | #include <string.h> |
11 | #include <stdio.h> | 4 | #include <stdio.h> |
12 | 5 | ||
@@ -92,27 +85,6 @@ int submatrixR(int r1, int r2, int c1, int c2, KRMAT(x),RMAT(r)) { | |||
92 | } | 85 | } |
93 | 86 | ||
94 | 87 | ||
95 | int constantR(double * pval, RVEC(r)) { | ||
96 | DEBUGMSG("constantR") | ||
97 | int k; | ||
98 | double val = *pval; | ||
99 | for(k=0;k<rn;k++) { | ||
100 | rp[k]=val; | ||
101 | } | ||
102 | OK | ||
103 | } | ||
104 | |||
105 | int constantC(gsl_complex* pval, CVEC(r)) { | ||
106 | DEBUGMSG("constantC") | ||
107 | int k; | ||
108 | gsl_complex val = *pval; | ||
109 | for(k=0;k<rn;k++) { | ||
110 | rp[k]=val; | ||
111 | } | ||
112 | OK | ||
113 | } | ||
114 | |||
115 | |||
116 | int conjugate(KCVEC(x),CVEC(t)) { | 88 | int conjugate(KCVEC(x),CVEC(t)) { |
117 | REQUIRES(xn==tn,BAD_SIZE); | 89 | REQUIRES(xn==tn,BAD_SIZE); |
118 | DEBUGMSG("conjugate"); | 90 | DEBUGMSG("conjugate"); |