Commit Graph
1322 Commits
Author SHA1 Message Date
Angelika Schwarz 230b8c4862 Fix -ZERO singular value in bdsqr
[D,Z]BDSQR returns for

D = [ -4.0, -3.0, -2.0, -1.0, 0.0, 1.0, 2.0, 3.0, 4.0, 5.0]
E = [ 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0]

as singular value  D(10) = -ZERO. By definition, singular values
are non-negative. LASQ1 already fixes the sign and returns +ZERO.
2024-02-23 19:46:45 +01:00
Angelika Schwarz acbac1092c Update documentation of work size in bdsqr (thanks @TarcioV)
In https://github.com/Reference-LAPACK/lapack/pull/234
only dbdsqr was updated. This updates the documentation
of the other precisions.
2024-02-23 19:46:34 +01:00
Maria Kraynyuk bc5d836a31 resolve conflicts after rebasing 2024-02-05 11:37:53 -08:00
Maria Kraynyuk 21299d28eb Enable Index-64 extended API only for Intel and GNU compilers
Other compilers might not fully support preprocessing
2024-02-05 10:54:15 -08:00
Maria Kraynyuk 40ca7a2713 Include lapack_64.h only during the build 2024-02-05 10:54:04 -08:00
Maria Kraynyuk ee213a3ed3 resolve conflicts after rebasing 2024-02-05 10:32:21 -08:00
Maria Kraynyuk fe3e793c16 Remove unused lapack_64.h from la_constants 2024-02-05 10:32:21 -08:00
Maria Kraynyuk 81823e958c Fix -Werror=conversion problems in LAPACK with integer-8 2024-02-05 10:32:17 -08:00
Maria Kraynyuk 56aa979416 Fix problem with missed mod files in parallel LAPACK build 2024-02-05 10:28:27 -08:00
Maria Kraynyuk 3ccdccea9b LAPACK SRC long lines updated manually 2024-02-05 10:28:26 -08:00
Maria Kraynyuk a1e8cb4845 LAPACK SRC long lines updated by script 2024-02-05 10:28:25 -08:00
Maria Kraynyuk b891145899 Add extended API with _64 suffix to LAPACK with lapack_64.h 2024-02-05 10:28:08 -08:00
Christoph Conrads 827cb8e8eb {C,Z}LARFGP: re-scale input vector more often
Re-scale the input vector even if `X` is negligibly small in norm if the
imaginary part of `ALPHA` is nonzero. For otherwise `XNORM` will not be
computed with a small _relative_ error.

