Commit Graph

  • 1cb146a001 Merge branch 'develop' of https://github.com/boostorg/math into develop jzmaddock 2016-05-31 13:36:01 +0100
  • 8cb9be7699 Change test data so it always uses the SC_ macro: it helps multiprecision tests, and in particular allows us to test types whose precision varies at runtime. jzmaddock 2016-05-31 13:35:37 +0100
  • 7499075a01 Recalculate cached constants if the precision changes in zeta.hpp. jzmaddock 2016-05-31 13:33:51 +0100
  • f02c9cba13 Calculate lgamma near 1 and 2 via series expansion in terms of zeta functions of integers. Likewise for tgamma1pm1. jzmaddock 2016-05-31 13:33:08 +0100
  • 609e8373b8 We can calculate the limit as an int, no need to invoke FP code. jzmaddock 2016-05-31 13:31:52 +0100
  • 6961f14eb3 Don't initialize erf's cached constants for variable-precision types. jzmaddock 2016-05-31 13:30:54 +0100
  • bd39b86ca1 Warning suppression. jzmaddock 2016-05-31 10:12:20 +0100
  • fb8528e47b Allow our cached data to be recalculated if the precision changes in unchecked_factorial.hpp. jzmaddock 2016-05-31 10:11:35 +0100
  • 8b59c26e73 Warning disable. jzmaddock 2016-05-31 10:10:51 +0100
  • a97fedee55 Don't cache values for variable-precision types in precision.hpp jzmaddock 2016-05-31 10:10:07 +0100
  • cde7271817 Update bernoulli/polygamma code to avoid caching values if the precision has changed. jzmaddock 2016-05-31 10:09:15 +0100
  • 04378a1a87 Warning disable in error_handling.hpp jzmaddock 2016-05-31 10:07:24 +0100
  • dd4db9a28c Update constants to work with types whose precision varies. jzmaddock 2016-05-31 10:07:01 +0100
  • 281e6d8bab Mark operator bool as explicit in docs. jzmaddock 2016-05-26 18:41:50 +0100
  • f8ee91a84b Merge pull request #39 from jeremy-murphy/polynomial_zero jzmaddock 2016-05-26 18:40:13 +0100
  • deb345b155 Merge pull request #42 from kundor/develop jzmaddock 2016-05-24 12:42:00 +0100
  • 6510793122 There's no such file as relative_distance.hpp Kolya Matteo 2016-05-23 14:17:09 -0400
  • d922f95fd5 Merge branch 'develop' into polynomial_ufd_gcd Jeremy W. Murphy 2016-05-16 09:48:15 +1000
  • 9558b22b6c Update API documentation. Jeremy W. Murphy 2016-05-15 21:07:15 +1000
  • 94526e54c7 Merge branch 'develop' into polynomial_zero Jeremy W. Murphy 2016-05-15 21:03:12 +1000
  • 30e7f76e76 Merge pull request #40 from kundor/polypow jzmaddock 2016-05-15 09:50:07 +0100
  • 0fd22d787c polynomial: Example documentation for test/set zero. Jeremy W. Murphy 2016-05-15 18:32:17 +1000
  • 42249f03e7 Simplify one and zero polynomial declarations Kolya Matteo 2016-05-13 09:06:36 -0400
  • e608dc6657 Rename clear() to set_zero(). Jeremy W. Murphy 2016-05-13 18:27:31 +1000
  • 18a49862a9 Use typedef hack to prevent accidental conversion to an arithmetic type. Jeremy W. Murphy 2016-05-12 21:02:34 +1000
  • 5faad1baf8 Add polynomial pow function to docs Kolya Matteo 2016-05-11 16:18:42 -0400
  • c7d7a0ce6e Add unit tests for polynomial pow Kolya Matteo 2016-05-11 15:05:13 -0400
  • 51575f6474 Don't try pow to negative powers even for constants Kolya Matteo 2016-05-11 15:02:38 -0400
  • 4c1a2eacef Use default policy for error handling Kolya Matteo 2016-05-05 17:22:22 -0400
  • 15e163b2a5 Throw an exception, instead of asserting Kolya Matteo 2016-05-02 15:25:55 -0400
  • f5fc788b4f Fix merge Kolya Matteo 2016-05-02 14:30:33 -0400
  • 141ef67b6a Add pow() function for polynomials and integer powers. Kolya Matteo 2016-05-01 17:56:22 -0400
  • a737a3f5c2 operator bool() and clear(): test for zero and set to zero respectively. Jeremy W. Murphy 2016-05-11 14:02:16 +1000
  • bea587f3fd Merge branch 'gcd_n' of https://github.com/jeremy-murphy/math into develop jzmaddock 2016-05-09 18:59:17 +0100
  • c9bf1df944 Merge branch 'polynomial_shift' of https://github.com/jeremy-murphy/math into develop jzmaddock 2016-05-09 18:29:22 +0100
  • cace9b59de Merge branch 'gcd' into develop jzmaddock 2016-05-09 18:15:54 +0100
  • 993cdcb42e Reduce dependencies by removing all use of Boost.Format. We made only cursory use of the lib, so it's just as easy to do with it. Also fixed a number of missing #includes which were hidden by including format.hpp. jzmaddock 2016-05-09 11:38:13 +0100
  • c5084fc77e Add complex and polynomial test cases. jzmaddock 2016-05-08 16:54:24 +0100
  • 9e3ba7072a Update Synopsis and Run-time determination sections of docs. Jeremy W. Murphy 2016-05-08 22:06:39 +1000
  • b953a8cad6 Add better error handling tests. jzmaddock 2016-05-07 18:45:51 +0100
  • 0e5f2ea229 Merge branch 'develop' of https://github.com/kundor/math into develop jzmaddock 2016-05-07 18:45:24 +0100
  • a56745b479 Merge branch 'develop' into polynomial_ufd_gcd Jeremy W. Murphy 2016-05-07 18:32:42 +1000
  • a822400320 Merge branch 'develop' into polynomial_shift Jeremy W. Murphy 2016-05-07 18:27:46 +1000
  • e3101bc0eb Return pair of <T, I> that includes the termination position. Jeremy W. Murphy 2016-05-07 14:33:35 +1000
  • ffd40ccb5f Actually test n = 1 for gcd_range. Jeremy W. Murphy 2016-05-07 11:01:57 +1000
  • df8c6584dc Rename gcd_n to gcd_range. Jeremy W. Murphy 2016-05-07 10:58:43 +1000
  • 8336375c78 Fix corner cases for raise_error Kolya Matteo 2016-05-05 18:10:43 -0400
  • 5ef9218016 Merge pull request #36 from kundor/develop jzmaddock 2016-05-02 19:30:05 +0100
  • 430239841d Add missing normalization in polynomial initializer_list assignment Kolya Matteo 2016-05-02 14:08:25 -0400
  • 3d3a1f8d2a Add tests for polynomial normalization with initializer lists (so the highest-degree term is nonzero) Kolya Matteo 2016-05-02 14:06:18 -0400
  • ece2283833 Add polynomial self-multiply-assign test case Kolya Matteo 2016-05-02 13:46:06 -0400
  • 589a18f63f Don't assume default-constructibility Kolya Matteo 2016-05-02 09:52:41 -0400
  • 627a4cedfd Multiply into a new vector and swap Kolya Matteo 2016-05-01 23:55:28 -0400
  • 9c8e3f2d4b Fix self-multiply-assign by backing down Kolya Matteo 2016-05-01 23:18:50 -0400
  • ca07aa8a0a Fix indefinite hang with p *= p Kolya Matteo 2016-05-01 20:47:54 -0400
  • 2168585e98 Compute delta as late as possible. Jeremy W. Murphy 2016-04-27 12:13:49 +1000
  • 8e25e0a487 Improve comments, remove superfluous using directive. Jeremy W. Murphy 2016-04-27 12:12:20 +1000
  • 60d6a05d2c Prefer immediate return to goto. Jeremy W. Murphy 2016-04-22 13:32:34 +1000
  • d484fa657c Remove inferior generalized gcd; include integral size promotion. Jeremy W. Murphy 2016-04-20 22:53:56 +1000
  • dc81bc8e6e Add 4.6.1E, generalized gcd. Jeremy W. Murphy 2016-04-20 01:38:05 +1000
  • 1ef4bb6490 Add mixed binary algorithm plus gcd_traits class with bitscan support. jzmaddock 2016-04-18 13:50:01 +0100
  • 4dc7c31f48 Extra test for gcd of polynomial over ufd. But is it correct? Jeremy W. Murphy 2016-04-18 01:46:43 +1000
  • aa19132d74 4.6.1C: Greatest common divisor over a unique factorization domain. Jeremy W. Murphy 2016-04-17 14:21:01 +1000
  • 5bfe2a7b15 Efficient conversion to bool. Jeremy W. Murphy 2016-04-17 13:42:50 +1000
  • d6dd40def6 Contextual comment and zero case for pp(). Jeremy W. Murphy 2016-04-15 14:17:42 +1000
  • 573b9fc399 content and primitive_part of a polynomial over a ufd. Jeremy W. Murphy 2016-04-15 13:14:18 +1000
  • b3d398636c gcd_n: Further comments. Jeremy W. Murphy 2016-04-15 07:29:38 +1000
  • 03e71021ac Unit test. Jeremy W. Murphy 2016-04-15 07:20:15 +1000
  • af28716e31 Algorithm description. Jeremy W. Murphy 2016-04-14 22:58:46 +1000
  • 5b8c448ce0 gcd of n values. Jeremy W. Murphy 2016-04-14 14:22:12 +1000
  • 8a1815902f Merge branch 'develop' jzmaddock 2016-04-12 18:39:31 +0100
  • 7281b18ab8 Merge branch 'gcd' of https://github.com/boostorg/math into gcd jzmaddock 2016-04-12 18:36:28 +0100
  • e9bafa3236 We need some using std::swap declarations. jzmaddock 2016-04-12 18:35:01 +0100
  • e963c67af2 Normalize after left-shift assignment to prevent denormalized zeroes. Jeremy W. Murphy 2016-04-10 01:27:36 +1000
  • 8b332c8ea8 Add GCC Mingw gcd results. jzmaddock 2016-04-08 19:07:54 +0100
  • c6e705b2a7 Fix linux gcd test errors and run performance tests jzmaddock 2016-04-07 19:36:32 +0100
  • 9988e737a2 Fix gcc build failures. jzmaddock 2016-04-07 18:54:10 +0100
  • 9f3e3852df Update gcd performance results. jzmaddock 2016-04-07 18:24:03 +0100
  • ab87cb4d27 polynomial: Document right/left shift and odd/even functionality. Jeremy W. Murphy 2016-04-07 14:54:39 +1000
  • e75d47e24a Fix bugs in printing out zero coefficients. Jeremy W. Murphy 2016-04-07 14:53:33 +1000
  • 07f5e1666b Get the tests passing with Jeremy's new gcd. jzmaddock 2016-04-06 19:16:47 +0100
  • 9f5d39c5e1 Merge branch 'gcd_revamp' of https://github.com/jeremy-murphy/math into gcd jzmaddock 2016-04-06 18:09:45 +0100
  • 6c2a370fe2 Improve gcd performance testing (first draft). jzmaddock 2016-04-06 18:03:20 +0100
  • e1dd0645a7 Improve gcd tests. jzmaddock 2016-04-06 18:02:39 +0100
  • 11500b787b Merge branch 'polynomial_shift' of https://github.com/jeremy-murphy/math into gcd jzmaddock 2016-04-06 17:58:21 +0100
  • 473cc9f209 Use std::numeric_limits rather than Boost's built-in type_traits. Jeremy W. Murphy 2016-04-05 09:48:15 +1000
  • fd11b9a4da Use <<= rather than <<. Jeremy W. Murphy 2016-04-05 09:44:28 +1000
  • 232a64424f Use unqualified swap to allow ADL. Jeremy W. Murphy 2016-04-05 09:41:59 +1000
  • 7789138e52 Add an unsigned multiprecision test type. Jeremy W. Murphy 2016-04-05 09:40:16 +1000
  • 0940e7d1e6 Revert "Don't use a library when an object file will do." jzmaddock 2016-04-04 12:55:17 +0100
  • 11e502b4ac New gcd implementation. Jeremy W. Murphy 2016-04-04 18:36:53 +1000
  • 01c2c0158f Regenerate docs with new performance results. jzmaddock 2016-03-29 08:02:27 +0100
  • 045aa6ae11 Basic specification of shift operators. Jeremy W. Murphy 2016-03-29 09:11:02 +1100
  • de2a22af4e Update gcd performance test code. jzmaddock 2016-03-28 19:35:07 +0100
  • 46543aa6b9 Initial performance table regen. jzmaddock 2016-03-28 13:12:48 +0100
  • 86f3ae5463 Don't use a library when an object file will do. jzmaddock 2016-03-28 13:11:54 +0100
  • cff8705458 Consistent white space. Jeremy W. Murphy 2016-03-28 16:08:04 +1100
  • 238cd6078b polynomial: odd/even predicates. Jeremy W. Murphy 2016-03-28 16:04:27 +1100
  • e9da8a10bf polynomial: Left and right shift operators. Jeremy W. Murphy 2016-03-27 22:03:33 +1100
  • b7da60a1c9 Merge pull request #24 from jeremy-murphy/gcd_perf jzmaddock 2016-03-09 18:53:00 +0000