Skip to content

Symmetric and Hermatian Matrix: Let ´slice´ automatically select the data from the available triangle#215

Draft
jamabr wants to merge 1 commit intoicl-utk-edu:masterfrom
jamabr:pick_slice_from_existing_triangle
Draft

Symmetric and Hermatian Matrix: Let ´slice´ automatically select the data from the available triangle#215
jamabr wants to merge 1 commit intoicl-utk-edu:masterfrom
jamabr:pick_slice_from_existing_triangle

Conversation

@jamabr
Copy link
Contributor

@jamabr jamabr commented Feb 19, 2025

A user might not want to think about which triangle contains the data when requesting a slice from a SymmetricMatrix of HermitianMatrix. Therefore, the updated slice functions returns the requested slice in any case, if required, the transposed version of the existing slice is returned.
For our code this is really helpful.
In case of interest for upstream, I can check whether the test can be reasonably updated...

@jamabr jamabr marked this pull request as draft February 19, 2025 16:04
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.

1 participant