RFC: add Hermitian transpose function
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start by reading the linked NumPy issue and the existing array API standard materials to understand prior discussion of Hermitian transpose semantics. Done means reaching a settled specification decision for both the function and the proposed .H attribute, including the view and conjugate-complex dtype implications.
Written by the indexing model from the issue text.
Description
See for instance https://github.com/numpy/numpy/issues/13797. It might be useful to have a special function for a hermitian transpose, which would be equivalent to conjugate(matrix_transpose(x)).
The other suggestion is a .H operator on matrices. A complication here is that libraries that use views would not be able to make .H a view unless they add a special conjugate-complex dtype. See the discussion at https://github.com/numpy/numpy/issues/13797. (the .H attribute is really the bigger thing here, as it least to more readable code, but if it is added it probably makes sense to also add a corresponding function)
- Dominant language
- Python
- Stars
- 281
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from data-apis/array-api
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Maintenance
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in data-apis/array-api
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100