Commit Graph
3428 Commits
Author SHA1 Message Date
Weslley da Silva Pereira c9e012152f Apply the fixes on lapacke_(c,s,z)tpmqrt_work.c 2022-10-12 13:14:21 -06:00
Angelika Schwarz ca9fa5a016 Fix lower triangular band matrix generation
Closes #343
2022-10-12 18:22:51 +02:00
langou 96bd210ccd Merge pull request #655 from weslleyspereira/try-improve-convergence-dlaed4
Try improve convergence dlaed4
2022-10-11 19:39:14 -06:00
Weslley da Silva Pereira 64a0db9b19 Applies fixes thanks to @angsch 2022-10-10 13:51:07 -06:00
Weslley S. Pereira 79a37b29a5 Merge pull request #721 from angsch/cblas
Fix 2 CBLAS issues
2022-10-06 14:49:25 -06:00
langou 7012e36507 Merge pull request #651 from angsch/master
Add level-3 BLAS triangular Sylvester equation solver
2022-10-06 14:22:58 -06:00
langou 34b804e996 Merge pull request #698 from thijssteel/qz-revert-infinite-eigenvalue-criterion
Use normwise criterion for inf eigenvalues in QZ
2022-10-06 14:11:05 -06:00
langou 64023f5699 Merge pull request #725 from ACSimon33/LAPACKE_xlangb
Implemented a LAPACKE_?langb interface
2022-10-06 14:09:55 -06:00
langou 83c7e0def1 Merge pull request #703 from weslleyspereira/explicit-all-conversions
Define conversions explicitly, and use more rigorous flags in the CI
2022-10-06 13:57:21 -06:00
Simon Maertens 15e62c3e70 Use the same trick as in ?lange to remove the matrix transposition. 2022-10-06 13:59:10 +01:00
Simon Maertens 945bb8d170 Removed unnecessary assign to info. 2022-10-05 19:58:26 +01:00
Simon Maertens 6c6c5a5372 Changed copyright year of LAPACKE_?langb files. 2022-10-05 19:48:52 +01:00
Simon Maertens 12ce4ff977 Changed auther of LAPACKE_?langb files. 2022-10-05 19:38:32 +01:00
Simon Maertens 1de378bbb9 Added LAPACKE_?langb interfaces. 2022-10-05 18:00:40 +01:00
Angelika Schwarz a8028e9ddc Fix undefined reference to cblas_[sd]cabs1
cblas.h defines

   double cblas_dcabs1(const void  *z);
   float  cblas_scabs1(const void  *c);

but does not provide an implementation. This commit adds
the missing implementation in the common CBLAS style and
eliminates the linker error when calling the above function.
2022-10-02 16:54:32 +02:00
langou 7c16bc09a8 Merge pull request #712 from angsch/scale
Set SCALE early for robust triangular solvers
2022-09-29 17:45:02 -06:00
langou 291d268f03 Merge pull request #720 from MonicaLiu0311/vcpkg-installition
Add vcpkg installation instructions
2022-09-27 17:45:58 -06:00
Angelika Schwarz 02b71fcbc6 Add interfaces cblas_[c,z]rotg, cblas_[cs,zd]rot
Closes #473
2022-09-27 19:46:08 +02:00
Angelika Schwarz 0a7dec1ff1 Avoid NaN generation in LATRS
Fixes #714
2022-09-25 17:38:34 +02:00
Angelika Schwarz 7ce9bf5fca Set SCALE early for robust triangular solvers
1) The docs define SCALE as an output argument. Set SCALE *before*
the quick return case to have SCALE defined in all cases. This is
how the similar routine TRSYL handles the case already.

2) Remove invocations of LABAD in complex routines and be consistent
with their real counterparts, which do not call LABAD.
2022-09-19 17:20:47 +02:00
langou 4f5e185894 Merge pull request #697 from weslleyspereira/fix-sorcsd
Fix sorcsd
2022-09-18 12:00:32 -06:00
Angelika Schwarz 970a7721d8 Add BLAS-3 robust triangular solver T*X = B*diag(s1, ..., sN)
An extensions of LATRS solving T*x = s*x to many right-hand sides,
allowing the usage of BLAS-3.

