Commit Graph

455 Commits

Author SHA1 Message Date
Mateusz Pusz
0c5864cc87 Kalman filter slightly refactored + clang_format 2020-03-01 14:40:54 +01:00
Mateusz Pusz
cd0eb11c14 standard_gravity constant added 2020-03-01 13:11:15 +01:00
Mateusz Pusz
c079856d72 Conan stable package link updated in README 2020-02-25 15:42:27 +01:00
Mateusz Pusz
736a8bd3c8 "clang-format off" removed for base_dimension_less 2020-02-25 11:55:16 +01:00
Mateusz Pusz
63463e7a35 Total energy example slightly refactored 2020-02-24 20:46:21 +01:00
Mateusz Pusz
0c02f94d29 Printing of uknown non-coherent units fixed 2020-02-24 20:45:47 +01:00
Mateusz Pusz
1f63fdb945 Printing of a space separator for unitless quantites disabled 2020-02-24 20:01:57 +01:00
Mateusz Pusz
d53a5337f3 Total energy example extended with Natural Units 2020-02-24 19:16:28 +01:00
Mateusz Pusz
c73ba84ad3 Natural Units support added 2020-02-24 19:15:46 +01:00
Mateusz Pusz
e7756bf4eb Printing order of base units according to the recipe fixed 2020-02-24 15:18:37 +01:00
Mateusz Pusz
0eb2f404be clang-format applied to type_list 2020-02-24 15:17:03 +01:00
Mateusz Pusz
c745bebffd type_list_join added 2020-02-24 15:15:46 +01:00
Mateusz Pusz
b9e7ffc90c total_energy fixed for gcc-9 2020-02-24 14:12:38 +01:00
Mateusz Pusz
64248c0752 Total energy example added 2020-02-23 17:40:18 +01:00
Mateusz Pusz
a0a18f35ac Momentum support added 2020-02-23 17:40:01 +01:00
Oliver Schönrock
fe998e1eab better sqrt_impl
MUCH bigger range (although still not quitre max -- see comments)
no recursion
make this example possible: https://godbolt.org/z/tDFkfR
2020-02-23 17:29:28 +01:00
Oliver Schönrock
d4492524d1 use assert. static can't work 2020-02-23 17:29:28 +01:00
Andy Little
065323c7d7 1d aircraft α-β filter ( kalman filter tutorial from https://www.kalmanfilter.net/alphabeta.html#ex2 ) converted to mpusz/units 2020-02-22 22:10:45 +01:00
Oliver Schönrock
ef862c9f69 include what we use and use system header syntax
don't show 10^0 when den != 0
2020-02-22 22:08:36 +01:00
Oliver Schönrock
424f0512c1 hack fix?! 2020-02-22 22:08:36 +01:00
Mateusz Pusz
0c89df3980 unknown_unit renamed to unknown_coherent_unit 2020-02-22 09:37:40 +01:00
Mateusz Pusz
d51a9eac28 Physical constants refactored 2020-02-21 10:57:57 +01:00
Oliver Schönrock
834d1fa09d extending the range of operator* for incoherent units with large num/den
this improves the situation for #55 (doesn't solve it outright)
motivating examples which now work are:
1q_mi * 1q_mi * 1q_mi
1q_au * 1q_au
tests added and docs updated
2020-02-20 23:46:55 +01:00
Mateusz Pusz
9fdb5822f9 CTest module removed 2020-02-20 22:24:22 +01:00
Mateusz Pusz
21f3041bfb Runtime test execution added to Conan 2020-02-20 21:16:33 +01:00
Mateusz Pusz
600d2cb12c Release notes moved from README to CHANGELOG 2020-02-20 20:20:44 +01:00
Mateusz Pusz
395a98c055 WrappedUnit support added 2020-02-20 20:16:05 +01:00
Mateusz Pusz
a34730cf8c Subfolders reordered in CMake to help diagnose lack of testing dependencies 2020-02-20 20:14:38 +01:00
Oliver Schönrock
39a2c2de0e employing more mathemtaically correct ratio_gcd calc (for common ratio)
really finds the maximum common ration as opposed to previous algo which
simplified on the exp part of the ratio by using std::min
most of new code credit to Conor Williams
discussion and additional doc here:
https://github.com/mpusz/units/issues/62#issuecomment-588152833
test case was 1yd + 1in = 37in => added as a test
commenting out unusued ratio_add and its tests
if to be reintroduced, should also use the new gcd routines
additonal change was required to check in `safe_divisible` concept
den=1 is not sufficient anymore. reusing new gcd routines
moved ratio nomalize and new gcd routines into new, separate bits/ratio_maths.h
this resolves #62
2020-02-20 19:59:12 +01:00
Oliver Schönrock
1280b7d4be fix fmt test typos for accidental find/replace mistakes during 1m => 1q_m
changes
2020-02-20 19:57:20 +01:00
Mateusz Pusz
7efd815fe5 Release notes updated again 2020-02-19 11:02:45 +01:00
Mateusz Pusz
4d0afc2df9 Release notes updated 2020-02-19 11:01:36 +01:00
Mateusz Pusz
81febba3f7 Compiler Explorer link updated 2020-02-19 11:01:17 +01:00
Mateusz Pusz
f618529451 FAQ section added to README 2020-02-17 17:23:12 +01:00
Mateusz Pusz
18620044c5 All UDLs are now prefixed with q_ 2020-02-17 15:56:06 +01:00
Oliver Schönrock
0566cc631d implementing units::ratio_add and tests
not yet used in src/include/units/bits/dim_consolidate.h
because it breaks and cascades (due to new exponent we think)
2020-02-16 14:53:06 +01:00
oschonrock
dfb9042e9d promo text 2020-02-16 14:53:06 +01:00
Oliver Schönrock
291d3d1eb7 dealing with exponent during sqrt
fixes #58
2020-02-16 14:53:06 +01:00
Mateusz Pusz
fc62c04a46 Update INSTALL.md 2020-02-15 12:09:35 +01:00
Mateusz Pusz
0ca8894de4 Conan quick intro added 2020-02-15 12:06:03 +01:00
Mateusz Pusz
0c86d1da2b Syntax highlighting added for code block in INSTALL 2020-02-15 09:06:14 +01:00
Mateusz Pusz
081d96a756 Update INSTALL.md 2020-02-15 08:48:54 +01:00
Mateusz Pusz
d832b3a462 basic_fixed_string op== improved 2020-02-12 09:55:28 +01:00
Mateusz Pusz
172fa74239 gigaelectronvolt added 2020-02-12 09:50:07 +01:00
Mateusz Pusz
a8ada63031 units::exp disambiguated in unit tests 2020-02-12 09:49:49 +01:00
Mateusz Pusz
3be8ee921e Starship improvements after the latest gcc fixes 2020-02-12 09:48:04 +01:00
Mateusz Pusz
c3cfd3acaa SI fundamental constants added 2020-02-11 23:57:04 +01:00
Mateusz Pusz
f8b1c8d8a2 Initial constants support added 2020-02-11 23:55:02 +01:00
Mateusz Pusz
4ec015d26e SI prefix enabled for eV 2020-02-11 20:58:18 +01:00
Mateusz Pusz
2360392a3d Tests for #58 added (uncomment when fixed) 2020-02-11 08:51:34 +01:00