Commit Graph
2048 Commits
Author SHA1 Message Date
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
Mateusz Pusz 91f26759d6 refactor: more unit tests refactored 2022-12-01 20:59:16 +01:00
Mateusz Pusz e7fff94d7c refactor(example): hello_units refactored 2022-11-30 18:36:16 +01:00
Mateusz Pusz 75ef2713d6 fix: missing comma added to hyperfine_structure_transition_frequency_of_cs_unit 2022-11-30 18:03:14 +01:00
Mateusz Pusz 791cec3fad docs: missing comment added 2022-11-30 18:00:34 +01:00
Mateusz Pusz 02bf514355 feat: equality comparison support added for references 2022-11-30 18:00:04 +01:00
Mateusz Pusz 77a124a3d9 feat: quantity_of and weak_quantity_of now support references 2022-11-30 17:57:27 +01:00
Mateusz Pusz 872caf460a refactor: quantity_cast refactored 2022-11-30 17:54:13 +01:00
Mateusz Pusz 1fbaeb4ffc feat: magnitude now uses treat_as_floating_point 2022-11-30 10:13:04 +01:00
Mateusz Pusz 5cbe322c82 feat: common_reference, common_dimension, and common_units now take variadic list of arguments 2022-11-30 10:11:52 +01:00
Mateusz Pusz b4828d243d refactor: first examples refactored for V2 2022-11-11 10:33:24 -10:00
Mateusz Pusz f8add08484 refactor: quantity_equivalent_to renamed to weak_quantity_of 2022-11-10 16:48:22 -10:00
Mateusz Pusz eee6f7ed87 style: core code reformatted with clang-format-16 2022-11-10 16:46:56 -10:00
Mateusz Pusz 9ca15c3023 feat: operator[] added for quantity 2022-11-10 16:41:28 -10:00
Mateusz Pusz 14952dfbf4 refactor(unit test): speed_of_light_unit renamed to speed_of_light_in_vacuum_unit in unit_test 2022-11-10 14:42:44 -10:00
Mateusz Pusz 8300305dd3 refactor: physical constants refactored 2022-11-10 14:39:05 -10:00