35 #ifndef TEMPLATE_LAPACK_POTRF_HEADER 36 #define TEMPLATE_LAPACK_POTRF_HEADER 108 integer a_dim1, a_offset, i__1, i__2, i__3, i__4;
113 #define a_ref(a_1,a_2) a[(a_2)*a_dim1 + a_1] 117 a_offset = 1 + a_dim1 * 1;
146 if (nb <= 1 || nb >= *n) {
161 for (j = 1; i__2 < 0 ? j >= i__1 : j <= i__1; j += i__2) {
167 i__3 = nb, i__4 = *n - j + 1;
171 lda, &c_b14, &
a_ref(j, j), lda)
181 i__3 = *n - j - jb + 1;
184 c_b13, &
a_ref(1, j), lda, &
a_ref(1, j + jb), lda,
185 &c_b14, &
a_ref(j, j + jb), lda);
186 i__3 = *n - j - jb + 1;
188 i__3, &c_b14, &
a_ref(j, j), lda, &
a_ref(j, j + jb)
201 for (j = 1; i__1 < 0 ? j >= i__2 : j <= i__2; j += i__1) {
207 i__3 = nb, i__4 = *n - j + 1;
211 1), lda, &c_b14, &
a_ref(j, j), lda);
220 i__3 = *n - j - jb + 1;
223 c_b13, &
a_ref(j + jb, 1), lda, &
a_ref(j, 1), lda,
224 &c_b14, &
a_ref(j + jb, j), lda);
225 i__3 = *n - j - jb + 1;
227 jb, &c_b14, &
a_ref(j, j), lda, &
a_ref(j + jb, j),
237 *info = *info + j - 1;
int template_lapack_potrf(const char *uplo, const integer *n, Treal *a, const integer *lda, integer *info)
Definition: template_lapack_potrf.h:41
int integer
Definition: template_blas_common.h:38
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:279
#define maxMACRO(a, b)
Definition: template_blas_common.h:43
int template_blas_syrk(const char *uplo, const char *trans, const integer *n, const integer *k, const Treal *alpha, const Treal *a, const integer *lda, const Treal *beta, Treal *c__, const integer *ldc)
Definition: template_blas_syrk.h:40
#define minMACRO(a, b)
Definition: template_blas_common.h:44
int template_blas_erbla(const char *srname, integer *info)
Definition: template_blas_common.cc:144
int template_lapack_potf2(const char *uplo, const integer *n, Treal *a, const integer *lda, integer *info)
Definition: template_lapack_potf2.h:40
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:41
bool logical
Definition: template_blas_common.h:39
int ftnlen
Definition: template_blas_common.h:40
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:41
logical template_blas_lsame(const char *ca, const char *cb)
Definition: template_blas_common.cc:44