Mateusz Pusz
|
3f88da4ebf
|
feat: clone_reference_with added
|
2023-06-14 15:57:32 +03:00 |
|
Mateusz Pusz
|
6d10572922
|
refactor: concept cleanup
|
2023-06-14 09:14:43 +03:00 |
|
Mateusz Pusz
|
74ad0f6f68
|
fix: more constraints added to ReferenceOf to provide support for corner cases of dimensionless quantity tree
|
2023-06-13 17:34:37 +03:00 |
|
Mateusz Pusz
|
8ed82dfe96
|
refactor: DerivedFromQuantityKindSpecOf introduced to remove code duplications
|
2023-06-13 17:32:52 +03:00 |
|
Mateusz Pusz
|
9ab8136c98
|
refactor: has_unit_symbol() added
|
2023-06-13 14:52:14 +03:00 |
|
Mateusz Pusz
|
4330cabd59
|
feat: pow, sqrt, and cbrt support added for reference
|
2023-06-13 09:14:53 +03:00 |
|
Mateusz Pusz
|
de4fefde3f
|
fix: pow() fixed for quantity specs and units
|
2023-06-13 09:14:01 +03:00 |
|
Mateusz Pusz
|
211bd61895
|
refactor: sudo_cast improved to benefit from treat_as_floating_point
|
2023-06-13 09:12:04 +03:00 |
|
Mateusz Pusz
|
7b22155bf3
|
feat: linear algebra library usage re-enabled
|
2023-06-12 11:47:30 +03:00 |
|
Mateusz Pusz
|
272a8d8b5c
|
refactor: QuantityConvertibleTo checks reordered to limit type truncation on conversion warnings
|
2023-06-12 11:39:18 +03:00 |
|
Mateusz Pusz
|
30b0a0c5df
|
fix: RepSafeConstructibleFrom now works correctly with Arg being rvalue reference
|
2023-06-12 11:38:36 +03:00 |
|
Mateusz Pusz
|
bb158a69e9
|
refactor: type_traits usage cleanup
|
2023-06-12 11:37:39 +03:00 |
|
Mateusz Pusz
|
4092700cf9
|
refactor: casts cleanup and improved
|
2023-06-12 11:34:41 +03:00 |
|
Mateusz Pusz
|
c22490290f
|
fix: forgot to commit _quantity_spec_ member added to kind_of
|
2023-06-08 22:02:34 +02:00 |
|
Mateusz Pusz
|
f9e1404e02
|
style: formatting updated to make pre-commit happy
|
2023-06-08 22:01:40 +02:00 |
|
Mateusz Pusz
|
f853f1f4ef
|
fix: magnitudes division fixed when units are divided
|
2023-06-08 19:08:41 +02:00 |
|
Mateusz Pusz
|
6f0f6b2213
|
feat: make_quantity() and op*(Representation, Unit are now correctly using quantity constructor constraints
|
2023-06-08 17:41:48 +02:00 |
|
Mateusz Pusz
|
05ed7dae88
|
feat: RepSafeConstructibleFrom now accounts for magnitude representation type
|
2023-06-08 17:40:01 +02:00 |
|
Mateusz Pusz
|
9d41fb33ef
|
fix: RepSafeConstructibleFrom argument value category fixed
|
2023-06-08 17:34:19 +02:00 |
|
Mateusz Pusz
|
7a730fde58
|
refactor: constant_unit abstraction removed and replaced with regular named_unit
|
2023-06-05 19:36:22 +02:00 |
|
Mateusz Pusz
|
6364fcdf7e
|
fix: IntermediateDerivedQuantitySpec now also accounts for kind_of
|
2023-06-05 19:26:53 +02:00 |
|
Mateusz Pusz
|
c2e91d41c4
|
fix: commutativity of a common_unit() fixed
|
2023-06-05 11:09:02 +02:00 |
|
Mateusz Pusz
|
621faae8bc
|
feat: sqrt() and cbrt() added for dimension, quantity_spec, and unit
|
2023-06-01 08:49:08 +02:00 |
|
Mateusz Pusz
|
14258c97fd
|
refactor: magnitude::pow() now takes two ints rather than a ratio (consistent with the rest of library)
|
2023-06-01 08:47:55 +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
|
7771753163
|
refactor: make_quantity() forward declaration moved to the beginning of reference.h
|
2023-05-30 12:06:46 +02:00 |
|
Mateusz Pusz
|
45a4b2ac10
|
feat: make_quantity() usage added to quantity_spec
|
2023-05-30 12:06:01 +02:00 |
|
Mateusz Pusz
|
3713e08a95
|
refactor: library concepts cleanup
|
2023-05-30 12:04:07 +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
|
32fcbd7829
|
fix: quantity_spec ingredients sorting fixed
|
2023-05-25 11:59:09 +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
|
5b2978b89a
|
feat: UnitOf concept now supports dimensionless[radian]
|
2023-05-22 17:55:32 +02:00 |
|
Mateusz Pusz
|
6975a02570
|
refactor: InvocableQuantities concept simplified
|
2023-05-22 17:54:47 +02:00 |
|
Mateusz Pusz
|
cd2cd620bb
|
refactor: constraints for common_reference improved
|
2023-05-22 17:54:14 +02:00 |
|
Mateusz Pusz
|
26164edeac
|
refactor: constraints for common_unit improved
|
2023-05-22 17:53:50 +02:00 |
|
Mateusz Pusz
|
86e1f058e7
|
feat: common_quantity_spec extended to properly work with kinds derived from the dimensionless
|
2023-05-22 17:52:59 +02:00 |
|
Mateusz Pusz
|
590539ad6c
|
feat: The last corner cases in quantity_spec conversions addressed
|
2023-05-22 16:50:04 +02:00 |
|
Mateusz Pusz
|
2d2211fffa
|
refactor: UnitOf used in quantity_spec::operator[]
|
2023-05-18 11:33:10 +02:00 |
|
Mateusz Pusz
|
41484742ae
|
fix: missing header file added
|
2023-05-17 11:50:15 +02:00 |
|
Mateusz Pusz
|
34a824b232
|
feat: UnitOf concept added
|
2023-05-17 10:35:18 +02:00 |
|
Mateusz Pusz
|
7bad01fd45
|
refactor: Harmonic concept renamed to IntegralConversionFactor
|
2023-05-16 16:58:16 +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
|
81eafbf13e
|
refactor: convertible_result renamed to specs_convertible_result
|
2023-05-16 16:02:10 +02:00 |
|
Mateusz Pusz
|
cc8a088013
|
feat: runtime conversion factors between units support added
|
2023-05-16 15:01:15 +02:00 |
|
Mateusz Pusz
|
978ce4093a
|
feat: quantity_point converting constructor now takes into account convertibility of the quantity type
|
2023-05-16 14:08:36 +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 |
|