Complex128 Matrix Eigenvalues

36 views
Skip to first unread message

Darya Kaviani

unread,
Jun 28, 2024, 12:00:08 AM6/28/24
to gonum-dev
Hi,

Is there a way to use gonum/mat to compute the eigenvalues of a matrix of complex128 elements? I only see a way to compute the eigenvalues of a real matrix.

Best,
Darya

Dan Kortschak

unread,
Jun 28, 2024, 12:13:40 AM6/28/24
to gonu...@googlegroups.com
Sorry, no there is not currently any support for complex LAPACK
operations in the mat package. However, if you are comfortable with
directly interacting with LAPACK and are happy to use Cgo, the netlib
package provides the full set of operations.

https://pkg.go.dev/gonum.org/v1/netlib/lapack/lapacke#Zgeev

Dan

Reply all
Reply to author
Forward
0 new messages