diff options
author | Alberto Ruiz <aruiz@um.es> | 2008-10-02 15:53:10 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2008-10-02 15:53:10 +0000 |
commit | 192ac5f4b98517862c37ecf161505396ad223cd8 (patch) | |
tree | 811312f28bca2bd18d282bc0be732a17cd8dbcd7 /lib/Data/Packed/Internal/auxi.h | |
parent | 9c6b2af0066f7608301ad685ea5e60753fc3b6ff (diff) |
alternative multiply versions
Diffstat (limited to 'lib/Data/Packed/Internal/auxi.h')
-rw-r--r-- | lib/Data/Packed/Internal/auxi.h | 6 |
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 | |||
14 | int transR(KRMAT(x),RMAT(t)); | 13 | int transR(KRMAT(x),RMAT(t)); |
15 | int transC(KCMAT(x),CMAT(t)); | 14 | int transC(KCMAT(x),CMAT(t)); |
16 | 15 | ||
17 | int constantR(double *val , RVEC(r)); | 16 | int constantR(double *val , RVEC(r)); |
18 | int constantC(gsl_complex *val, CVEC(r)); | 17 | int constantC(gsl_complex *val, CVEC(r)); |
19 | 18 | ||
20 | int multiplyR(int ta, KRMAT(a), int tb, KRMAT(b),RMAT(r)); | ||
21 | int multiplyC(int ta, KCMAT(a), int tb, KCMAT(b),CMAT(r)); | ||
22 | |||
23 | int submatrixR(int r1, int r2, int c1, int c2, KRMAT(x),RMAT(r)); | 19 | int submatrixR(int r1, int r2, int c1, int c2, KRMAT(x),RMAT(r)); |
24 | 20 | ||
25 | int diagR(KRVEC(d),RMAT(r)); | 21 | int diagR(KRVEC(d),RMAT(r)); |
@@ -28,3 +24,5 @@ int diagC(KCVEC(d),CMAT(r)); | |||
28 | const char * gsl_strerror (const int gsl_errno); | 24 | const char * gsl_strerror (const int gsl_errno); |
29 | 25 | ||
30 | int matrix_fscanf(char*filename, RMAT(a)); | 26 | int matrix_fscanf(char*filename, RMAT(a)); |
27 | |||
28 | int conjugate(KCVEC(x),CVEC(t)); | ||