Commit Graph
306 Commits
Author SHA1 Message Date
Mateusz Pusz a9204e2473 refactor: number() and number_in() renamed to value() and value_in()
Resolves #423
2023-08-23 17:15:32 +02:00
Mateusz Pusz ae92b49775 refactor: op[U] for quantity and quantity_point replaced with .in(U)
Resolves #469
2023-08-23 16:46:15 +02:00
Mateusz Pusz e49e6c40ae feat: absolute() member function removed from quantity_point 2023-08-23 14:52:09 +02:00
Mateusz Pusz fb9f288c56 feat: quantity_point construction from quantity made private + make_quantity_point added 2023-08-23 12:49:14 +02:00
Mateusz Pusz 71981172c3 feat: quantity_point does not take a default origin anymore + common_qs logic removed from the binary operators 2023-08-23 10:41:37 +02:00
Mateusz Pusz 07ce64d6e7 refactor: relative() renamed to quantity_from_origin()
Resolves #479
2023-08-18 18:49:04 +02:00
Bourumir Wyngs e3346dd8bf Fix "control reaches end of non void function" error. 2023-08-06 11:47:32 +02:00
Mateusz Pusz 1e81069d53 feat: absolute_point_origin convertibility removed 2023-08-01 11:53:50 +02:00
Mateusz Pusz 60a564a867 refactor(example): simpler header files used 2023-07-11 19:48:22 +02:00
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