Commit Graph
950 Commits
Author SHA1 Message Date
Mateusz Pusz 17fd0900a4 refactor: expression template operations now take function parameters 2022-10-22 09:02:40 +02:00
Mateusz Pusz 914d24a903 refactor: not empty constraints added for defining a symbol 2022-10-21 23:13:10 +02:00
Mateusz Pusz fddc3480a9 feat: copy algorithm added 2022-10-21 23:11:25 +02:00
Mateusz Pusz 4b83b3a2ee refactor: text_tools made consteval and [[nodiscard]] 2022-10-21 23:10:56 +02:00
Mateusz Pusz b734880903 refactor: standard renamed to unicode in basic_symbol_text 2022-10-21 23:10:12 +02:00
Mateusz Pusz 5a7f58be41 fix: Added a special case for multiplication of opposite magnitude exponents 2022-10-20 14:05:20 +02:00
Mateusz Pusz 0b9b159695 fix: units design refactored and fixed 2022-10-20 14:03:15 +02:00
Mateusz Pusz c3c0879257 refactor: DimensionSpec concept renamed to DerivedDimensionSpec 2022-10-19 20:44:12 +02:00
Mateusz Pusz aa33964782 refactor: expression templates engine refactored 2022-10-19 19:56:35 +02:00
Mateusz Pusz 8246b06b4a feat: type_list_element, type_list_back added; type_list_split refactored 2022-10-19 19:39:18 +02:00
Mateusz Pusz 5975e4c1cc refactor: named_unit<S, U> should inherit from U to for a correct inheritance hierarchy 2022-10-19 13:16:59 +02:00
Mateusz Pusz 8793aeec23 feat: convertibility check added for the target unit in the system_reference 2022-10-19 13:16:10 +02:00
Mateusz Pusz ec1dace1f9 feat: PrefixableUnit concept introduced 2022-10-19 13:15:02 +02:00
Mateusz Pusz f156bc4c71 test: type_list unit tests added 2022-10-19 12:23:04 +02:00
Mateusz Pusz 98a19f6b4c feat: dimensions design is now complete 2022-10-19 11:21:15 +02:00
Mateusz Pusz 03e064fccd feat: equivalent support removed 2022-10-18 22:57:02 +02:00
Mateusz Pusz a5c7934e0e refactor: units nearly done 2022-10-18 21:24:09 +02:00
Mateusz Pusz 6e8ca72678 refactor: dimensions design cleanup 2022-10-18 17:52:52 +02:00
Mateusz Pusz 3194d45b08 refactor: exposition only members added to expression templates 2022-10-18 17:44:40 +02:00
Mateusz Pusz 6a6fda1837 style: SI unit symbols definition cleanup 2022-10-18 16:09:35 +02:00
Mateusz Pusz e83b361465 refactor: explicit(false) added for basic_symbol_text 2022-10-18 16:08:22 +02:00
Mateusz Pusz cf0a770d9b refactor: quantity arithmetics implemented 2022-10-09 21:32:38 +01:00
Mateusz Pusz 4a49bdda05 refactor: V2 design update 2022-10-06 23:43:01 +01:00
Mateusz Pusz a9b482a661 refactor: magnitude types are much shorter now
`units::magnitude<units::base_power<long>{2l, units::ratio{-42l, 1l}}, units::base_power<long>{3l, units::ratio{1l, 1l}}, units::base_power<long>{5l, units::ratio{-41l, 1l}}, units::base_power<long>{7l, units::ratio{1l, 1l}}, units::base_power<long>{6310543l, units::ratio{1l, 1l}}>{}` is now `units::magnitude<units::power_v<2, -42>{}, 3, units::power_v<5, -41>{}, 7, 6310543>{}`
2022-09-22 10:26:55 +02:00
Mateusz Pusz f375797372 refactor: constexpr replaced with consteval 2022-09-22 10:24:32 +02:00
Mateusz Pusz 79ef21b2a5 refactor: power::ratio renamed to power::exponent 2022-09-22 10:23:41 +02:00
Mateusz Pusz 726c67b194 refactor: ratio usage added to power 2022-09-16 17:40:13 -06:00
Mateusz Pusz 2d5386504d refactor: Unused code commented for now 2022-09-16 17:38:40 -06:00
Mateusz Pusz 2f365b5135 refactor: mag and mag_power changed to variable templates 2022-09-15 15:13:46 -06:00
Mateusz Pusz 70185b49c2 refactor: constexpr replaced with consteval 2022-09-15 14:52:54 -06:00
Mateusz Pusz b614a8c887 refactor: all dimension types now have _dim as a suffix 2022-09-09 15:22:35 +02:00
Mateusz Pusz 1a2c215578 refactor: derived dimensions now can be used in the equations but will not be visible in the final type 2022-09-09 11:46:08 +02:00
Mateusz Pusz f516e3287e refactor: nodiscard added 2022-09-08 23:08:00 +02:00
Mateusz Pusz a3d4c8f01f refactor: derived_dimension can now store only powers of base dimensions 2022-09-08 23:07:14 +02:00
Mateusz Pusz 5e36dd6167 fix: expr_consolidate fixed for two the same powers 2022-09-08 21:08:06 +02:00
Mateusz Pusz daf97a3a86 feat: initial very dirty version of V2 framework 2022-09-08 19:11:45 +02:00
Mateusz Pusz d0eceefe80 refactor: dead ratio code removed 2022-09-06 23:49:16 +02:00
Mateusz Pusz 1238cc17c2 refactor: treat_as_floating_point constraint added for Rep in the trigonometric functions 2022-09-05 12:20:57 +02:00
Mateusz Pusz abc429a71a refactor: rotation angle unit renamed to revolution 2022-09-05 12:12:12 +02:00
Mateusz Pusz 520c944971 feat: 💥 reduced_planck constant removed as it is unclear if it should be angular or not (leave the choice to the user) 2022-09-03 12:29:58 +02:00
Mateusz Pusz bb453e4a8a feat: cotes_angle constant added 2022-09-03 12:28:38 +02:00
Mateusz Pusz 9ae3403b18 feat: trigonometric functions on quantities support added 2022-09-01 16:25:11 +02:00
Mateusz Pusz 1096d8d8ba fix: luminous flux support fixed 2022-09-01 12:18:18 +02:00
Mateusz Pusz e40a5d631c feat: solid angle support added 2022-09-01 12:16:47 +02:00
Mateusz Pusz a92a315bda feat: angular acceleration support added 2022-09-01 12:05:20 +02:00
Mateusz Pusz 1cb9d35d66 fix: radian_per_second unit symbol fixed 2022-09-01 12:02:45 +02:00
Mateusz Pusz 7719776711 feat: gradian support added 2022-09-01 10:48:34 +02:00
Mateusz Pusz c1d23b41c1 refactor: pi-based magnitude renamed to mag_pi 2022-09-01 10:47:36 +02:00
Mateusz Pusz 9891eab82b refactor: radian restored to be the reference unit for angle 2022-09-01 10:45:53 +02:00
Mateusz Pusz 74f442d316 refactor: quantity_ratio removed as it is no longer used by the framework 2022-08-31 21:23:01 +02:00