Kevin J. Sung
caab666dd4
add crot and zrot to LAPACKE
2026-02-21 08:29:46 -05: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
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
741a2c2ee0
Add extended API with _64 suffix to LAPACKE
2024-02-05 10:20:49 -08:00
Martin Kroeker
cc4798ea38
Adjust prototypes of Dynamic Mode Decomposition functions
2023-07-09 18:20:22 +02: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
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
Ivan Pribec
9079671c6a
Add const to LAPACK_lsame_base
2022-08-08 14:52:46 +02: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
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
H. Vetinari
5ae1561e8e
adapt ?ggsv?-functions to ambient code style in LAPACKE/include/lapack.h
2020-09-03 11:40:46 +02:00
H. Vetinari
cc04b61950
Follow-up to #434 & #409 : add missing 'const' in signatures
...
Based on how the surrounding functions in lapack.h are handling the
parameters, particularly the ?ggsv?3-variants of the affected functions
2020-09-03 11:37:37 +02:00
H. Vetinari
d470f435d2
Follow-up to #434 & #409 : fix signature mismatches
2020-09-02 22:42:23 +02:00
H. Vetinari
d168b4d2ae
Fix some minor inconsistencies in LAPACK(E)_[cz]gesvdq
...
For LAPACKE_cgesvdq, align datatype of `rwork` with lapacke.h and callsite
in LAPACKE_cgesvdq_work; both of the latter use `float* rwork`, so there's
no need to calculate with doubles that only get downcast anyway.
Similarly, make the signature of lapacke_zgesvdq_work consistent across
lapack.h (modified here), the fortran side and lapacke_zgesvdq_work, see:
https://github.com/Reference-LAPACK/lapack/blob/v3.9.0/LAPACKE/src/lapacke_zgesvdq_work.c#L42
https://github.com/Reference-LAPACK/lapack/blob/v3.9.0/SRC/zgesvdq.f#L422
2020-09-02 20:39:29 +02:00
Martin Kroeker
14740d3aa3
Correct prototypes for LAPACK_?ggsvd and LAPACK_?ggsvp
2020-09-01 11:12:56 +02:00
Sébastien Villemot
87536aa3c8
Restore missing prototypes for deprecated LAPACK functions
...
Some LAPACK functions prototypes were inadvertedly dropped in 3.9.0. As a
consequence, LAPACKE has several unresolved symbols.
Closes #365
2019-11-23 12:22:20 +01:00
Mark Gates
713191d0b0
add gesvdq prototypes
2018-11-12 12:17:11 -05:00
Mark Gates
b03dd2011d
Split lapack.h out of lapacke.h. Add const for inputs. Body of lapack.h generated by LAPACK++ tools/header_gen.py.
2018-11-08 23:15:43 -05:00