fixes #980
2024-01-17 18:52:16 +01:00
Kyle Guinn dead4e4dfd Fix missing DONE parameter name
SRC/slaqp3rk.f:585: warning: unexpected command endverbatim
SRC/dlaqp3rk.f:585: warning: unexpected command endverbatim
SRC/claqp3rk.f:579: warning: unexpected command endverbatim
SRC/zlaqp3rk.f:579: warning: unexpected command endverbatim
2024-01-16 22:46:23 -06:00
Kyle Guinn 6597d4803b Fix mismatched verbatim/endverbatim commands
SRC/zgedmd.f90:213: warning: reached end of comment while inside a \verbatim block; check for missing \endverbatim tag!
SRC/zgedmdq.f90:710: warning: unexpected command endverbatim
2024-01-16 22:46:23 -06:00
Kyle Guinn aa41ed6b5e Fix ZWORK parameter name
SRC/cgedmdq.f90:548: warning: argument 'lzwork' from the argument list of cgedmdq has multiple @param documentation sections
SRC/zgedmdq.f90:546: warning: argument 'lzwork' from the argument list of zgedmdq has multiple @param documentation sections
2024-01-16 22:46:13 -06:00
Kyle Guinn 79a0785334 Normalize line endings
sed -i 's/\s\+$//' SRC/*dmd* TESTING/EIG/*dmd*
Plus manually stripping empty lines at EOF.
2024-01-16 22:43:58 -06:00
Kyle Guinn 464f532552 Remove executable permissions from source files 2024-01-06 18:20:41 -06:00
Dmitry Klyuchinsky 4787915207 init variable SSUM before call of LASSQ in DMD 2023-12-12 13:42:37 +07:00
Dmitry Klyuchinsky 280e16145d add missed usage of sroundup_lwork in several functions 2023-12-04 18:29:06 +07:00
Dmitry Klyuchinsky cd7523d5b2 handle corner case of lwork in evr/evr_2stage and fix output format in chkxer 2023-12-04 16:35:36 +07:00
Dmitry Klyuchinsky 9dc24803a2 handle and document corner cases of lwork in lapack, align all precisions 2023-12-04 16:35:36 +07:00
Elizaveta Tokmasheva 7d15f830c2 handle and document corner cases of lwork in lapack, double complex precision 2023-12-04 16:35:35 +07:00
Elizaveta Tokmasheva e0d8afbed6 handle and document corner cases of lwork in lapack, single complex precision 2023-12-04 16:35:35 +07:00
Dmitry Klyuchinsky 0c1e0c3e75 handle and document corner cases of lwork in lapack, single precision 2023-12-04 16:35:35 +07:00
Dmitry Klyuchinsky 6032a6bca0 handle and document corner cases of lwork in lapack, double precision 2023-12-04 16:35:35 +07:00
Simon Maertens 8c54a57d66 Replaced non-standard IMAG function with its standard counterpart `AIMAG. 2023-11-29 14:31:16 +00:00
langou b231dd57cd Merge pull request #941 from Reference-LAPACK/lapack-new-feature
Update of the documentation to the pull request "Truncated QR with Pivoting #891"
2023-11-21 07:14:44 -07:00
scr2016 bd4455fb82 updated descriptions for the truncated QR routines second time 2023-11-21 03:02:10 -08:00
scr2016 dcbd80331e updated descriptions for the truncated QR routines 2023-11-20 23:07:59 -08:00
scr2016 aec6cb3281 Fixed an error in the description of complex routines, changed othogonal into unitary 2023-11-20 22:58:28 -08:00
langou d58d59a99d Merge pull request #891 from Reference-LAPACK/lapack-new-feature
Truncated QR with Pivoting
2023-11-14 21:02:04 -07:00
scr2016 d64a6ca96d fixed a typo-bug for intrinsics in dlaqp3rk.f 2023-11-14 04:42:11 -08:00
scr2016 7603b62709 UPDATED the descriptions of the new truncated QR routines 2023-11-14 04:42:11 -08:00
scr2016 ea4787ca59 added complex precision truncated QR and testing for CGEQP3RK, CLAQP2RK, CLAQP3RK 2023-11-14 04:42:11 -08:00
scr2016 036fef485f fixed description in SRC/zlaqp2rk.f SRC/zlaqp3rk.f 2023-11-14 04:42:10 -08:00
scr2016 0a6744177a fixed comments in SLAQP3RK 2023-11-14 04:42:10 -08:00
scr2016 7019c6345c added single precision ant testing for truncated QR i.e. SGEQP3RK, SLAQP2RK, SLAQP3RK 2023-11-14 04:42:10 -08:00
scr2016 10e12a4001 Intrinsic DBLE declaration from DLAQP3RK, since it is not used 2023-11-14 04:42:10 -08:00
scr2016 c64027aa5e DOWNDATED commnets in SRC/dgeqp3rk.f SRC/dlaqp2rk.f SRC/dlaqp3rk.f 2023-11-14 04:42:10 -08:00
scr2016 349a295b93 removed one comment sign * in SRC/zlaqp3rk.f 2023-11-14 04:42:10 -08:00
scr2016 bfbd799e1a DOWNDATED comments in SRC/zgeqp3rk.f SRC/zlaqp2rk.f SRC/zlaqp3rk.f 2023-11-14 04:42:10 -08:00
scr2016 7656583a53 changed formatting in the RELTOL description WE recomment RELTOL to be ... and for complex case added a factor of 10 as min( 10*max(M,N)*EPS, sqrt(EPS) ) <= RELTOL 2023-11-14 04:42:10 -08:00
scr2016 c037c322b7 added SRC/zgeqp3rk.f SRC/zlaqp2rk.f SRC/zlaqp2rk.f and changed Makefile and CMakeLists.txt accordingly 2023-11-14 04:42:10 -08:00
scr2016 667f08c385 corrected comment in update the i-th row of A in DLAQP3RK 2023-11-14 04:42:09 -08:00
scr2016 1309b6c5cc fixed an DLARFG index bug in dlaqp2rk.f and inserted debug statement in dlaqp3rk.f 2023-11-14 04:42:09 -08:00
scr2016 59fc007bc2 simplified the formula in the descriotion from LWORK >= (2*N + N+NRHS - 1) to LWORK >= (3*N + NRHS - 1) 2023-11-14 04:42:09 -08:00
scr2016 86cf705308 Updated description of the INFO about NaN detection in DGEQP3RK, DLAQP3RK, DLAQP2RK 2023-11-14 04:42:09 -08:00
scr2016 2c939526a5 changed comments about checking TAU for NaN in dlaqp2rk.f and dlaqp3rk.f and changed aligment of IMPLICIT NONE in the description of DGEQP3RK in dgeqp3rk.f 2023-11-14 04:42:09 -08:00
scr2016 8ecf1119ab changed text aligment for DGEMM and DGEMV function calls in DLAQP3RK 2023-11-14 04:42:09 -08:00