Commit Graph
2216 Commits
Author SHA1 Message Date
Mateusz Pusz 7bad01fd45 refactor: Harmonic concept renamed to IntegralConversionFactor 2023-05-16 16:58:16 +02:00
Mateusz Pusz 9322aa25e4 Revert "feat: runtime conversion factors between units support added"
This reverts commit cc8a088013.
2023-05-16 16:41:51 +02:00
Mateusz Pusz 81eafbf13e refactor: convertible_result renamed to specs_convertible_result 2023-05-16 16:02:10 +02:00
Mateusz Pusz cc8a088013 feat: runtime conversion factors between units support added 2023-05-16 15:01:15 +02:00
Mateusz Pusz 9d085cbe7e refactor(example): [[nodiscard]] added for currency 2023-05-16 15:00:18 +02:00
Mateusz Pusz 978ce4093a feat: quantity_point converting constructor now takes into account convertibility of the quantity type 2023-05-16 14:08:36 +02:00
Mateusz Pusz 1dae61e1c8 feat: quantity converting constructor now takes into account a convertibility of a representation type 2023-05-16 14:07:29 +02:00
Mateusz Pusz 01755d66ce fix: forgot to commit a constructor for dimensionless quantities 2023-05-16 14:05:01 +02:00
Mateusz Pusz 56c8297c03 refactor: quantity_point binary operators are not hidden friends anymore to prevent surprising conversions 2023-05-16 14:04:01 +02:00
Mateusz Pusz a2b1fdd4c8 feat: unit conversion operator added to quantity_point 2023-05-16 13:44:13 +02:00
Mateusz Pusz 32aa05700b refactor: quantity binary operators are not hidden friends anymore to prevent surprising conversions 2023-05-16 13:43:51 +02:00
Mateusz Pusz 9a51ed55c9 refactor(example): NTTP template deduction failure workaround for HAE altitude 2023-05-15 16:19:44 +02:00
Mateusz Pusz d97e650cac feat(example): HAE support added to UAV example 2023-05-15 12:58:35 +02:00
Mateusz Pusz a9cb0c0a40 refactor(example): msl_altitude moved to geographic.h and the header file was moved to another dir in examples 2023-05-15 12:56:11 +02:00
Mateusz Pusz 929dc72f13 fix: compilation-error fixed 2023-05-14 21:56:02 +02:00
Mateusz Pusz 4209ac20fc refactor(example): quantity_point support added to currency example 2023-05-14 13:32:12 +02:00
Mateusz Pusz eaca8d073a refactor: convertible_to_result renamed to convertible_result 2023-05-14 12:58:32 +02:00
Mateusz Pusz 1e28c11cfc refactor: convertible_to(U1, U2) renamed to convertible(U1, U2) 2023-05-14 12:43:26 +02:00
Mateusz Pusz c892889901 feat(example): currency and unmanned_aerial_vehicle examples added 2023-05-14 10:38:08 +02:00
Mateusz Pusz c33e3a584d feat: ReferenceOf concept added 2023-05-14 09:35:18 +02:00
Mateusz Pusz 27cd47b7af refactor: implicit conversion on construction allowed for quantity_point if quantity does the same 2023-05-11 11:10:52 +02:00
Mateusz Pusz 8ef6d409b2 refactor: character of dynamic_viscosity and magnetic_flux_density set explicitly 2023-05-02 22:00:19 +02:00
Mateusz Pusz 541a554852 feat: is_kind added to some dimensionless quantities definitions 2023-05-02 21:42:54 +02:00
Mateusz Pusz 82b18fc44c feat: is_kind support added to quantity_spec definition 2023-05-02 21:39:25 +02:00
Mateusz Pusz bc63ab23e1 refactor: [[nodiscard]] added to functions in type_traits.h 2023-05-02 21:35:28 +02:00
Mateusz Pusz 6102183881 chore: Conan 1.X temporary files removed from .gitignore 2023-04-21 15:23:46 +01:00
Mateusz Pusz 4673d89293 chore: .clang-format updated 2023-04-21 15:22:56 +01:00
Mateusz Pusz 2bb8e4e739 test: quantity tests updated 2023-04-21 15:22:14 +01:00
Mateusz Pusz 11dd023143 docs: comments updated in chrono_test 2023-04-21 15:18:58 +01:00
Mateusz Pusz 318b9e260b refactor(example): small refactoring of examples 2023-04-21 15:18:09 +01:00
Mateusz Pusz 258a62edcc refactor: quantity hiearchy kinds fixed for some quantity definitions 2023-04-21 15:10:02 +01:00
Mateusz Pusz 546a8a79a9 test: fmt test fixed for radian 2023-04-21 15:03:07 +01:00
Mateusz Pusz febc95d319 build: Library version set to 2.0.0 2023-04-21 15:02:21 +01:00
Mateusz Pusz aa15d4dfb4 build: ratio_maths.h removed from CMake build 2023-04-21 15:01:28 +01:00
Mateusz Pusz 5d6fee2585 refactor: quantity refactored + make_quantity() added 2023-04-21 15:00:37 +01:00
Mateusz Pusz 237640cad8 refactor: ratio refactored to use conteval + _ratio_maths.h_ removed 2023-04-21 14:49:51 +01:00
Mateusz Pusz cc3314903d feat: quantity_spec logic implemented 2023-04-21 14:41:33 +01:00
Mateusz Pusz 1866973532 refactor(example): get_length() renamed to get_distance() 2023-04-11 09:12:48 +02:00
Mateusz Pusz 565465d284 fix: angular trigonometric functions now can be constrained with QuantityOf<angle> 2023-04-10 19:55:25 +02:00
Mateusz Pusz 7ef8193dfc fix: modulo operation logic fixed 2023-04-10 19:46:50 +02:00
Mateusz Pusz ccb06bc0c4 fix: CTAD from raw value restored for quantity_point of dimensionless[one] 2023-04-10 18:17:34 +02:00
Mateusz Pusz c807ba31be feat: quecto, ronto, ronna, quetta prefixed versions of unit symbols added 2023-04-08 19:54:31 +02:00
Mateusz Pusz d65393b4e2 refactor: quantity_spec casts functions renamed 2023-04-08 19:49:51 +02:00
Mateusz Pusz c54aa9b0eb refactor(example): common_type specialization for ranged_representation no longer needed 2023-04-07 23:00:34 +02:00
Mateusz Pusz cc1d411b2e refactor: small refactoring of values used to initialize an array in kalman examples 2023-04-07 22:59:15 +02:00
Mateusz Pusz 3d044a1f38 refactor(example): not needed explicit construction removed from glide_distance() 2023-04-07 22:56:03 +02:00
Mateusz Pusz 9666c1a065 feat(example): spherical_distance() now uses quantity-based trigonometric functions 2023-04-07 22:54:47 +02:00
Mateusz Pusz 40f6ae2da7 refactor: quantity refactored + quantity_test updated to reflect and test changes 2023-04-05 17:24:08 +02:00
Mateusz Pusz 1a940399c9 refactor: chrono types now convert to quantity kinds 2023-04-04 14:28:38 +02:00
Mateusz Pusz db2edfb539 feat: as_ratio(Magnitude) enabled 2023-04-04 14:27:04 +02:00