ORNL / cpp-proposals-pub

Collaborating on papers for the ISO C++ committee - public repo
26 stars 26 forks source link

Add P3050R0: "Optimize linalg::conjugated for noncomplex value types" #437

Closed mhoemmen closed 5 months ago

mhoemmen commented 9 months ago

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.

I submitted this already as P3050R0.

mhoemmen commented 5 months ago

This has been superseded by PR https://github.com/ORNL/cpp-proposals-pub/pull/455 (P3050R1).