Mateusz Pusz
6bccc57800
docs: angular units chapter updated with a code example
2022-09-08 06:51:43 +02:00
Mateusz Pusz
fc849fe7fe
style: trailing whitespaces removed to make pre-comit happy
2022-09-07 10:42:34 +02:00
Mateusz Pusz
f34282811d
docs: angular quantities documentation improved
2022-09-03 12:28:21 +02:00
Mateusz Pusz
1a0a55d3d2
docs: Angular Units clean up to make pre-commit happy
2022-09-02 20:13:55 +02:00
Mateusz Pusz
8a87061c3a
docs: Angular Units chapter added
2022-09-02 20:09:50 +02:00
Mateusz Pusz
1b3750c68b
docs: mag_pi constant refence fixed in the magnitude documentation
2022-09-02 20:09:14 +02:00
Chip Hogg
327892a9b3
Fix underscores and excess backticks
2022-08-11 13:43:04 +00:00
Chip Hogg
28d8a7c4b1
Update documented prefixes
2022-08-10 23:38:50 +00:00
Chip Hogg
ce3f048456
Address remaining comments for magnitudes.rst
2022-08-10 23:36:44 +00:00
Chip Hogg
d0325da46a
Fix math notation in magnitude doc
2022-08-10 01:14:24 +00:00
Chip Hogg
10b553bdbe
Adapt Aurora's Magnitude docs for mp-units
...
The major missing work here is to see how the latex math, inside dollar
signs, translates to the docs.
I also added a new constant, `pi`, to make the docs correct: this should
be much more user friendly.
This is not intended to be "complete". Rather, the goal is to deliver
the raw content so that experts can massage it.
2022-08-04 19:13:53 +00:00
Chip Hogg
642663a676
Merge branch 'master' into chiphogg/docs
2022-08-04 18:29:44 +00:00
Mateusz Pusz
25e868a16f
docs: Some outdated TODO comments removed
2022-08-02 18:33:58 +02:00
Chip Hogg
70ada0ecf3
Update prefix documentation
2022-07-20 01:03:55 +00:00
Mateusz Pusz
bd64122880
docs: "Quantity-like Types" chapter added
...
Refers to #365
2022-06-14 11:18:29 +02:00
Mateusz Pusz
c713ae7a43
docs: P0847 reference removed
...
Resolves #364
2022-06-06 19:09:14 +02:00
Mateusz Pusz
38fb9911a9
refactor: 💥 ! " ⋅ " replaced with "⋅" in derived unit symbols
2022-05-24 12:56:14 +02:00
Mateusz Pusz
49eb4523cd
refactor: units:: namespace prefix is no longer needed before prefix
2022-05-21 18:56:47 +02:00
Mateusz Pusz
01271a90b6
docs: project documentation updated with the latest unit-related changes
2022-05-11 16:28:14 +02:00
Aleksei Latyshev
291314fbb7
docs: fix typo in units.rst
2022-04-17 23:49:19 +03:00
Markus Hofbauer
4c127797da
check: run pre-commit on all files
2022-03-18 16:12:21 +01:00
Mateusz Pusz
627f39742d
docs: SVG files are now copied and searched correctly
2021-10-20 22:28:42 +02:00
Mateusz Pusz
72ef7584a4
docs: basic concets UML refactored
2021-10-20 11:21:58 +02:00
Mateusz Pusz
1525101555
docs: UML diagrams replaced to plantuml generated SVGs
2021-10-20 10:52:57 +02:00
Mateusz Pusz
8fccfd2d68
docs: quantity arithmetics moved to a separate chapter
2021-10-20 09:49:23 +02:00
Mateusz Pusz
b1bd4cab2d
feat: std::format support for compliant compilers added
2021-09-20 15:01:58 +02:00
Mateusz Pusz
32d0f7c871
docs: Sphinx documentation fixes
...
Broken links, invalid chapter underlining, invalid code fragments, etc.
2021-08-29 22:27:13 +02:00
Mateusz Pusz
64edac75a7
docs: "Quantity References" chapter fixed
2021-08-10 14:37:03 +02:00
Johel Ernesto Guerrero Peña
80eefec97c
fix: add quantity_point::origin, like std::chrono::time_point::clock
2021-06-29 20:44:27 +02:00
Mateusz Pusz
b894ee6558
refactor: 💥 got rid of a noble_derived_unit
...
Resolves #280
2021-05-10 18:03:47 +02:00
Mateusz Pusz
7ead50acfc
refactor: derived_kind template parameters reordered to be compatible with a derived_unit
...
Resolves #229
2021-05-10 16:45:38 +02:00
Mateusz Pusz
8e88f06380
refactor: *deduced_unit renamed to *derived_unit
2021-05-10 15:56:48 +02:00
Mateusz Pusz
2c8c6c2e98
refactor: quantity cration helpers are not opt-out rather than opt-in
...
Resolves #277
2021-05-09 15:52:20 +02:00
Mateusz Pusz
d09cef27c9
docs: binary prefixes fixed in the docs
2021-04-17 20:00:53 +02:00
Mateusz Pusz
58f21e7e1c
docs: Quantity Construction Helpers chapter updated
2021-04-16 19:03:30 +02:00
Mateusz Pusz
e88cdadd5f
docs: "Dimension-Specific Aliases" fixed
2021-04-16 14:46:58 +02:00
Mateusz Pusz
bd862d3517
refactor: Fine-grained references support added
2021-04-07 11:26:45 +02:00
Mateusz Pusz
71d79aeab0
docs: reference to dimension of speed fixed in "Derived Unnamed Units" chapter
2021-04-06 16:23:54 +02:00
Mateusz Pusz
b982921d27
refactor: References are now guarded UNITS_REFERENCES with (ON by default) + examples duplicated to subdirectories
...
Now References can be disabled to meassure a compile time impact. Also the same examples are now provided in two subdirectories to be able to easily compare the pros and cons of every quantity construction technique.
2021-04-06 15:57:28 +02:00
Mateusz Pusz
b842c3f94a
docs: q_ prefixes added for "Dimension-Specific Aliases"
2021-04-06 14:44:24 +02:00
Mateusz Pusz
c3659dbb47
refactor: UNITS_UDLS renamed to UNITS_LITERALS
...
Also now the existence of the preprocessor flag is enough to trigger the feature (`#ifdef` instead of `#if`)
2021-04-06 13:33:27 +02:00
Mateusz Pusz
c4e9ff7f66
docs: Documentation now prefers refrences over UDLs
2021-04-02 13:11:20 +02:00
Mateusz Pusz
88e642ec74
refactor: QuantityValue concept renamed to Representation
2021-03-19 07:53:18 +01:00
Mateusz Pusz
901b09fd52
refactor: quantity::count() renamed to quantity::number()
...
Resolves #259
2021-03-19 06:47:37 +01:00
Johel Ernesto Guerrero Peña
f0cfc14b83
refactor: remove operator/(Rep, reference)
...
Addresses https://github.com/mpusz/units/pull/261#discussion_r597289047 .
2021-03-19 06:31:12 +01:00
Johel Ernesto Guerrero Peña
9da39070ed
docs: update for reference<D, U>
2021-03-19 06:31:12 +01:00
Mateusz Pusz
bbbb77286c
refactor: physical replaced with isq
...
Refers to #249
2021-03-16 12:03:25 +01:00
Mateusz Pusz
65e383a506
docs: Basic concepts embraced with examples
2021-03-05 11:31:46 +01:00
Johel Ernesto Guerrero Peña
017183653d
feat: full-on dimensional analysis between related quantity kinds
2021-02-21 00:17:03 +01:00
Mateusz Pusz
f2cb24357c
fix: UDLs cannot be consteval
2021-02-18 19:54:40 +01:00