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
Copy file name to clipboardExpand all lines: doc/specs/stdlib_linalg.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -923,7 +923,7 @@ The solver is based on LAPACK's `*GEEV` backends.
923
923
924
924
`a` : `real` or `complex` square array containing the coefficient matrix. If `overwrite_a=.false.`, it is an `intent(in)` argument. Otherwise, it is an `intent(inout)` argument and is destroyed by the call.
925
925
926
-
`lambda`: Shall be a `complex` rank-1 array of the same kind as `a`, containing the eigenvalues. It is an `intent(out)` argument.
926
+
`lambda`: Shall be a `complex`or `real`rank-1 array of the same kind as `a`, containing the eigenvalues, or their `real` component only. It is an `intent(out)` argument.
927
927
928
928
`right` (optional): Shall be a `complex` rank-2 array of the same size and kind as `a`, containing the right eigenvectors of `a`. It is an `intent(out)` argument.
929
929
@@ -937,6 +937,7 @@ The solver is based on LAPACK's `*GEEV` backends.
937
937
938
938
Raises `LINALG_ERROR` if the calculation did not converge.
939
939
Raises `LINALG_VALUE_ERROR` if any matrix or arrays have invalid/incompatible sizes.
940
+
Raises `LINALG_VALUE_ERROR` if the `real` component is only requested, but the eigenvalues have non-trivial imaginary parts.
940
941
If `err` is not present, exceptions trigger an `error stop`.
0 commit comments