whitespace fixes
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
/* fortran/dposv.f -- translated by f2c (version 20200916).
|
||||
You must link the resulting object file with libf2c:
|
||||
on Microsoft Windows system, link with libf2c.lib;
|
||||
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
|
||||
or, if you install libf2c.a in a standard place, with -lf2c -lm
|
||||
-- in that order, at the end of the command line, as in
|
||||
cc *.o -lf2c -lm
|
||||
Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
|
||||
on Microsoft Windows system, link with libf2c.lib;
|
||||
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
|
||||
or, if you install libf2c.a in a standard place, with -lf2c -lm
|
||||
-- in that order, at the end of the command line, as in
|
||||
cc *.o -lf2c -lm
|
||||
Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
|
||||
|
||||
http://www.netlib.org/f2c/libf2c.zip
|
||||
http://www.netlib.org/f2c/libf2c.zip
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -146,9 +146,9 @@ extern "C" {
|
||||
/* > \ingroup doublePOsolve */
|
||||
|
||||
/* ===================================================================== */
|
||||
/* Subroutine */ int dposv_(char *uplo, integer *n, integer *nrhs, doublereal
|
||||
*a, integer *lda, doublereal *b, integer *ldb, integer *info, ftnlen
|
||||
uplo_len)
|
||||
/* Subroutine */ int dposv_(char *uplo, integer *n, integer *nrhs, doublereal
|
||||
*a, integer *lda, doublereal *b, integer *ldb, integer *info, ftnlen
|
||||
uplo_len)
|
||||
{
|
||||
/* System generated locals */
|
||||
integer a_dim1, a_offset, b_dim1, b_offset, i__1;
|
||||
@ -156,9 +156,9 @@ extern "C" {
|
||||
/* Local variables */
|
||||
extern logical lsame_(char *, char *, ftnlen, ftnlen);
|
||||
extern /* Subroutine */ int xerbla_(char *, integer *, ftnlen), dpotrf_(
|
||||
char *, integer *, doublereal *, integer *, integer *, ftnlen),
|
||||
dpotrs_(char *, integer *, integer *, doublereal *, integer *,
|
||||
doublereal *, integer *, integer *, ftnlen);
|
||||
char *, integer *, doublereal *, integer *, integer *, ftnlen),
|
||||
dpotrs_(char *, integer *, integer *, doublereal *, integer *,
|
||||
doublereal *, integer *, integer *, ftnlen);
|
||||
|
||||
|
||||
/* -- LAPACK driver routine -- */
|
||||
@ -193,21 +193,21 @@ extern "C" {
|
||||
/* Function Body */
|
||||
*info = 0;
|
||||
if (! lsame_(uplo, (char *)"U", (ftnlen)1, (ftnlen)1) && ! lsame_(uplo, (char *)"L", (
|
||||
ftnlen)1, (ftnlen)1)) {
|
||||
*info = -1;
|
||||
ftnlen)1, (ftnlen)1)) {
|
||||
*info = -1;
|
||||
} else if (*n < 0) {
|
||||
*info = -2;
|
||||
*info = -2;
|
||||
} else if (*nrhs < 0) {
|
||||
*info = -3;
|
||||
*info = -3;
|
||||
} else if (*lda < max(1,*n)) {
|
||||
*info = -5;
|
||||
*info = -5;
|
||||
} else if (*ldb < max(1,*n)) {
|
||||
*info = -7;
|
||||
*info = -7;
|
||||
}
|
||||
if (*info != 0) {
|
||||
i__1 = -(*info);
|
||||
xerbla_((char *)"DPOSV ", &i__1, (ftnlen)6);
|
||||
return 0;
|
||||
i__1 = -(*info);
|
||||
xerbla_((char *)"DPOSV ", &i__1, (ftnlen)6);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Compute the Cholesky factorization A = U**T*U or A = L*L**T. */
|
||||
@ -217,8 +217,8 @@ extern "C" {
|
||||
|
||||
/* Solve the system A*X = B, overwriting B with X. */
|
||||
|
||||
dpotrs_(uplo, n, nrhs, &a[a_offset], lda, &b[b_offset], ldb, info, (
|
||||
ftnlen)1);
|
||||
dpotrs_(uplo, n, nrhs, &a[a_offset], lda, &b[b_offset], ldb, info, (
|
||||
ftnlen)1);
|
||||
|
||||
}
|
||||
return 0;
|
||||
@ -228,5 +228,5 @@ extern "C" {
|
||||
} /* dposv_ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user