Go to the documentation of this file.
37 #ifndef TEMPLATE_LAPACK_POTRF_HEADER
38 #define TEMPLATE_LAPACK_POTRF_HEADER
110 integer a_dim1, a_offset, i__1, i__2, i__3, i__4;
115 #define a_ref(a_1,a_2) a[(a_2)*a_dim1 + a_1]
119 a_offset = 1 + a_dim1 * 1;
148 if (nb <= 1 || nb >= *n) {
163 for (j = 1; i__2 < 0 ? j >= i__1 : j <= i__1; j += i__2) {
169 i__3 = nb, i__4 = *n - j + 1;
173 lda, &c_b14, &
a_ref(j, j), lda)
183 i__3 = *n - j - jb + 1;
186 c_b13, &
a_ref(1, j), lda, &
a_ref(1, j + jb), lda,
187 &c_b14, &
a_ref(j, j + jb), lda);
188 i__3 = *n - j - jb + 1;
190 i__3, &c_b14, &
a_ref(j, j), lda, &
a_ref(j, j + jb)
203 for (j = 1; i__1 < 0 ? j >= i__2 : j <= i__2; j += i__1) {
209 i__3 = nb, i__4 = *n - j + 1;
213 1), lda, &c_b14, &
a_ref(j, j), lda);
222 i__3 = *n - j - jb + 1;
225 c_b13, &
a_ref(j + jb, 1), lda, &
a_ref(j, 1), lda,
226 &c_b14, &
a_ref(j + jb, j), lda);
227 i__3 = *n - j - jb + 1;
229 jb, &c_b14, &
a_ref(j, j), lda, &
a_ref(j + jb, j),
239 *info = *info + j - 1;
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_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:42
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_lapack_potrf(const char *uplo, const integer *n, Treal *a, const integer *lda, integer *info)
Definition: template_lapack_potrf.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
bool logical
Definition: template_blas_common.h:41
int template_blas_erbla(const char *srname, integer *info)
Definition: template_blas_common.cc:146
logical template_blas_lsame(const char *ca, const char *cb)
Definition: template_blas_common.cc:46
int template_lapack_potf2(const char *uplo, const integer *n, Treal *a, const integer *lda, integer *info)
Definition: template_lapack_potf2.h:42
int integer
Definition: template_blas_common.h:40
#define maxMACRO(a, b)
Definition: template_blas_common.h:45