You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add generalized lagtm routine supporting arbitrary values for alpha and beta (#1068)
* extended lagtm implemented, but only for real alpha and beta values
* alpha and beta now supports complex values also
* modularized extended lapack, but cmakefile has to be changed
* changed cmakefiles.txt
* added tests for random values of alpha and beta
* Update src/lapack_extended/stdlib_extended_lapack.fypp
Co-authored-by: Copilot <[email protected]>
* Update src/lapack_extended/stdlib_extended_lapack.fypp
Co-authored-by: Copilot <[email protected]>
* changed file names from extended_lapack to lapack_extended, updated docs, updated alpha and beta checks
* updated the docs
---------
Co-authored-by: José Alves <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Jeremie Vandenplas <[email protected]>
Copy file name to clipboardExpand all lines: doc/specs/stdlib_specialmatrices.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ Experimental
90
90
91
91
With the exception of `extended precision` and `quadruple precision`, all the types provided by `stdlib_specialmatrices` benefit from specialized kernels for matrix-vector products accessible via the common `spmv` interface.
92
92
93
-
- For `tridiagonal` matrices, the LAPACK `lagtm`backend is being used.
93
+
- For `tridiagonal` matrices, the backend is either LAPACK `lagtm`or the generalized routine `glagtm`, depending on the values and types of `alpha` and `beta`.
94
94
95
95
#### Syntax
96
96
@@ -110,10 +110,6 @@ With the exception of `extended precision` and `quadruple precision`, all the ty
110
110
111
111
-`op` (optional) : In-place operator identifier. Shall be a character(1) argument. It can have any of the following values: `N`: no transpose, `T`: transpose, `H`: hermitian or complex transpose.
112
112
113
-
@warning
114
-
Due to limitations of the underlying `lapack` driver, currently `alpha` and `beta` can only take one of the values `[-1, 0, 1]` for `tridiagonal` and `symtridiagonal` matrices. See `lagtm` for more details.
0 commit comments