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

Add P3050R1 ("Fix C++26 by optimizing linalg::conjugated for noncomplex value types") #455

Closed
wants to merge 2 commits into from

Conversation

mhoemmen
Copy link
Contributor

@mhoemmen mhoemmen commented Apr 8, 2024

Abstract:

We propose the following change to the C++ Working Paper. If an mdspan object x has noncomplex value_type, and if that mdspan does not already have accessor type conjugated_accessor<A> for some nested accessor type A, then we propose to change conjugated(x) just to return x. Delaying this until after C++26 would be a breaking change.

I submitted this today (2024/04/08) as P3050R1.

This supersedes PR #437 , which I created in November 2023, and which still hasn't been merged.

"Optimize linalg::conjugated for noncomplex value types"

Credit Tim Song (with his permission).
@mhoemmen
Copy link
Contributor Author

Superseded by PR #470 .

@mhoemmen mhoemmen closed this Oct 16, 2024
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