Go to the documentation of this file.
37 #ifndef TEMPLATE_LAPACK_GETRF_HEADER
38 #define TEMPLATE_LAPACK_GETRF_HEADER
107 integer a_dim1, a_offset, i__1, i__2, i__3, i__4, i__5;
112 #define a_ref(a_1,a_2) a[(a_2)*a_dim1 + a_1]
116 a_offset = 1 + a_dim1 * 1;
137 if (*m == 0 || *n == 0) {
145 if (nb <= 1 || nb >=
minMACRO(*m,*n)) {
156 for (j = 1; i__2 < 0 ? j >= i__1 : j <= i__1; j += i__2) {
169 if (*info == 0 && iinfo > 0) {
170 *info = iinfo + j - 1;
173 i__4 = *m, i__5 = j + jb - 1;
175 for (i__ = j; i__ <= i__3; ++i__) {
176 ipiv[i__] = j - 1 + ipiv[i__];
190 i__3 = *n - j - jb + 1;
197 i__3 = *n - j - jb + 1;
199 c_b16, &
a_ref(j, j), lda, &
a_ref(j, j + jb), lda);
204 i__3 = *m - j - jb + 1;
205 i__4 = *n - j - jb + 1;
207 &c_b19, &
a_ref(j + jb, j), lda, &
a_ref(j, j + jb),
208 lda, &c_b16, &
a_ref(j + jb, j + jb), lda);
int ftnlen
Definition: template_blas_common.h:42
integer template_lapack_ilaenv(const integer *ispec, const char *name__, const char *opts, const integer *n1, const integer *n2, const integer *n3, const integer *n4, ftnlen name_len, ftnlen opts_len)
Definition: template_lapack_common.cc:281
#define minMACRO(a, b)
Definition: template_blas_common.h:46
int template_blas_trsm(const char *side, const char *uplo, const char *transa, const char *diag, const integer *m, const integer *n, const Treal *alpha, const Treal *a, const integer *lda, Treal *b, const integer *ldb)
Definition: template_blas_trsm.h:43
int template_blas_gemm(const char *transa, const char *transb, const integer *m, const integer *n, const integer *k, const Treal *alpha, const Treal *a, const integer *lda, const Treal *b, const integer *ldb, const Treal *beta, Treal *c__, const integer *ldc)
Definition: template_blas_gemm.h:43
int template_lapack_getf2(const integer *m, const integer *n, Treal *a, const integer *lda, integer *ipiv, integer *info)
Definition: template_lapack_getf2.h:42
int template_lapack_laswp(const integer *n, Treal *a, const integer *lda, const integer *k1, const integer *k2, const integer *ipiv, const integer *incx)
Definition: template_lapack_laswp.h:42
int template_blas_erbla(const char *srname, integer *info)
Definition: template_blas_common.cc:146
int integer
Definition: template_blas_common.h:40
int template_lapack_getrf(const integer *m, const integer *n, Treal *a, const integer *lda, integer *ipiv, integer *info)
Definition: template_lapack_getrf.h:42
#define maxMACRO(a, b)
Definition: template_blas_common.h:45