summaryrefslogtreecommitdiff
path: root/lib/Data/Packed/Internal/auxi.h
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2008-10-02 15:53:10 +0000
committerAlberto Ruiz <aruiz@um.es>2008-10-02 15:53:10 +0000
commit192ac5f4b98517862c37ecf161505396ad223cd8 (patch)
tree811312f28bca2bd18d282bc0be732a17cd8dbcd7 /lib/Data/Packed/Internal/auxi.h
parent9c6b2af0066f7608301ad685ea5e60753fc3b6ff (diff)
alternative multiply versions
Diffstat (limited to 'lib/Data/Packed/Internal/auxi.h')
-rw-r--r--lib/Data/Packed/Internal/auxi.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Data/Packed/Internal/auxi.h b/lib/Data/Packed/Internal/auxi.h
index 73334e3..377a4a1 100644
--- a/lib/Data/Packed/Internal/auxi.h
+++ b/lib/Data/Packed/Internal/auxi.h
@@ -10,16 +10,12 @@
10#define KCVEC(A) int A##n, const gsl_complex*A##p 10#define KCVEC(A) int A##n, const gsl_complex*A##p
11#define KCMAT(A) int A##r, int A##c, const gsl_complex* A##p 11#define KCMAT(A) int A##r, int A##c, const gsl_complex* A##p
12 12
13
14int transR(KRMAT(x),RMAT(t)); 13int transR(KRMAT(x),RMAT(t));
15int transC(KCMAT(x),CMAT(t)); 14int transC(KCMAT(x),CMAT(t));
16 15
17int constantR(double *val , RVEC(r)); 16int constantR(double *val , RVEC(r));
18int constantC(gsl_complex *val, CVEC(r)); 17int constantC(gsl_complex *val, CVEC(r));
19 18
20int multiplyR(int ta, KRMAT(a), int tb, KRMAT(b),RMAT(r));
21int multiplyC(int ta, KCMAT(a), int tb, KCMAT(b),CMAT(r));
22
23int submatrixR(int r1, int r2, int c1, int c2, KRMAT(x),RMAT(r)); 19int submatrixR(int r1, int r2, int c1, int c2, KRMAT(x),RMAT(r));
24 20
25int diagR(KRVEC(d),RMAT(r)); 21int diagR(KRVEC(d),RMAT(r));
@@ -28,3 +24,5 @@ int diagC(KCVEC(d),CMAT(r));
28const char * gsl_strerror (const int gsl_errno); 24const char * gsl_strerror (const int gsl_errno);
29 25
30int matrix_fscanf(char*filename, RMAT(a)); 26int matrix_fscanf(char*filename, RMAT(a));
27
28int conjugate(KCVEC(x),CVEC(t));