-
-
Notifications
You must be signed in to change notification settings - Fork 652
Add offset argument to diagonal method #39963
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
Conversation
Documentation preview for this PR (built with commit 6b46019; changes) is ready! 🎉 |
The reviewed changes are resolved |
@dcoudert Hi I've followed on the reviewed changes accordingly. Please let me know if anything else need to be changed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oups, a minor remark. Sorry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
#13564
This solves the mentioned issue, adding an offset argument that enables the user to get any diagonal parallel to the main diagonal. As mentioned in the documentation, off = 0 is default main diag, off > 0 is for above main, off < 0 for below.
📝 Checklist
⌛ Dependencies
cc @tscrim