Commit Graph
114 Commits
Author SHA1 Message Date
Kevin J. Sung caab666dd4 add crot and zrot to LAPACKE 2026-02-21 08:29:46 -05:00
Simon Maertens 54817e9385 Replace FORTRAN_STRLEN type in the lapack.h header if it's different from size_t 2026-01-13 12:07:05 +01:00
Michał Górny 548f62369e Implement MSVC complex types
Implement the support for the `_Fcomplex` and `_Dcomplex` types used
by MSVC in place of the standard C99 complex types.  This is necessary
to make LAPACK build out of the box with MSVC, since it does not
implement the default C99 types.

See: https://learn.microsoft.com/en-us/cpp/c-runtime-library/complex-math-support

I went for the simplest implementation possible, limiting the changes
to swapping the default types used when MSVC is used as the compiler,
also when `lapack_config.h` is not used.  I haven't added
a `LAPACK_COMPLEX_*` ifdef for it, but I can do that if you prefer.

Signed-off-by: Michał Górny <mgorny@quansight.com>
2025-11-07 19:25:44 +01:00
Simon Maertens 0de6ae0fc4 Fixed const specifiers in several LAPACKE function signatures and removed some spurious transpositions of output matrices that are in fact pure input parameters. 2025-10-22 16:50:10 +02:00
Martin Köhler c1c39a8a14 Fixed cast-qual and other warnings in LAPACKE 2025-04-24 10:40:18 +02:00
Simon Maertens ed17a255af Removed spurious char lenght arguments in LSAME declaration 2024-06-20 16:04:55 +01:00
Simon Maertens 6cd9d27cd5 Made the type of hidden Fortran strlen arguments configurable for the NAG Fortran compiler and old GFortran 2024-06-19 15:31:45 +02:00
Maria Kraynyuk ee213a3ed3 resolve conflicts after rebasing 2024-02-05 10:32:21 -08:00
Maria Kraynyuk 907725572a Wrap all functions to macro for Index-64 API in LAPACKE 2024-02-05 10:21:06 -08:00
Maria Kraynyuk 741a2c2ee0 Add extended API with _64 suffix to LAPACKE 2024-02-05 10:20:49 -08:00
Weslley S Pereira 6a74005272 Solve a few bugs generated in the previous commit 2023-10-31 11:18:28 -06:00
Martin Kroeker 6eecdf6c0c update to match c/zgedmd interface fixes 2023-07-11 23:24:10 +02:00
Martin Kroeker cc4798ea38 Adjust prototypes of Dynamic Mode Decomposition functions 2023-07-09 18:20:22 +02:00
Daniel Bielich 561e5bdabc Requested changes for typos and convention errors in branch 2023-06-02 07:28:31 -05:00
langou fd82c8710b Merge branch 'master' into master 2023-06-01 10:42:23 -06:00
Knepper, Sarah 3b4587fb0d LAPACKE interfaces for [cz]unhr_col and [sd]orhr_col 2023-05-07 19:39:11 -07:00
Daniel Bielich c6c26897d5 Fixes for the integer workspace 2023-05-07 16:47:21 -04:00
Daniel Bielich f74a632337 Finishing up first impl of lapacke wrappers, waiting for review to revise 2023-03-24 14:31:13 -04:00
Daniel Bielich cc502278b1 Adding first precision of dmdq impl for lapacke 2023-03-24 11:48:51 -04:00
Daniel Bielich fbd853cc3a Adding lapacke wrappers for dmd routines - dmdq is needed yet 2023-03-24 11:04:17 -04:00
langou 1e7759a9f2 Merge pull request #742 from ACSimon33/LAPACKE_xLARFB_nancheck
Lapacke x larfb nancheck
2022-10-30 18:37:12 -06:00
Simon Maertens 80392de422 Added missing declaration for LAPACKE_ctrsyl3_work. 2022-10-31 00:01:47 +01:00
Simon Maertens de9eb94acf Updated lapacke_utils header 2022-10-30 23:46:55 +01:00
Simon Maertens 9d4f2e0cc7 Added NaN check for trapezoidal matrices and applied it to LAPACKE_?lantr 2022-10-27 17:26:11 +02: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
Simon Maertens 1de378bbb9 Added LAPACKE_?langb interfaces. 2022-10-05 18:00:40 +01:00
Angelika Schwarz 8f441098cc LAPACKE interface of [cz]trsyl3 2022-09-14 20:12:53 +02:00
Angelika Schwarz 46275f0d78 LAPACKE interface of [sd]trsyl3 2022-09-14 20:12:53 +02: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
Simon Maertens 0b5b0fa478 Added 64-bit integer switch to lapack.h header 2022-08-10 16:27:32 +02: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
Simon Maertens 6030bc410a Fixed LAPACKE integer formats for 64bit build. 2022-08-08 16:41:30 +02:00
Ivan Pribec 9079671c6a Add const to LAPACK_lsame_base 2022-08-08 14:52:46 +02:00
Weslley da Silva Pereira eac5d3e43d Adds __attribute__((const)) to LAPACKE_lsame. This change allows for optimizations on GCC. This solution was proposed by @martin-frbg 2022-03-02 11:43:39 -07:00
Christoph Conrads ca0b206d88 CMake: always install lapack.h header
fixes #632
2022-01-30 19:25:43 +00:00
Larson, Eric d04553067e ILP support
long's in windows are 4 bytes (MSVS, intel compilers). Use int64_t and int32_t
to ensure 8 byte integers for ILP interface.

