35 #ifndef TEMPLATE_LAPACK_POCON_HEADER
36 #define TEMPLATE_LAPACK_POCON_HEADER
41 lda,
const Treal *anorm, Treal *rcond, Treal *work,
integer *
103 integer a_dim1, a_offset, i__1;
118 a_offset = 1 + a_dim1 * 1;
132 }
else if (*anorm < 0.) {
147 }
else if (*anorm == 0.) {
156 *(
unsigned char *)normin =
'N';
165 lda, &work[1], &scalel, &work[(*n << 1) + 1], info);
166 *(
unsigned char *)normin =
'Y';
171 a_offset], lda, &work[1], &scaleu, &work[(*n << 1) + 1],
178 a_offset], lda, &work[1], &scalel, &work[(*n << 1) + 1],
180 *(
unsigned char *)normin =
'Y';
185 lda, &work[1], &scaleu, &work[(*n << 1) + 1], info);
190 scale = scalel * scaleu;
193 if (scale < (d__1 = work[ix],
absMACRO(d__1)) * smlnum || scale == 0.)
205 *rcond = 1. / ainvnm / *anorm;
#define absMACRO(x)
Definition: template_blas_common.h:45
integer template_blas_idamax(const integer *n, const Treal *dx, const integer *incx)
Definition: template_blas_idamax.h:40
int template_lapack_pocon(const char *uplo, const integer *n, const Treal *a, const integer *lda, const Treal *anorm, Treal *rcond, Treal *work, integer *iwork, integer *info)
Definition: template_lapack_pocon.h:40
int integer
Definition: template_blas_common.h:38
#define maxMACRO(a, b)
Definition: template_blas_common.h:43
int template_lapack_lacon(const integer *n, Treal *v, Treal *x, integer *isgn, Treal *est, integer *kase)
Definition: template_lapack_lacon.h:40
int template_blas_erbla(const char *srname, integer *info)
Definition: template_blas_common.cc:144
int template_lapack_latrs(const char *uplo, const char *trans, const char *diag, const char *normin, const integer *n, const Treal *a, const integer *lda, Treal *x, Treal *scale, Treal *cnorm, integer *info)
Definition: template_lapack_latrs.h:40
Treal template_lapack_lamch(const char *cmach, Treal dummyReal)
Definition: template_lapack_lamch.h:199
int template_lapack_rscl(const integer *n, const Treal *sa, Treal *sx, const integer *incx)
Definition: template_lapack_rscl.h:40
bool logical
Definition: template_blas_common.h:39
logical template_blas_lsame(const char *ca, const char *cb)
Definition: template_blas_common.cc:44