Skip to content

[query] add eigh method#13166

Merged
danking merged 3 commits into
hail-is:mainfrom
patrick-schultz:eigh
Jun 22, 2023
Merged

[query] add eigh method#13166
danking merged 3 commits into
hail-is:mainfrom
patrick-schultz:eigh

Conversation

@patrick-schultz

@patrick-schultz patrick-schultz commented Jun 9, 2023

Copy link
Copy Markdown
Member

Add an eigh ndarray method, for finding eigenvalues of symmetric matrices ("h" is for Hermitian, the complex analogue of symmetric). This just dispatches to an LAPACK method. The interface is compatible with scipy.

@ehigham ehigham left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and clean - was pretty easy to understand without diving into the details of dsyevr. I'll assume that's wired up correctly.
Slight sticky point with docstring, otherwise comments for my reference/preference

Comment thread hail/python/hail/nd/nd.py
Comment thread hail/src/main/scala/is/hail/asm4s/Code.scala

@ehigham ehigham left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, apologies for the delayed review.

@danking danking merged commit f653260 into hail-is:main Jun 22, 2023
@patrick-schultz patrick-schultz deleted the eigh branch October 30, 2023 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants