2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-14 12:52:15 +00:00
Commit Graph

3433 Commits

Author SHA1 Message Date
Jeremy W. Murphy
dc81bc8e6e Add 4.6.1E, generalized gcd.
Should be useful for cross-validating 4.6.1C.
2016-04-20 01:38:05 +10:00
Jeremy W. Murphy
4dc7c31f48 Extra test for gcd of polynomial over ufd. But is it correct? 2016-04-18 01:46:43 +10:00
Jeremy W. Murphy
aa19132d74 4.6.1C: Greatest common divisor over a unique factorization domain. 2016-04-17 14:21:01 +10:00
Jeremy W. Murphy
5bfe2a7b15 Efficient conversion to bool.
This will save a lot of (x == zero_element<...>(...)) syntax that is not
only unwieldy but inefficient.
2016-04-17 13:42:50 +10:00
Jeremy W. Murphy
d6dd40def6 Contextual comment and zero case for pp(). 2016-04-15 14:17:42 +10:00
Jeremy W. Murphy
573b9fc399 content and primitive_part of a polynomial over a ufd. 2016-04-15 13:14:18 +10:00
Jeremy W. Murphy
b3d398636c gcd_n: Further comments. 2016-04-15 07:29:38 +10:00
Jeremy W. Murphy
03e71021ac Unit test.
# Conflicts:
#	include/boost/math/common_factor_rt.hpp
2016-04-15 07:20:15 +10:00
Jeremy W. Murphy
af28716e31 Algorithm description. 2016-04-14 22:58:46 +10:00
Jeremy W. Murphy
5b8c448ce0 gcd of n values. 2016-04-14 14:22:12 +10:00
jzmaddock
0940e7d1e6 Revert "Don't use a library when an object file will do."
This reverts commit 86f3ae5463.
2016-04-04 12:55:17 +01:00
jzmaddock
01c2c0158f Regenerate docs with new performance results. 2016-03-29 08:02:27 +01:00
jzmaddock
de2a22af4e Update gcd performance test code. 2016-03-28 19:35:07 +01:00
jzmaddock
46543aa6b9 Initial performance table regen. 2016-03-28 13:12:48 +01:00
jzmaddock
86f3ae5463 Don't use a library when an object file will do. 2016-03-28 13:11:54 +01:00
jzmaddock
b7da60a1c9 Merge pull request #24 from jeremy-murphy/gcd_perf
Performance test for euclidean and binary gcd.
2016-03-09 18:53:00 +00:00
jzmaddock
8a32bac2c8 Merge pull request #25 from jeremy-murphy/gcd_unit_tests
Gcd unit tests
2016-03-09 18:51:25 +00:00
jzmaddock
bfd43f4dd4 Merge pull request #27 from jeremy-murphy/polynomial_size_type
Use the template parameter N and container's size_type.
2016-03-09 13:38:17 +00:00
Jeremy W. Murphy
8855ec5338 More meaningful values for the 3rd and 4th arguments of report_execution. 2016-03-09 12:59:03 +11:00
Jeremy W. Murphy
b7886b3b3a Merge branch 'develop' into gcd_perf 2016-03-09 12:31:48 +11:00
Jeremy W. Murphy
521ee8a0af Use the template parameter N and container's size_type. 2016-03-08 19:24:45 +11:00
jzmaddock
65f7440c2f Minor fixes for polynomial division:
* Use Boost.Config macros not direct checks on C++ version.
* Use dedicated integer power function - fixes VC10 build failure, also prevents loss of digits when integer type is wider than double.
2016-03-02 19:37:46 +00:00
jzmaddock
2ed1361e73 Merge branch 'polynomial_initializer_list' of https://github.com/jeremy-murphy/math into develop 2016-03-02 18:47:11 +00:00
Jeremy W. Murphy
c491caf93b Test zero across all types too. 2016-03-02 14:24:41 +11:00
Jeremy W. Murphy
d9fa9fc477 Make an example of brace initializer_list construction. 2016-03-02 13:39:02 +11:00
Jeremy W. Murphy
93a0ff967d Use the strictly correct brace initializer_list construction. 2016-03-02 13:38:36 +11:00
Jeremy W. Murphy
94535a0c98 Add gcd unit tests to Jamfile. 2016-02-25 08:55:27 -08:00
Jeremy W. Murphy
48838637c4 Explicitly use gcd from Boost.Math, not multiprecision type's. 2016-02-25 08:55:11 -08:00
Jeremy W. Murphy
b86b89c8e2 Unit tests for gcd. 2016-02-11 09:36:32 +11:00
Jeremy W. Murphy
fc8127fda5 Typedef the int type. 2016-02-10 21:43:31 +11:00
Jeremy W. Murphy
38a87b423b Use larger input size.
Print the result out of paranoia.
2016-02-10 14:04:25 +11:00
jzmaddock
a8d2470854 Merge pull request #22 from jeremy-murphy/table_helper_lexical_cast
Missing include for lexical_cast.
2016-02-09 12:57:23 +00:00
Jeremy W. Murphy
de83ad54f7 Basic performance test of gcd on unsigned data. 2016-02-09 21:38:57 +11:00
Jeremy W. Murphy
6faa6f5b3c Merge branch 'polynomial_initializer_list' into gcd_perf 2016-02-09 18:58:45 +11:00
jzmaddock
7cecd8ddf4 Fix up mpfr support 2016-02-05 13:59:45 +00:00
Jeremy W. Murphy
3315e8eab9 Missing include for lexical_cast.
Hidden because this file is usually included after something else that
includes lexical_cast.
2016-02-03 12:20:41 +11:00
Jeremy W. Murphy
7969de6fae Add C++11 initializer_list constructor and assignment to polynomial class. 2016-01-31 19:04:37 +11:00
jzmaddock
b74f7e5906 Merge pull request #21 from jeremy-murphy/polynomial_mp
Support Boost.Multiprecision types as polynomial coefficients.
2016-01-16 10:08:25 +00:00
Jeremy W. Murphy
0e4bfc9f8e Test cpp_int, cpp_rational, cpp_bin_float_single and cpp_dec_float_50. 2016-01-16 14:54:00 +11:00
Jeremy W. Murphy
0fae5d590a Explicitly specify the return type for Boost lambda on * and /.
Appears that return type deduction failed for multiprecision types.
2016-01-16 14:51:35 +11:00
jzmaddock
8e7660e909 Merge branch 'develop' of https://github.com/boostorg/math into develop 2016-01-10 11:51:38 +00:00
jzmaddock
1adea9929f Add missing inline declarations.
See https://svn.boost.org/trac/boost/ticket/11892.
2016-01-10 11:51:24 +00:00
jzmaddock
12496430f6 Merge pull request #20 from Flast/bugfix-freebsd
Qualify std:: for isnan in some situation.
2016-01-09 19:33:20 +00:00
Kohei Takahashi
fbd1393858 Qualify std:: for isnan in some situation.
Because isnan is implemented as a macro and libstdc++ undef it within
<cmath> (at least FreeBSD 10).
2016-01-06 19:39:55 +09:00
jzmaddock
74ff2db959 Change <quadmath.h> config to not use it at all if we don't have __has_include as GCC may be configured with --disable-libquadmath but still signal that it supports __float128 2016-01-01 16:49:48 +00:00
jzmaddock
587eb660aa Merge branch 'develop' of https://github.com/boostorg/math into develop 2015-12-14 18:03:22 +00:00
jzmaddock
b04e78b79e Fix msvc warnings. 2015-12-14 18:03:05 +00:00
pabristow
bd9112ddd6 new html files 2015-12-14 16:14:17 +00:00
pabristow
7a7d3321fe Moved polystuff to tools, added JWM as author and numerous minor edits 2015-12-14 16:13:05 +00:00
pabristow
b2bd954faa Polish polynomial example. 2015-12-13 17:33:17 +00:00