Mateusz Pusz
Mateusz Pusz
How to support things like `42 * (m / s) * vector{2, 1, 0}`? The result should compile, not be assignable to speed and be convertible to velocity.
Well, yes, it seems that is tough indeed, but said that the physical quantities library is easy 😨. I thought about this for a while, and I am not sure...
It seems that Pint supports those operations already: https://pint.readthedocs.io/en/stable/user/numpy.html#Function/Method-Support.
Hi Stoyan, P1935 was never meant for standardization by itself. It was a so-called "discovery" paper. It was received warmly by the Committee, and it seems there is (was?) an...
C++26 will be closed in 5 ISO meetings from now. There is no chance we will make it on time. > This is an established problem with many different solutions....
> We'd be happy to guinea pig this at FAIR since this is important for safe and reliable real-time control of our accelerator facility. Also, we are working with the...
We are happy to announce that we have submitted three papers for the upcoming ISO meeting 🎉 : - LEWG - https://wg21.link/p2980 - SG23 (Safety) - https://wg21.link/p2981 - SG6 (Numerics)...
As @dwith-ts mentioned, in cases where all quantities in the vector/matrix store the same type, then it works nicely already. See https://mpusz.github.io/units/use_cases/linear_algebra.html. It gets tricky when you want to use...
I also plan to provide examples with BLAS-based LA and SIMD which both were proposed for standardization recently.
> Also, I am hesitant about the implicit equivalency (ambiguity?) between components-as-quantities and vector-as-quantity: e.g. {1*meter, 2*meter}[0] == ({1,2}*meter)[0]. I think we might support such an equivalency. Please note that...