37 #ifndef TEMPLATE_LAPACK_TRTRI_HEADER 38 #define TEMPLATE_LAPACK_TRTRI_HEADER 111 integer a_dim1, a_offset, i__1, i__2[2], i__3, i__4, i__5;
118 #define a_ref(a_1,a_2) a[(a_2)*a_dim1 + a_1] 122 a_offset = 1 + a_dim1 * 1;
154 for (*info = 1; *info <= i__1; ++(*info)) {
155 if (
a_ref(*info, *info) == 0.) {
166 i__2[0] = 1, a__1[0] = (
char*)uplo;
167 i__2[1] = 1, a__1[1] = (
char*)diag;
171 if (nb <= 1 || nb >= *n) {
186 for (j = 1; i__3 < 0 ? j >= i__1 : j <= i__1; j += i__3) {
188 i__4 = nb, i__5 = *n - j + 1;
195 c_b18, &a[a_offset], lda, &
a_ref(1, j), lda);
209 nn = (*n - 1) / nb * nb + 1;
211 for (j = nn; i__3 < 0 ? j >= 1 : j <= 1; j += i__3) {
213 i__1 = nb, i__4 = *n - j + 1;
219 i__1 = *n - j - jb + 1;
221 &c_b18, &
a_ref(j + jb, j + jb), lda, &
a_ref(j +
223 i__1 = *n - j - jb + 1;
int integer
Definition: template_blas_common.h:40
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:43
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
char * address
Definition: template_blas_common.h:43
#define maxMACRO(a, b)
Definition: template_blas_common.h:45
#define minMACRO(a, b)
Definition: template_blas_common.h:46
int template_blas_erbla(const char *srname, integer *info)
Definition: template_blas_common.cc:146
void template_blas_s_cat(char *lp, char *rpp[], ftnlen rnp[], ftnlen *np, ftnlen ll)
Definition: template_blas_common.cc:204
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: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
bool logical
Definition: template_blas_common.h:41
int ftnlen
Definition: template_blas_common.h:42
logical template_blas_lsame(const char *ca, const char *cb)
Definition: template_blas_common.cc:46
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:42