35 #ifndef TEMPLATE_LAPACK_TPTRI_HEADER
36 #define TEMPLATE_LAPACK_TPTRI_HEADER
149 for (*info = 1; *info <= i__1; ++(*info)) {
159 for (*info = 1; *info <= i__1; ++(*info)) {
163 jj = jj + *n - *info + 1;
176 for (j = 1; j <= i__1; ++j) {
178 ap[jc + j - 1] = 1. / ap[jc + j - 1];
179 ajj = -ap[jc + j - 1];
199 jc = *n * (*n + 1) / 2;
200 for (j = *n; j >= 1; --j) {
202 ap[jc] = 1. / ap[jc];
218 jc = jc - *n + j - 2;
int template_blas_scal(const integer *n, const Treal *da, Treal *dx, const integer *incx)
Definition: template_blas_scal.h:41
int template_blas_tpmv(const char *uplo, const char *trans, const char *diag, const integer *n, const Treal *ap, Treal *x, const integer *incx)
Definition: template_blas_tpmv.h:40
int integer
Definition: template_blas_common.h:38
int template_blas_erbla(const char *srname, integer *info)
Definition: template_blas_common.cc:144
int template_lapack_tptri(const char *uplo, const char *diag, const integer *n, Treal *ap, integer *info)
Definition: template_lapack_tptri.h:41
bool logical
Definition: template_blas_common.h:39
logical template_blas_lsame(const char *ca, const char *cb)
Definition: template_blas_common.cc:44