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
|
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
|
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
|
979a00e704
|
fix: get_canonical_unit() fixed for powers of derived quantities
|
2022-12-19 20:35:22 +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
|
a96c34c17a
|
fix: exp() implementation fixed
|
2022-12-19 12:49:15 +01:00 |
|
Mateusz Pusz
|
81a02837aa
|
refactor: quantity_kind removed
|
2022-12-19 12:00:54 +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
|
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
|
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
|
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
|
d75f22ecc4
|
feat: constant_unit support added
|
2022-11-10 09:55:43 -10:00 |
|
Mateusz Pusz
|
3d536fb82b
|
refactor: Unicode symbols directly provided in the code
|
2022-11-09 22:53:27 -10:00 |
|
Mateusz Pusz
|
5ab79f0c63
|
feat: quantity_equivalent_to concept added
|
2022-11-09 22:50:54 -10:00 |
|
Mateusz Pusz
|
411f7a0bb7
|
refactor: magnitude_text() moved to the magnitude header file
|
2022-11-09 22:50:19 -10:00 |
|
Mateusz Pusz
|
f01aa8530a
|
fix: magnitudes fixed
|
2022-11-09 22:49:36 -10:00 |
|
Mateusz Pusz
|
f2e63fdeb1
|
refactor: std::common_type usage replaced with dedicated functions for units, dimensions, and references
|
2022-11-09 18:39:51 -10:00 |
|
Mateusz Pusz
|
649252d691
|
refactor: system_reference moved to a dedicated header file
|
2022-11-09 18:33:39 -10:00 |
|
Mateusz Pusz
|
61b88b919f
|
refactor: convertible() renamed to interconvertible()
|
2022-11-08 10:57:05 -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
|
f462109aa3
|
fix: TYPENAME added to dimension.h
|
2022-11-07 16:22:02 -10:00 |
|
Mateusz Pusz
|
e3863e8f8d
|
refactor: unit_symbol_denominator renamed to unit_symbol_solidus
|
2022-11-07 16:18:11 -10:00 |
|
Mateusz Pusz
|
d69e223b0c
|
refactor: quantity_cast on quantities refactored for V2
|
2022-11-07 16:14:02 -10:00 |
|
Mateusz Pusz
|
c14593c59b
|
refactor: dimensionless refactored to V2
|
2022-11-07 16:13:19 -10:00 |
|
Mateusz Pusz
|
5142365ec6
|
fix: inverse of magnitude fixed
|
2022-11-07 16:12:31 -10:00 |
|
Mateusz Pusz
|
a97eea95e9
|
fix: expr_divide fixed for 1 / derived_type
|
2022-11-07 14:57:39 -10:00 |
|
Mateusz Pusz
|
9a11c33764
|
feat: Custom find_first_of algorithm added
|
2022-11-06 20:27:22 -10:00 |
|
Mateusz Pusz
|
772fdab6c1
|
refactor: math_concepts usage
|
2022-11-06 19:46:58 -10:00 |
|
Mateusz Pusz
|
364699e5d9
|
chore: unused files removed
|
2022-11-06 19:45:31 -10:00 |
|
Mateusz Pusz
|
f1caad7b74
|
fix: expression template simplification bug fixed
|
2022-11-05 18:45:02 +01:00 |
|