diff options
Diffstat (limited to 'lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h')
-rw-r--r-- | lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h b/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h index adf096e..415a6ab 100644 --- a/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h +++ b/lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h | |||
@@ -40,13 +40,17 @@ typedef short ftnlen; | |||
40 | 40 | ||
41 | /********************************************************/ | 41 | /********************************************************/ |
42 | 42 | ||
43 | #define FVEC(A) int A##n, float*A##p | ||
43 | #define DVEC(A) int A##n, double*A##p | 44 | #define DVEC(A) int A##n, double*A##p |
44 | #define CVEC(A) int A##n, double*A##p | 45 | #define CVEC(A) int A##n, double*A##p |
46 | #define FMAT(A) int A##r, int A##c, float* A##p | ||
45 | #define DMAT(A) int A##r, int A##c, double* A##p | 47 | #define DMAT(A) int A##r, int A##c, double* A##p |
46 | #define CMAT(A) int A##r, int A##c, double* A##p | 48 | #define CMAT(A) int A##r, int A##c, double* A##p |
47 | 49 | ||
50 | #define KFVEC(A) int A##n, const float*A##p | ||
48 | #define KDVEC(A) int A##n, const double*A##p | 51 | #define KDVEC(A) int A##n, const double*A##p |
49 | #define KCVEC(A) int A##n, const double*A##p | 52 | #define KCVEC(A) int A##n, const double*A##p |
53 | #define KFMAT(A) int A##r, int A##c, const float* A##p | ||
50 | #define KDMAT(A) int A##r, int A##c, const double* A##p | 54 | #define KDMAT(A) int A##r, int A##c, const double* A##p |
51 | #define KCMAT(A) int A##r, int A##c, const double* A##p | 55 | #define KCMAT(A) int A##r, int A##c, const double* A##p |
52 | 56 | ||
@@ -55,9 +59,11 @@ typedef short ftnlen; | |||
55 | int multiplyR(int ta, int tb, KDMAT(a),KDMAT(b),DMAT(r)); | 59 | int multiplyR(int ta, int tb, KDMAT(a),KDMAT(b),DMAT(r)); |
56 | int multiplyC(int ta, int tb, KCMAT(a),KCMAT(b),CMAT(r)); | 60 | int multiplyC(int ta, int tb, KCMAT(a),KCMAT(b),CMAT(r)); |
57 | 61 | ||
62 | int transF(KFMAT(x),FMAT(t)); | ||
58 | int transR(KDMAT(x),DMAT(t)); | 63 | int transR(KDMAT(x),DMAT(t)); |
59 | int transC(KCMAT(x),CMAT(t)); | 64 | int transC(KCMAT(x),CMAT(t)); |
60 | 65 | ||
66 | int constantF(float * pval, FVEC(r)); | ||
61 | int constantR(double * pval, DVEC(r)); | 67 | int constantR(double * pval, DVEC(r)); |
62 | int constantC(doublecomplex* pval, CVEC(r)); | 68 | int constantC(doublecomplex* pval, CVEC(r)); |
63 | 69 | ||