Commit Graph

17 Commits

Author SHA1 Message Date
24a530e23e maths: remove pow2 function
pow2 has been used enough times to mean 2^x and x^2 that it's not worth
the ambiguity. just use pow(b,e) directly.
2018-04-09 12:30:22 +10:00
5bc2cf12d4 maths: use true constexpr values for pi 2018-03-12 23:06:15 +11:00
fdc8b34770 polynomial: avoid unnecessary instantiation 2017-02-09 16:49:00 +11:00
c91e1d29c3 polynomial: style 2016-12-21 20:23:43 +11:00
9a798446b5 build: remove unnecessary includes
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
3b97f56ead polynomial: rename solve as roots 2015-07-21 02:59:14 +10:00
c052d7df4b maths: use templated PI and E constants 2015-04-29 17:45:39 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
5e4c1080ec polynomial: support eval on arbitrary types 2015-01-29 15:41:40 +11:00
0f19eaf6e1 comments 2015-01-29 15:40:22 +11:00
4d12dabb5f polynomial: use correct coefficients for newtons 2015-01-29 15:40:22 +11:00
57d5538717 polynomial: set NaNs as we go 2015-01-29 15:40:22 +11:00
e98bd6338e polynomial: add more const 2015-01-29 15:40:22 +11:00
b9f38eb4a9 polynomial: use correct degree in template param 2015-01-22 14:57:38 +11:00
bd12519d94 polynomial: use newtons method after cubic solve 2015-01-22 00:27:46 +11:00
13188ca83c polynomial: remove some useless maths operations 2015-01-22 00:27:10 +11:00
5469fdf06b polynomial: initial degree 1-3 solvers 2015-01-21 23:40:45 +11:00