Skip to content

Commit

Permalink
Implement truncated QR with pivoting (Reference-LAPACK PR 891)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Nov 15, 2023
1 parent d36b86a commit 23cda45
Show file tree
Hide file tree
Showing 13 changed files with 11,006 additions and 1 deletion.
1,091 changes: 1,091 additions & 0 deletions lapack-netlib/SRC/cgeqp3rk.f

Large diffs are not rendered by default.

726 changes: 726 additions & 0 deletions lapack-netlib/SRC/claqp2rk.f

Large diffs are not rendered by default.

947 changes: 947 additions & 0 deletions lapack-netlib/SRC/claqp3rk.f

Large diffs are not rendered by default.

1,081 changes: 1,081 additions & 0 deletions lapack-netlib/SRC/dgeqp3rk.f

Large diffs are not rendered by default.

713 changes: 713 additions & 0 deletions lapack-netlib/SRC/dlaqp2rk.f

Large diffs are not rendered by default.

935 changes: 935 additions & 0 deletions lapack-netlib/SRC/dlaqp3rk.f

Large diffs are not rendered by default.

21 changes: 20 additions & 1 deletion lapack-netlib/SRC/ilaenv.f
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
*> \author Univ. of Colorado Denver
*> \author NAG Ltd.
*
*> \ingroup OTHERauxiliary
*> \ingroup ilaenv
*
*> \par Further Details:
* =====================
Expand Down Expand Up @@ -355,6 +355,12 @@ INTEGER FUNCTION ILAENV( ISPEC, NAME, OPTS, N1, N2, N3, N4 )
ELSE
NB = 64
END IF
ELSE IF( SUBNAM( 4: 7 ).EQ.'QP3RK' ) THEN
IF( SNAME ) THEN
NB = 32
ELSE
NB = 32
END IF
END IF
ELSE IF( C2.EQ.'PO' ) THEN
IF( C3.EQ.'TRF' ) THEN
Expand Down Expand Up @@ -541,7 +547,14 @@ INTEGER FUNCTION ILAENV( ISPEC, NAME, OPTS, N1, N2, N3, N4 )
ELSE
NBMIN = 2
END IF
ELSE IF( SUBNAM( 4: 7 ).EQ.'QP3RK' ) THEN
IF( SNAME ) THEN
NBMIN = 2
ELSE
NBMIN = 2
END IF
END IF

ELSE IF( C2.EQ.'SY' ) THEN
IF( C3.EQ.'TRF' ) THEN
IF( SNAME ) THEN
Expand Down Expand Up @@ -618,6 +631,12 @@ INTEGER FUNCTION ILAENV( ISPEC, NAME, OPTS, N1, N2, N3, N4 )
ELSE
NX = 128
END IF
ELSE IF( SUBNAM( 4: 7 ).EQ.'QP3RK' ) THEN
IF( SNAME ) THEN
NX = 128
ELSE
NX = 128
END IF
END IF
ELSE IF( C2.EQ.'SY' ) THEN
IF( SNAME .AND. C3.EQ.'TRD' ) THEN
Expand Down
Loading

0 comments on commit 23cda45

Please sign in to comment.