35 #ifndef TEMPLATE_LAPACK_TRTRI_HEADER
36 #define TEMPLATE_LAPACK_TRTRI_HEADER
109 integer a_dim1, a_offset, i__1, i__2[2], i__3, i__4, i__5;
116 #define a_ref(a_1,a_2) a[(a_2)*a_dim1 + a_1]
120 a_offset = 1 + a_dim1 * 1;
152 for (*info = 1; *info <= i__1; ++(*info)) {
153 if (
a_ref(*info, *info) == 0.) {
164 i__2[0] = 1, a__1[0] = (
char*)uplo;
165 i__2[1] = 1, a__1[1] = (
char*)diag;
169 if (nb <= 1 || nb >= *n) {
184 for (j = 1; i__3 < 0 ? j >= i__1 : j <= i__1; j += i__3) {
186 i__4 = nb, i__5 = *n - j + 1;
193 c_b18, &a[a_offset], lda, &
a_ref(1, j), lda);
207 nn = (*n - 1) / nb * nb + 1;
209 for (j = nn; i__3 < 0 ? j >= 1 : j <= 1; j += i__3) {
211 i__1 = nb, i__4 = *n - j + 1;
217 i__1 = *n - j - jb + 1;
219 &c_b18, &
a_ref(j + jb, j + jb), lda, &
a_ref(j +
221 i__1 = *n - j - jb + 1;
int integer
Definition: template_blas_common.h:38
int template_blas_trmm(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_trmm.h:41
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
char * address
Definition: template_blas_common.h:41
#define maxMACRO(a, b)
Definition: template_blas_common.h:43
#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
void template_blas_s_cat(char *lp, char *rpp[], ftnlen rnp[], ftnlen *np, ftnlen ll)
Definition: template_blas_common.cc:202
int template_lapack_trtri(const char *uplo, const char *diag, const integer *n, Treal *a, const integer *lda, integer *info)
Definition: template_lapack_trtri.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
logical template_blas_lsame(const char *ca, const char *cb)
Definition: template_blas_common.cc:44
int template_lapack_trti2(const char *uplo, const char *diag, const integer *n, Treal *a, const integer *lda, integer *info)
Definition: template_lapack_trti2.h:40