Commit Graph
25 Commits
Author SHA1 Message Date
Chip Hogg 78bcb3b019 Remove troublesome ::ratio members
For some reason, MSVC seems to want to instantiate these, even though
nobody ever asks for them (as evidenced by the fact that the builds
passed on other architectures).
2022-04-12 00:35:17 +00:00
Chip Hogg d19b2803ce Migrate units from ratio to Magnitude
This commit is huge, but hopefully the cognitive load is not too bad.
The bulk of this commit is just some fairly mechanical updates from
`ratio` to `Magnitude`.  Other things to call out:

- `UnitRatio` goes away.  We don't need this concept, because Magnitude
  can't even _represent_ anything that doesn't satisfy it.

- I commented out some formatting test cases where the precise
  expression changes, but the number is completely equivalent.  We will
  need to decide how we want to handle Magnitude formatting as a
  separate, follow-on task.  But at least Magnitude gives us all the
  tools we'll need to do so!
2022-04-11 15:16:16 +00:00
Mateusz Pusz b221dace3f style: clang-format applied to the remaining files 2022-04-02 21:36:42 +02:00
Markus Hofbauer cf7a7ed17a check: run pre-commit on all files 2022-04-02 18:58:23 +02:00
Markus Hofbauer 4c127797da check: run pre-commit on all files 2022-03-18 16:12:21 +01:00
Mateusz Pusz 5668257fe1 build: Conan geerated target renamed to wg21_linear_algebra 2022-02-28 19:23:34 +01:00
Mateusz Pusz f9fb6cc8b3 build: projectPrefix usage added 2021-11-05 23:35:30 +01:00
Mateusz Pusz 2333c4b3ea build: CMake targets generated by Conan updated 2021-11-04 12:09:54 +01:00
Mateusz Pusz 7d370eb496 refactor: forward_range replaced with input_range 2021-10-15 18:21:26 +02:00
Mateusz Pusz ee70c48b13 build: linear_algebra examples re-enabled on gcc11 2021-10-15 16:14:00 +02:00
Mateusz Pusz b1bd4cab2d feat: std::format support for compliant compilers added 2021-09-20 15:01:58 +02:00
Mateusz Pusz daa00c2f08 build: linear_algebra examples disabled for gcc-11.1.0 due to ICE 2021-09-17 13:56:27 +02:00
Mateusz Pusz 1ebf72e041 build: linear algebra switched to wg21-linear_algebra/0.7.2 2021-09-09 09:13:10 +02:00
Mateusz Pusz 2c8c6c2e98 refactor: quantity cration helpers are not opt-out rather than opt-in
Resolves #277
2021-05-09 15:52:20 +02:00
Mateusz Pusz 46e1e5e932 refactor: US system renamed to USCS 2021-04-16 12:40:52 +02:00
Mateusz Pusz 70bff31d06 feat: quantity aliases support addded 2021-04-15 19:13:25 +02:00
Mateusz Pusz 813197021f refactor: measurement example moved to a root examples directory 2021-04-15 14:05:36 +02:00
Mateusz Pusz 97245a8c96 feat: Kalman Filter tutorials 1-8 added 2021-04-13 18:16:11 +02:00
Mateusz Pusz e5af317a0a refactor: avg_speed example refactored to better use literals 2021-04-07 19:07:55 +02:00
Mateusz Pusz 8ca2b25349 fix: torque literal fixed + experimental_angle example refactored 2021-04-07 19:07:25 +02:00
Mateusz Pusz dddc7572aa refactor: conversion_factor example moved to the main examples directory 2021-04-07 19:05:02 +02:00
Mateusz Pusz 40de14b9b7 refactor: common part of glide_computer moved to a directory 2021-04-07 12:36:39 +02:00
Mateusz Pusz cf14032dce refactor: custom_systems example moved to the parent directory 2021-04-07 11:54:35 +02:00
Mateusz Pusz afa67c5f43 refactor: IWYU 2021-04-06 22:21:45 +02:00
Mateusz Pusz b982921d27 refactor: References are now guarded UNITS_REFERENCES with (ON by default) + examples duplicated to subdirectories
Now References can be disabled to meassure a compile time impact. Also the same examples are now provided in two subdirectories to be able to easily compare the pros and cons of every quantity construction technique.
2021-04-06 15:57:28 +02:00