Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagonal function for 2d ndarrays #8007

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

johnc1231
Copy link
Contributor

This just adds a convenience function to get the diagonal of a 2d ndarray. The numpy version offers more functionality when you have something greater than 2 dimensions, but I haven't needed that yet so starting with this. It won't be a breaking interface change to add more arguments to this function to support what numpy does.

@danking danking merged commit 17fda09 into hail-is:master Jan 30, 2020
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