Commit Graph

297 Commits

Author SHA1 Message Date
Mateusz Pusz
8765a9c1e3 refactor(example): StorageTank example now properly uses horizontal_area quantity 2023-07-10 16:54:25 +02:00
Mateusz Pusz
5d73cd0730 feat: dimensionless quantities with a unit one are not special anymore 2023-07-10 16:53:49 +02:00
Mateusz Pusz
3a94ca89fd feat(example): spectroscopy_units example added 2023-07-08 12:59:38 +02:00
Mateusz Pusz
52ce2b21f7 refactor: iostream.h renamed to ostream.h 2023-06-23 15:03:04 +02:00
Mateusz Pusz
46a4999d3b docs: hello_units example documentation added 2023-06-22 18:22:41 +02:00
Mateusz Pusz
ba1f58af76 refactor: All the macros refactored to have MP_UNITS_ prefix 2023-06-21 18:05:21 +02:00
Mateusz Pusz
d9d9d9d3b7 feat(example): storage_tank example extended with custom quantity types 2023-06-21 11:29:22 +02:00
Mateusz Pusz
6db8012513 fix(example): name hiding in capacitor_time_curve resolved 2023-06-16 17:19:21 +03:00
Mateusz Pusz
7774466c1c fix: clang-17 specific compilation fixes (partially contributed by @JohelEGP) 2023-06-16 14:54:22 +03:00
Mateusz Pusz
5ca1856408 fix(example): value_cast prefixed with a namespace in conversion_factor example 2023-06-16 13:54:45 +03:00
Mateusz Pusz
8c54bbdc9a refactor(example): hello_units example changed to better reflect the code in README 2023-06-16 10:26:34 +03:00
Mateusz Pusz
52ab3f1535 refactor: SI units do not depend on the entire ISQ anymore + header dependency compilation fixes 2023-06-15 14:37:22 +03:00
Mateusz Pusz
2dc420c505 fix: new quantity creation policy for irrational magnitudes forbids creation of longitude and latitude with an integral representation 2023-06-08 22:19:34 +02:00
Mateusz Pusz
192bf39654 refactor: natural::speed_of_light_in_vacuum renamed to natural::speed_of_light 2023-06-05 19:37:17 +02:00
Mateusz Pusz
6627b0a491 refactor: glide_computer and storage_tank examples renamed 2023-06-02 13:52:00 +02:00
Mateusz Pusz
b4953bb0b5 chore: v2_framework example removed 2023-06-02 13:51:14 +02:00
Mateusz Pusz
03b58ee073 refactor: square and cubic are now functions (not variable templates) 2023-06-01 08:45:41 +02:00
Mateusz Pusz
1528d94293 chore: linear_algebra example removed 2023-05-27 13:16:16 +02:00
Mateusz Pusz
52bbd00ab4 style: clang-format new rules applied to the code base 2023-05-26 14:20:00 +02:00
Mateusz Pusz
561fbf7c93 merge branch master 2023-05-26 13:53:52 +02:00
Mateusz Pusz
7d9ae3ec31 refactor: mp_units subdirectory renamed to mp-units 2023-05-25 12:47:10 +02:00
Mateusz Pusz
a4171e2fb6 docs: some comments and TODOs added 2023-05-25 12:15:52 +02:00
Mateusz Pusz
299032a7e8 refactor: conversion from quantity to quantity_point is now explicit 2023-05-24 22:42:11 +02:00
Mateusz Pusz
a3e5c84a47 feat: support for convertibility of point origins added 2023-05-24 22:39:42 +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
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
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
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
4209ac20fc refactor(example): quantity_point support added to currency example 2023-05-14 13:32:12 +02:00
Mateusz Pusz
c892889901 feat(example): currency and unmanned_aerial_vehicle examples added 2023-05-14 10:38:08 +02:00
Mateusz Pusz
318b9e260b refactor(example): small refactoring of examples 2023-04-21 15:18:09 +01:00
Mateusz Pusz
1866973532 refactor(example): get_length() renamed to get_distance() 2023-04-11 09:12:48 +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
660e62c0a6 refactor: chrono_test refactored to V2 2023-04-03 19:23:08 +02:00
Mateusz Pusz
4d0d6b78a8 refactor: box_example refactored to storage_tank_example 2023-03-06 14:49:38 +01:00
Mateusz Pusz
e98215c347 refactor: examples refactored to benefit from the latest features 2023-02-14 12:58:54 +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
d70b95237c refactor: Quantity no longer can be constructed with a raw value
Resolves #434
2023-02-09 09:42:00 -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
0cebb68e2e fix: broken concept names fixed 2023-02-03 16:58:33 +01:00
Mateusz Pusz
83aee04da0 refactor: quantity_io.h renamed to iostream.h 2023-02-03 16:57:48 +01:00
Mateusz Pusz
b4f47c3fef feat: value_cast support added
Resolves #239 and #120
2023-02-03 11:08:13 +01:00
Mateusz Pusz
cf3408a3c8 refactor: implementation cleanup + support for units as references started 2023-02-02 14:56:29 +01:00