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
Mateusz Pusz
b78b53e757
build(example): custom_systems example removed as not relevant anymore
2023-01-04 15:32:13 +01:00
Mateusz Pusz
2cf736a1e6
feat: preventing possible future units crash when using namespace std;
...
Resolves #317
2022-12-29 20:18:48 +01:00
Mateusz Pusz
6b72dd39c1
refactor: headers with system definitions moved to _systems_ subdirectory
2022-12-29 19:27:54 +01:00
Mateusz Pusz
97da55edfa
refactor: the rest of the systems refactored for V2
2022-12-29 18:59:10 +01:00
Mateusz Pusz
26ec17ceb2
refactor: experimental_angle example renamed to strong_angular_quantities + cotes angle fix
2022-12-27 10:56:13 +01:00
Mateusz Pusz
3653053e48
refactor: experimental_angle example refactored for V2
2022-12-27 10:36:01 +01:00
Mateusz Pusz
1cec3d4867
refactor: _chrono.h_, _math.h_, and _random.h_ move to utlitity CMake module
2022-12-25 17:20:44 +01:00
Mateusz Pusz
07687f9ef6
refactor: _generic/dimensionless.h_ removed (units added to _unit.h_)
2022-12-25 17:14:54 +01:00
Mateusz Pusz
fd26f8cdff
refactor(example): glide computer refactored for V2
2022-12-23 19:24:56 +01:00
Mateusz Pusz
278dbace98
refactor(example): remaining kalman filter examples refactored for V2
2022-12-23 19:23:00 +01:00
Mateusz Pusz
858cbb472f
refactor: First examples refactored to a new quantity creation syntax
2022-12-22 18:06:20 +01:00
Mateusz Pusz
2b760b5d46
refactor(example): kalman filter 1-5 examples refactored for V2
2022-12-20 17:29:31 +01:00
Mateusz Pusz
82b1f7ffc0
refactor(example): RepresentationOf support added to examples
2022-12-20 17:26:55 +01:00
Mateusz Pusz
f06e8898ae
refactor: capacitor_time_curve refactored for V2
2022-12-20 10:43:55 +01:00
Mateusz Pusz
dd8a0a9697
feat: electromagnetic SI constants added
2022-12-20 10:42:13 +01:00
Mateusz Pusz
eaaee2e305
refactor: total_energy example refactored for V2
2022-12-19 20:44:18 +01:00
Mateusz Pusz
92c70f1a4e
feat: quantity_spec support added
2022-12-16 18:15:48 +01:00
Mateusz Pusz
e0101f14d9
refactor(example): avg_speed example refactored for V2
2022-12-04 15:06:53 +01:00
Mateusz Pusz
e7fff94d7c
refactor(example): hello_units refactored
2022-11-30 18:36:16 +01:00
Mateusz Pusz
b4828d243d
refactor: first examples refactored for V2
2022-11-11 10:33:24 -10:00
Mateusz Pusz
3d1f339115
refactor: reference now takes NTTPs rather then types
...
Even though it makes error logs a bit more obscure it simplifies coding a lot.
2022-11-08 10:37:41 -10:00
Mateusz Pusz
4938e9d5c0
feat: Added support for natural units-like systems + dimension_one cleanup
2022-11-04 19:29:05 +01:00
Mateusz Pusz
cb861dd81a
feat: system's definition highly simplified by removing the need for a system_reference for most cases
2022-10-25 07:27:08 +02:00
Mateusz Pusz
ec1dace1f9
feat: PrefixableUnit concept introduced
2022-10-19 13:15:02 +02:00
Mateusz Pusz
a5c7934e0e
refactor: units nearly done
2022-10-18 21:24:09 +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
806fb0751b
refactor: short_units renamed to unit_symbols
2022-09-10 08:44:46 +02:00
Mateusz Pusz
b614a8c887
refactor: all dimension types now have _dim as a suffix
2022-09-09 15:22:35 +02:00
Mateusz Pusz
9d3a144551
test: a few more tests added to the framework v2 example
2022-09-09 15:18:49 +02:00
Mateusz Pusz
1c7ea89771
refactor: short units inlined subnamespaces introduced to limit possible name clashes
2022-09-09 11:50:47 +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
a3d4c8f01f
refactor: derived_dimension can now store only powers of base dimensions
2022-09-08 23:07:14 +02:00
Mateusz Pusz
8d711cdf8e
fix: hello_units reverted to the original state
2022-09-08 19:21:47 +02:00
Mateusz Pusz
daf97a3a86
feat: initial very dirty version of V2 framework
2022-09-08 19:11:45 +02:00
Mateusz Pusz
abc429a71a
refactor: rotation angle unit renamed to revolution
2022-09-05 12:12:12 +02:00
Mateusz Pusz
89a9551da0
feat(example): asin() usage added to the glide computer example
2022-09-02 20:08:14 +02:00
Mateusz Pusz
7719776711
feat: gradian support added
2022-09-01 10:48:34 +02:00
Mateusz Pusz
c761601866
refactor(example): latitude and longitude now use angular degrees quantity
2022-08-31 12:58:57 +02:00
Mateusz Pusz
7caf14b8fe
feat(example): angle examples extended with degrees and rotations
2022-08-31 12:57:56 +02:00
Mateusz Pusz
02bf37abc4
build(example): Disabled Kalman examples 6-8 for AppleClang (example 5 enabled)
...
Resolves #382
2022-08-10 11:20:29 +02:00
Mateusz Pusz
11c43e0412
build(example): Kalman examples 5 and 6 disabled for AppleClang
...
Resolves #382
2022-08-10 09:47:33 +02:00
Mateusz Pusz
dd4679459d
feat: hypot support added
2022-08-03 12:29:49 +02:00
Mateusz Pusz
0ebf85b9db
fix: unknown_coherent_unit fixed
2022-08-01 11:59:00 +02:00
Chip Hogg
ea83af8aa9
Rename as_magnitude<...>() to mag<...>()
...
This is easier to write and to read.
2022-07-29 01:46:06 +00:00
Chip Hogg
7fd6913b73
Replace exp with 0 everywhere, and remove it
...
This lets us remove a ton of special-casing throughout the codebase, and
just generally makes things a lot simpler.
We also remove the ability to take rational powers of `ratio`, including
`sqrt` and `cbrt` helpers, because these are intrinsically ill-defined.
Fixes #369 .
2022-07-20 00:52:37 +00:00