support 8 byte integer flag for intel ifort compiler
2021-09-27 10:22:49 -07:00
weslley.spereira a0c5e29cf7 Remove lapacke_mangling.h. This file must be generated automatically during build 2021-06-15 20:09:43 -03:00
ZTaylor39 ab58ebd1e7 Fix typo in lapack.h
Fixed typos on lines 219 and 221 in lapack.h
2021-06-07 13:42:59 -04:00
Edward Smyth 2f1468a8b8 Correct typo indentified by weslleyspereira 2021-05-25 11:18:41 +01:00
Edward Smyth 5bfb960d30 Add LAPACK_FORTRAN_STRLEN_END info to function prototypes in LAPACKE/include/lapack.h 2021-05-20 17:39:13 +01:00
Edward Smyth 6aef1d25ac Add const qualifiers to headers to match routine specification 2021-04-16 10:56:15 +01:00
weslley.spereira 4e693fe7f2 Minor fixes to build with FFLAGS=-fimplicit-none -frecursive -fcheck=all 2021-04-15 09:14:34 -03:00
Julie e18d437924 Making LAPACK's code eternal... no more version and date in source files.
GitHub is now enabling us to track accurately version and date.
No need for this anymore.
2021-03-25 10:16:58 -07:00
weslley.spereira 628a2095c2 Fix bug thanks to @langou. Defines LAPACK_FORTRAN_STRLEN_END by default, following @mgates3 comments in @512 and LAPACK++ convention 2021-03-18 18:19:22 -03:00
weslley.spereira d3e64d6445 Change unsigned to size_t, thanks to @jabl 2021-03-18 16:10:09 -03:00
weslley.spereira 2d9fbdeecc Add hidden strlen argument in CBLAS and LAPACKE 2021-03-18 16:10:34 -03:00
scr2016 874b67870e addedd LAPACKE routunes for new Householder reconstruction routines
( SGETSQRHRT, SORGTSQR_ROW, DGETSQRHRT, DORGTSQR_ROW,
  CGETSQRHRT, CUNGTSQR_ROW, ZGETSQRHRT, ZUNGTSQR_ROW )
S, D, C and Z precisions.

modified:   include/lapack.h
modified:   include/lapacke.h
modified:   src/CMakeLists.txt
modified:   src/Makefile
new file:   src/lapacke_cgetsqrhrt.c
new file:   src/lapacke_cgetsqrhrt_work.c
new file:   src/lapacke_cungtsqr_row.c
new file:   src/lapacke_cungtsqr_row_work.c
new file:   src/lapacke_dgetsqrhrt.c
new file:   src/lapacke_dgetsqrhrt_work.c
new file:   src/lapacke_dorgtsqr_row.c
new file:   src/lapacke_dorgtsqr_row_work.c
new file:   src/lapacke_sgetsqrhrt.c
new file:   src/lapacke_sgetsqrhrt_work.c
new file:   src/lapacke_sorgtsqr_row.c
new file:   src/lapacke_sorgtsqr_row_work.c
new file:   src/lapacke_zgetsqrhrt.c
new file:   src/lapacke_zgetsqrhrt_work.c
new file:   src/lapacke_zungtsqr_row.c
new file:   src/lapacke_zungtsqr_row_work.c
2021-02-11 06:34:56 -08:00
Martin Kroeker 80b0a2b5ab Improve prototype for LAPACKE_get_nancheck 2020-09-22 23:07:01 +02:00
H. Vetinari 5ae1561e8e adapt ?ggsv?-functions to ambient code style in LAPACKE/include/lapack.h 2020-09-03 11:40:46 +02:00