jzmaddock
accfe2f7eb
Fix msvc compile failure, and add a using declaration so we overload boost::math::gcd.
2016-08-26 18:33:10 +01:00
jzmaddock
f888dcb129
Including polynomial.hpp should get the gcd overloads as well.
2016-08-26 18:32:27 +01:00
Jeremy W. Murphy
64c887a3c9
Add overload of gcd() for polynomials with multi-precision integral coeffs.
...
And add a unit test to show that it works.
2016-08-25 23:02:03 +10:00
Jeremy W. Murphy
d817274f3f
Update some doxygen.
2016-08-25 23:00:59 +10:00
Jeremy W. Murphy
783dc6af46
Merge branch 'develop' into polynomial_ufd_gcd
2016-08-25 22:08:48 +10:00
inkstink
c9d9f446c5
fixed typos for real this time
2016-08-19 20:42:14 -04:00
inkstink
950d3990e4
fixed typos
2016-08-19 20:33:24 -04:00
pabristow
7786c7d5a8
Added Thomas Luu references
2016-08-09 16:05:20 +01:00
jzmaddock
53403a58f7
minor Intel fix.
2016-07-29 11:41:28 +01:00
Jeremy W. Murphy
3348f83fb7
Assert the loop invariant, degree(u) >= degree(v).
2016-07-27 17:47:03 +10:00
Jeremy W. Murphy
3b1f362a37
Let's not provide the subresultant algorithm as a default.
2016-07-26 19:07:51 +10:00
Jeremy W. Murphy
af290b272d
The algorithm appears to assume that u is not smaller than v.
2016-07-26 19:07:21 +10:00
jzmaddock
d3a570e91a
Fix Intel C++ test failures
2016-07-22 09:27:15 +01:00
Jeremy W. Murphy
2e024bd02d
Merge branch 'polynomial_ufd_gcd' into polynomial_ufd_gcd_2
...
# Conflicts:
# test/test_polynomial.cpp
2016-07-15 18:46:35 +10:00
Jeremy W. Murphy
579d6681bc
Merge branch 'develop' into HEAD
...
# Conflicts:
# test/test_polynomial.cpp
2016-07-15 18:42:53 +10:00
Jeremy W. Murphy
ce1d534414
Add case for zero to leading_coefficient and unit test.
2016-07-15 18:12:51 +10:00
jzmaddock
2165b95f52
Two more GCC 4.4 workarounds
2016-07-15 02:15:30 +01:00
jzmaddock
9127a2f707
Merge branch 'develop' of https://github.com/boostorg/math into develop
2016-07-15 01:31:17 +01:00
jzmaddock
12feba86fa
Remove references to removed gcd/lcd code.
2016-07-15 18:36:55 +01:00
jzmaddock
cbb0cce89b
Disable initializer_list support for GCC-4.4 as it doesn't fully support the new syntax and there appears to be no workaround.
2016-07-15 01:24:18 +01:00
jzmaddock
5d125381f6
Enable SSE2 code for more cases.
2016-07-14 13:24:09 +01:00
jzmaddock
b043126170
Add long double specializations where appropriate.
2016-07-14 13:23:44 +01:00
jzmaddock
3891523510
Fix tgamma_delta_ratio for cases where argument is very large compared to delta.
2016-07-14 13:22:16 +01:00
Jeremy W. Murphy
efa83033fa
Merge branch 'develop' into polynomial_ufd_gcd
2016-07-12 21:39:49 +10:00
jzmaddock
5e54ce2427
Fix thread_local code:
...
1) Use new Boost.Config macro.
2) Fix constants to cache value and initialize on startup when used with variable precision types.
3) Fix factorials to initialize on startup with UDT types.
4) Streamline some other variable precision code.
2016-07-03 18:27:49 +01:00
jzmaddock
44a105aaf0
Tidy up clang/thread_local detection a little.
2016-06-27 19:42:09 +01:00
jzmaddock
3f0eaf7c46
Fix clang thread_local support detection
2016-06-27 18:54:38 +01:00
Jeremy W. Murphy
882dbaddd2
[polynomial] No need to call primitive_part() on v if it equals 1.
2016-06-23 11:43:56 +10:00
Jeremy W. Murphy
6f05d647ac
[polynomial] Tidy up headers.
2016-06-23 11:28:23 +10:00
Jeremy W. Murphy
6f5537d273
[polynomial] Move gcd code into a new file.
2016-06-20 09:58:39 +10:00
Jeremy W. Murphy
95d4976b86
[polynomial] Rename gcd_ufd to subresultant_gcd.
2016-06-19 15:37:42 +10:00
Jeremy W. Murphy
ebc14aacd3
[polynomial] Correct the requirements and handling of zero for gcd_ufd.
2016-06-18 21:44:28 +10:00
Jeremy W. Murphy
21438ba03a
gcd_ufd: neaten code and improve documentation.
2016-06-17 22:52:43 +10:00
Jeremy W. Murphy
fc109276f2
Be more specific about kinds of polynomials.
2016-06-16 23:50:43 +10:00
Jeremy W. Murphy
66740e77df
Update code to reflect operator bool() now exists; overload primitive_part.
2016-06-16 23:49:17 +10:00
Jeremy W. Murphy
48e856cf34
Merge branch 'develop' into polynomial_ufd_gcd
2016-06-16 23:21:48 +10:00
jzmaddock
a96792d309
Merge branch 'develop' of https://github.com/boostorg/math into develop
2016-06-05 18:29:14 +01:00
jzmaddock
afb8e89642
Change selection of thread_local to be more conservative.
2016-06-05 18:28:56 +01:00
jzmaddock
e4cd194686
Fix misc clang issues
2016-06-04 19:26:59 +01:00
jzmaddock
5ce39f2673
squash warnings and forward policies
2016-06-03 15:11:34 +01:00
jzmaddock
e946c45e9e
Fixes for cases where number type has no infinity and divide by zero is a hard error.
2016-06-01 19:25:03 +01:00
jzmaddock
5966b186f9
Add needed typecast to factorial-from-string multiprecision code
2016-06-01 00:09:49 +01:00
Daniel James
cd496c9ace
Fix typo
2016-05-31 14:04:39 +01:00
jzmaddock
1cb146a001
Merge branch 'develop' of https://github.com/boostorg/math into develop
2016-05-31 13:36:01 +01:00
jzmaddock
7499075a01
Recalculate cached constants if the precision changes in zeta.hpp.
2016-05-31 13:33:51 +01:00
jzmaddock
f02c9cba13
Calculate lgamma near 1 and 2 via series expansion in terms of zeta functions of integers.
...
Likewise for tgamma1pm1.
2016-05-31 13:33:08 +01:00
jzmaddock
609e8373b8
We can calculate the limit as an int, no need to invoke FP code.
2016-05-31 13:31:52 +01:00
jzmaddock
6961f14eb3
Don't initialize erf's cached constants for variable-precision types.
2016-05-31 13:30:54 +01:00
jzmaddock
bd39b86ca1
Warning suppression.
2016-05-31 10:12:20 +01:00
jzmaddock
fb8528e47b
Allow our cached data to be recalculated if the precision changes in unchecked_factorial.hpp.
2016-05-31 10:11:35 +01:00