Commit Graph
2163 Commits
Author SHA1 Message Date
Mateusz Pusz 8da791f8ba refactor(unit test): math tests refactored to not use removed constructor 2023-04-03 18:07:10 +02:00
Mateusz Pusz 8e8f17cb96 fix: get_equation now calls proper pow() overload 2023-04-03 17:45:43 +02:00
Mateusz Pusz e6eb908503 feat: convertible quantity kinds can now be compared 2023-04-03 17:44:34 +02:00
Mateusz Pusz 9f3ea544d5 fix: standard_gravity_unit now prints a correct unicode symbol 2023-03-30 17:49:02 +02:00
Mateusz Pusz e39555e90d feat: arithmetics on dimensionless quantities extended to units different than one 2023-03-30 17:47:47 +02:00
Mateusz Pusz 4d0d6b78a8 refactor: box_example refactored to storage_tank_example 2023-03-06 14:49:38 +01:00
Mateusz Pusz 0807f1eca0 ci: conan remove -f is no longer in Conan 2.0 2023-03-05 09:16:23 +01:00
Mateusz Pusz 81949e5ff1 refactor: explicit conversion constructors of quantity removed 2023-02-14 17:21:54 +01:00
Mateusz Pusz e98215c347 refactor: examples refactored to benefit from the latest features 2023-02-14 12:58:54 +01:00
Mateusz Pusz 079e640614 test: linear algebra test refactored to benefit from the latest features 2023-02-14 12:29:45 +01:00
Mateusz Pusz b7628a1752 feat: initial version of quantity_spec conversions implemented 2023-02-14 12:28:34 +01:00
Mateusz Pusz 858b1e625b test: tests for new features added to references test 2023-02-13 19:38:33 +01:00
Mateusz Pusz e353bb3436 refactor(unit test): support for new features added to unit and dimension unit tests 2023-02-13 19:07:16 +01:00
Mateusz Pusz 6d033d72fe fix(unit test): quantity construction switched to a new syntax in unit tests 2023-02-13 19:05:58 +01:00
Mateusz Pusz 7160caa597 refactor(example): avg_speed example don't need a quantity_cast anymore 2023-02-13 19:01:30 +01:00
Mateusz Pusz 1b924ffbc1 fix(example): Kalman filter examples now use a correct quantity of time 2023-02-13 18:59:36 +01:00
Mateusz Pusz f446b4f7a7 feat: standard_gravity now uses acceleration_of_free_fall 2023-02-13 18:56:20 +01:00
Mateusz Pusz 3c2e6d06bb refactor: ISQ system refactored to benefit from the latest changes 2023-02-13 18:55:54 +01:00
Mateusz Pusz 4e3daf3f02 fix: quantity construction in random.h fixed 2023-02-13 18:42:48 +01:00
Mateusz Pusz 8e6fb7818b fix: isq_angle compilation fixed 2023-02-13 18:39:12 +01:00
Mateusz Pusz f667037216 feat: associated quantities provided for units in various systems 2023-02-13 18:37:27 +01:00
Mateusz Pusz 89756c5b74 feat: QuantityKindSpec concept support added + some cleanup 2023-02-13 18:35:07 +01:00
Mateusz Pusz dd7c63b242 fix: quantity construction fixed in some operators 2023-02-13 18:34:00 +01:00
Mateusz Pusz 6b2606a8aa feat: explicit quantity_spec conversion support added to quantity constructor 2023-02-13 18:33:19 +01:00
Mateusz Pusz 41043c25f2 refactor: base unit definition refactored 2023-02-13 18:30:41 +01:00
Mateusz Pusz 0d33926a74 feat: specifying an associated quantity for a derived unit support added 2023-02-13 18:29:27 +01:00
Mateusz Pusz 1492c5c19e refactor: expr_fractions now takes a class-based type trait 2023-02-13 18:23:35 +01:00
Mateusz Pusz 75c3e26a53 fix: has_associated_quantity fixed 2023-02-13 18:18:08 +01:00
Mateusz Pusz a37df7504b fix: quantity_cast fixed 2023-02-13 18:17:41 +01:00
Mateusz Pusz 195f9c13b9 feat: get_common_base() added 2023-02-13 18:14:46 +01:00
Mateusz Pusz a13e627c9f feat: proper support of kinds added to get_associated_quantity() 2023-02-13 18:13:41 +01:00
Mateusz Pusz 9436229ed2 refactor: the rest of the code refactored for new quantity construction way 2023-02-10 17:20:48 -08:00
Mateusz Pusz a56696ee74 feat: leveled quantity specification conversion introduced 2023-02-10 17:16:51 -08:00
Mateusz Pusz 761919c1be feat: added new SI prefixes based on CGPM 2022 Resolution 3 2023-02-09 11:25:18 -08:00
Mateusz Pusz 6794485b02 refactor: small cleanup of IEC 80000 definitions 2023-02-09 10:02:58 -08:00
Mateusz Pusz 17e8558555 refactor: operations on friends made hidden friends 2023-02-09 09:59:11 -08:00
Mateusz Pusz d70b95237c refactor: Quantity no longer can be constructed with a raw value
Resolves #434
2023-02-09 09:42:00 -08:00
Mateusz Pusz bb6c942e0c refactor: common_quantity_spec now starts with a check of arguments equality 2023-02-08 22:15:44 -08:00
Mateusz Pusz 3686397882 refactor: minor code cleanup 2023-02-08 22:07:12 -08:00
Mateusz Pusz bb05e3434e feat: type traits for template template auto parameters added 2023-02-08 22:03:41 -08:00
Mateusz Pusz 0417507b49 refactor: math refactored to the latest library state 2023-02-08 21:49:19 -08:00
Mateusz Pusz 859bc20fdc refactor: all examples refactored to use a simplified quantity creation 2023-02-08 21:47:48 -08:00
Mateusz Pusz 26ed241662 fix: value_cast fixed 2023-02-08 21:15:42 -08:00
Mateusz Pusz 1f2e57a575 refactor: interconvertible renamed to convertible_to 2023-02-08 21:14:17 -08:00
Mateusz Pusz c21bde85a3 refactor: same_canonical_reference_unit renamed to have_same_canonical_reference_unit 2023-02-08 21:11:57 -08:00
Mateusz Pusz faffbefad2 refactor: get_dimension_for() no longer needed 2023-02-08 21:09:20 -08:00
Mateusz Pusz 4484148735 fix: ambiguity on common_reference resolved 2023-02-08 21:06:14 -08:00
Mateusz Pusz fbc34c8b98 refactor: get_associated_quantity.h moved to a dedicated header file 2023-02-08 21:05:31 -08:00
Mateusz Pusz 290f406746 fix: quantity creation in its operator/ fixed 2023-02-08 21:00:52 -08:00
Mateusz Pusz 68617f68b0 feat: quantity.h now exports quantity_cast and value_cast to simplify library usage 2023-02-08 20:59:08 -08:00