Mateusz Pusz
|
0987fffe99
|
fix: [[nodiscard]] removed from a format() function
|
2022-12-23 18:06:38 +01:00 |
|
Mateusz Pusz
|
9ad2cd5986
|
fix: QUANTITY_SPEC macros now use units:: namespace
|
2022-12-23 18:04:40 +01:00 |
|
Mateusz Pusz
|
dd8fb22e6e
|
feat: quantity is now a structural type
Resolves #411
|
2022-12-23 18:03:15 +01:00 |
|
Mateusz Pusz
|
e2a2076c8d
|
style: quantity header cleanup
|
2022-12-23 18:01:51 +01:00 |
|
Mateusz Pusz
|
c056f4535c
|
refactor: quantity_like types refactored
|
2022-12-23 17:58:57 +01:00 |
|
Mateusz Pusz
|
a62c388d05
|
refactor: make_quantity helper not needed with the new syntax
|
2022-12-23 16:29:39 +01:00 |
|
Mateusz Pusz
|
0fc05850c8
|
refactor: trigonometric functions refactored for isq::angular_measure
|
2022-12-23 16:27:12 +01:00 |
|
Mateusz Pusz
|
62c3e5f2b6
|
fix: hypot implementation fixed
|
2022-12-23 13:44:40 +01:00 |
|
Mateusz Pusz
|
0caf998df1
|
refactor: reference::operator() return type constraints improved
|
2022-12-22 21:28:49 +01:00 |
|
Mateusz Pusz
|
e61bfafd29
|
fix: consteval replaced with constexpr for quantity_spec::operator()
|
2022-12-22 21:28:03 +01:00 |
|
Mateusz Pusz
|
57d655062c
|
refactor: quantity_spec::operator[] return type constraints improved
|
2022-12-22 21:26:51 +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
|
0a1ee606f3
|
feat: new quantity creation syntax support added
|
2022-12-22 17:50:41 +01:00 |
|
Mateusz Pusz
|
be58a6e03a
|
refactor: quantity_spec::operator[] return type constrained with Reference concept
|
2022-12-22 16:48:28 +01:00 |
|
Mateusz Pusz
|
a32eb712da
|
refactor: quantity_spec::operator[] made consteval
|
2022-12-22 15:58:37 +01:00 |
|
Mateusz Pusz
|
1ff048a70e
|
refactor: unused reference operator removed
|
2022-12-22 15:56:14 +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
|
915ca82a0b
|
refactor: __cpp_explicit_this_parameter implementation of number() added
|
2022-12-20 17:23:29 +01:00 |
|
Mateusz Pusz
|
c51f6a9d29
|
refactor: RepresentationOf concept usage added + quantity concepts cleanup
|
2022-12-20 17:22:51 +01:00 |
|
Mateusz Pusz
|
6028f182d3
|
feat: magnetic_constant constant added
|
2022-12-20 12:53:08 +01:00 |
|
Mateusz Pusz
|
25682397bd
|
docs: comment for magnetic_flux_density fixed
|
2022-12-20 12:52:12 +01:00 |
|
Mateusz Pusz
|
b7884b90a8
|
Revert "feat: ISQ quantity names conflicts resolved with inline namespaces"
This reverts commit 043410d2f8.
|
2022-12-20 12:46:07 +01:00 |
|
Mateusz Pusz
|
043410d2f8
|
feat: ISQ quantity names conflicts resolved with inline namespaces
|
2022-12-20 11:20:47 +01:00 |
|
Mateusz Pusz
|
11d64094c1
|
refactor(unit test): symbol_text_test refactored for V2
|
2022-12-20 10:48:07 +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
|
c30ce61c19
|
feat: electromagnetism quantity specifications added
|
2022-12-20 10:38:54 +01:00 |
|
Mateusz Pusz
|
dcfd7a5a62
|
docs: degree_Celsius confirmed to not have SI prefixes
|
2022-12-19 20:46:21 +01:00 |
|
Mateusz Pusz
|
eaaee2e305
|
refactor: total_energy example refactored for V2
|
2022-12-19 20:44:18 +01:00 |
|
Mateusz Pusz
|
5ec3211a3a
|
refactor: natural units system refactored for V2
|
2022-12-19 20:37:51 +01:00 |
|
Mateusz Pusz
|
979a00e704
|
fix: get_canonical_unit() fixed for powers of derived quantities
|
2022-12-19 20:35:22 +01:00 |
|
 Mateusz PuszandJohel Ernesto Guerrero Peña
|
721f859dca
|
Update cmake/TestHeaders.cmake
Co-authored-by: Johel Ernesto Guerrero Peña <johelegp@gmail.com>
|
2022-12-19 15:50:58 +01:00 |
|
Mateusz Pusz
|
4ba3d96230
|
Merge branch 'v2_framework' of github.com:mpusz/units into v2_framework
|
2022-12-19 15:26:54 +01:00 |
|
Mateusz Pusz
|
b88843f6b2
|
include headers twice to check for header guards
|
2022-12-19 15:26:40 +01:00 |
|
Mateusz Pusz
|
7a26125e16
|
refactor: public headers cleanup
Public headers should be only the ones that a user may have a need to actually include in his/her code.
|
2022-12-19 14:55:54 +01:00 |
|
Mateusz Pusz
|
f1f1009c3f
|
feat: is_scalar, is_vector, and is_tensor customization points added
|
2022-12-19 13:39:21 +01:00 |
|
Mateusz Pusz
|
c5fa2399af
|
fix: in case of no factor a radius should not be a kind of diameter to prevent accidental implicit conversions
|
2022-12-19 12:51:46 +01:00 |
|
Mateusz Pusz
|
a96c34c17a
|
fix: exp() implementation fixed
|
2022-12-19 12:49:15 +01:00 |
|
Mateusz Pusz
|
026ce8a4e7
|
feat: thermodynamics quantity specifications added
|
2022-12-19 12:04:57 +01:00 |
|
Mateusz Pusz
|
a9db8a1538
|
fix: mechanics quantity specifications fixed
|
2022-12-19 12:02:54 +01:00 |
|
Mateusz Pusz
|
81a02837aa
|
refactor: quantity_kind removed
|
2022-12-19 12:00:54 +01:00 |
|
Mateusz Pusz
|
5152db6382
|
test: ISQ quantities specification tests added
|
2022-12-17 16:18:14 +01:00 |
|
Mateusz Pusz
|
f37ec4c62b
|
refactor: missing nodiscards added to functions in _unit.h_
|
2022-12-16 18:18:14 +01:00 |
|
Mateusz Pusz
|
7889ab8f05
|
fix: missing TYPENAMEs added
|
2022-12-16 18:17:06 +01:00 |
|
Mateusz Pusz
|
c266db9c24
|
fix: expression template two power simplification fixed
|
2022-12-16 18:16:41 +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
|
fa34d0120b
|
feat: unit symbols added for CGS
|
2022-12-04 15:05:29 +01:00 |
|
Mateusz Pusz
|
d9b227ad30
|
feat: units now allow inheritance
For example to define `cgs::second` based on `si::second`
|
2022-12-04 15:04:37 +01:00 |
|