45 #include "DenseLinAlgPack_LAPACK_C_Decl.hpp"
46 #include "DenseLinAlgPack_BLAS_Cpp.hpp"
53 namespace LAPACK_Cpp {
55 typedef FortranTypes::f_int f_int;
56 typedef FortranTypes::f_real f_real;
57 typedef FortranTypes::f_dbl_prec f_dbl_prec;
58 typedef FortranTypes::f_logical f_logical;
65 ,
const f_int& n, f_dbl_prec* A,
const f_int& lda
68 LAPACK_C_Decl::dpotrf( BLAS_Cpp::UploChar[uplo]
76 void geqrf(
const f_int& m
77 ,
const f_int& n, f_dbl_prec* A,
const f_int& lda
78 , f_dbl_prec* tau, f_dbl_prec* work
79 ,
const f_int& lwork, f_int* info )
81 LAPACK_C_Decl::dgeqrf(m,n,A,lda,tau,work,lwork,info);
89 ,
const f_int& m,
const f_int& n
90 ,
const f_int& k,
const f_dbl_prec* A,
const f_int& lda
91 ,
const f_dbl_prec* tau, f_dbl_prec* C,
const f_int& ldc
92 , f_dbl_prec* work,
const f_int& lwork, f_int* info )
94 LAPACK_C_Decl::dormqr( BLAS_Cpp::SideChar[side]
95 , BLAS_Cpp::TransChar[trans], m, n, k, A, lda
96 , tau, C, ldc, work, lwork, info );
105 ,
const f_int& lda, f_int ipiv[], f_dbl_prec work[],
const f_int& lwork
108 LAPACK_C_Decl::dsytrf( BLAS_Cpp::UploChar[uplo]
109 , n, A, lda, ipiv, work, lwork, info );
117 ,
const f_int& n,
const f_int& nrhs,
const f_dbl_prec A[]
118 ,
const f_int& lda,
const f_int ipiv[], f_dbl_prec B[]
119 ,
const f_int& ldb, f_int* info )
121 LAPACK_C_Decl::dsytrs( BLAS_Cpp::UploChar[uplo]
122 , n, nrhs, A, lda, ipiv, B, ldb, info );
130 const f_int& m,
const f_int& n, f_dbl_prec A[]
131 ,
const f_int& lda, f_int ipiv[], f_int* info )
133 LAPACK_C_Decl::dgetrf( m, n, A, lda, ipiv, info );
142 ,
const f_int& n,
const f_int& nrhs,
const f_dbl_prec A[]
143 ,
const f_int& lda,
const f_int ipiv[], f_dbl_prec B[]
144 ,
const f_int& ldb, f_int* info )
146 LAPACK_C_Decl::dgetrs(
147 BLAS_Cpp::TransChar[trans], n, nrhs, A, lda, ipiv, B, ldb, info
153 #endif // LAPACK_CPP_H