The new algorithm tends to use less aggressive scaling,
in particular for larger matrices.
2022-09-18 15:22:13 +02:00
Monica 3067a050e9 Add vcpkg installation instructions 2022-09-15 15:29:47 +08:00
Angelika Schwarz 1c1263ec24 Use unblocked code if insufficient workspace is provided 2022-09-14 20:12:53 +02:00
Angelika Schwarz 8f441098cc LAPACKE interface of [cz]trsyl3 2022-09-14 20:12:53 +02:00
Angelika Schwarz 05f9e54f0f Add ctrsyl3 and corresponding tests 2022-09-14 20:12:53 +02:00
Angelika Schwarz 079c185c6a Add ztrsyl3 and corresponding tests
The tests of ztrsyl via zget35 are on tiny matrices that fall into the
unblocked section of ztrsyl3. Add a new test file that checks ztrsyl(3)
for larger matrices and their compatibility: Every problem that is
solvable by ztrsyl must be solvable by ztrsyl3.
2022-09-14 20:12:53 +02:00
Angelika Schwarz 46275f0d78 LAPACKE interface of [sd]trsyl3 2022-09-14 20:12:53 +02:00
Angelika Schwarz 833cd585b5 Test [sd]trsyl3 2022-09-14 20:12:53 +02:00
Angelika Schwarz cda8a83b76 Add level-3 BLAS triangular Sylvester equation solver
Force compatibility with [ds]trsyl. Use two floating-point
scaling factors (rather than integer scaling factors).
This does not eliminate the problem that scalings can be flushed,
making any result useless. That problem could be eliminated
by replacing the floating-point scale factor with an integer
scale factor.
2022-09-14 20:12:53 +02:00
langou 801ac2ff7a Merge pull request #696 from ACSimon33/time_check_flag_propagation
Time check flag propagation and default value.
2022-08-31 07:08:33 -06:00
langou be3a076e1c Merge pull request #713 from ACSimon33/test_summary_fix
Fixed the test dependencies of the test summary
2022-08-28 08:15:33 -06:00
Simon Maertens 40f565c4d6 Fixed the test dependencies of the test summary. Improved status message. 2022-08-22 10:49:19 +01:00
Weslley S. Pereira dcba2e274a Merge pull request #700 from ACSimon33/cblas_int64_warning_fix
Fixed format warnings in 64 bit integer builds.
2022-08-11 12:33:20 -06:00
Weslley da Silva Pereira 9f6566470e Use LTO and warnings for unused variables only on the Makefile CI 2022-08-11 10:07:59 -06:00
Weslley da Silva Pereira fdcd1de954 Removes all implicit conversions from the Fortran and add -Werror=conversion to the CI 2022-08-11 08:55:37 -06:00
Weslley da Silva Pereira 5792a1dc93 Add more information and more strict rules to the CI 2022-08-10 17:26:53 -06:00
Weslley da Silva Pereira 0b9757db86 Explicit all conversions in the Fortran code 2022-08-10 17:26:53 -06:00
Weslley S. Pereira cb8d38c76b Merge pull request #706 from mjacobse/testing-type-mismatches
Fix type mismatches in function calls of testing code
2022-08-10 17:23:18 -06:00
Marcel Jacobse 35dd277cdd Fix type mismatches in function calls of testing code 2022-08-10 20:18:54 +02:00
Simon Maertens 0b5b0fa478 Added 64-bit integer switch to lapack.h header 2022-08-10 16:27:32 +02:00
Weslley da Silva Pereira 2ba5e8e042 Fix bug in DORCSD2BY1 (found by doing a diff between single and double precision files) 2022-08-10 07:07:34 -06:00
Weslley da Silva Pereira 2beef68075 Fix documentation for double, complex and double complex 2022-08-10 07:07:34 -06:00
Weslley da Silva Pereira 02836f353d Revert "SORCSD2BY1: remove dead code"
This reverts commit d245b4f6ef.
2022-08-10 07:07:34 -06:00
Weslley da Silva Pereira 6a44057f06 Revert "SORCSD: fix documentation on matrix dimensions"
This reverts commit bdcd890a18.
2022-08-10 07:07:34 -06:00
Weslley S. Pereira d073b03ec4 Merge pull request #702 from mjacobse/master
Fix type precision in dorbdb6 and zunbdb6
2022-08-10 06:51:31 -06:00
Marcel Jacobse c5287143de Fix type precision in dorbdb6 and zunbdb6 2022-08-10 00:19:35 +02:00
Weslley S. Pereira 984dcc059c Merge pull request #699 from ivan-pi/lsame
Add const to LAPACK_lsame_base
2022-08-09 09:05:06 -06:00
Simon Maertens 57259965ea Added guard around LAPACK_IFMT define. 2022-08-09 07:30:02 +01:00
Simon Maertens 82014d9396 Added LAPACK_IFMT in lapack.h for 32-bit integer builds. Replaced int with int32_t as default type. 2022-08-09 07:28:01 +01:00