PQS is a C++ library for modelling physical quantities. ( PQS Wiki )
PQS has a long history. I started working on PQS in maybe 2002/3.
In 2005/6, I proposed PQS to be a member of the Boost C++ libraries where there was a lot of discussion but it was rejected.
Anyway I resolved to resubmit PQS to Boost but, after much strangeness there, I left boost behind and renamed the library to quan.
I worked on quan for my own use for many years and incorporated it into many if not most of my projects. During that time, the library acquired lots of features, unrelated to physical quantities.
Anyway recently, after contributing to mpusz/units for a while, I decided to go back to the source and see how my old friend PQS might look in C++23.
So far it is a fun journey :-)
Linux . Requires gcc-9 to be installed and visible
All that is required is to download the zip file , unzip it,
head to the pqs-master directory and type run_tests.sh
. The examples and test should then run
Please See the PQS Wiki for detailed documentation.
Thanks to mpusz and mpusz/units, which inspired me to get back to work on PQS. There are many good parts to mpusz/units but as with any other library, some issues. Rather than continue with submitting issues and pull requests on that library, I decided it easier to express these things in my own code.