2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 19:12:08 +00:00

Commit Graph

  • 141ef67b6a Add pow() function for polynomials and integer powers. Kolya Matteo 2016-05-01 17:56:22 -04:00
  • a737a3f5c2 operator bool() and clear(): test for zero and set to zero respectively. Jeremy W. Murphy 2016-05-11 14:02:16 +10:00
  • bea587f3fd Merge branch 'gcd_n' of https://github.com/jeremy-murphy/math into develop jzmaddock 2016-05-09 18:59:17 +01:00
  • c9bf1df944 Merge branch 'polynomial_shift' of https://github.com/jeremy-murphy/math into develop jzmaddock 2016-05-09 18:29:22 +01:00
  • cace9b59de Merge branch 'gcd' into develop jzmaddock 2016-05-09 18:15:54 +01:00
  • 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 +01:00
  • c5084fc77e Add complex and polynomial test cases. jzmaddock 2016-05-08 16:54:24 +01:00
  • 9e3ba7072a Update Synopsis and Run-time determination sections of docs. Jeremy W. Murphy 2016-05-08 22:06:39 +10:00
  • b953a8cad6 Add better error handling tests. jzmaddock 2016-05-07 18:45:51 +01:00
  • 0e5f2ea229 Merge branch 'develop' of https://github.com/kundor/math into develop jzmaddock 2016-05-07 18:45:24 +01:00
  • a56745b479 Merge branch 'develop' into polynomial_ufd_gcd Jeremy W. Murphy 2016-05-07 18:32:42 +10:00
  • a822400320 Merge branch 'develop' into polynomial_shift Jeremy W. Murphy 2016-05-07 18:27:46 +10:00
  • e3101bc0eb Return pair of <T, I> that includes the termination position. Jeremy W. Murphy 2016-05-07 14:33:35 +10:00
  • ffd40ccb5f Actually test n = 1 for gcd_range. Jeremy W. Murphy 2016-05-07 11:01:57 +10:00
  • df8c6584dc Rename gcd_n to gcd_range. Jeremy W. Murphy 2016-05-07 10:58:43 +10:00
  • 8336375c78 Fix corner cases for raise_error Kolya Matteo 2016-05-05 18:10:43 -04:00
  • 5ef9218016 Merge pull request #36 from kundor/develop jzmaddock 2016-05-02 19:30:05 +01:00
  • 430239841d Add missing normalization in polynomial initializer_list assignment Kolya Matteo 2016-05-02 14:08:25 -04:00
  • 3d3a1f8d2a Add tests for polynomial normalization with initializer lists (so the highest-degree term is nonzero) Kolya Matteo 2016-05-02 14:06:18 -04:00
  • ece2283833 Add polynomial self-multiply-assign test case Kolya Matteo 2016-05-02 13:46:06 -04:00
  • 589a18f63f Don't assume default-constructibility Kolya Matteo 2016-05-02 09:52:41 -04:00
  • 627a4cedfd Multiply into a new vector and swap Kolya Matteo 2016-05-01 23:55:28 -04:00
  • 9c8e3f2d4b Fix self-multiply-assign by backing down Kolya Matteo 2016-05-01 23:18:50 -04:00
  • ca07aa8a0a Fix indefinite hang with p *= p Kolya Matteo 2016-05-01 20:47:54 -04:00
  • 2168585e98 Compute delta as late as possible. Jeremy W. Murphy 2016-04-27 12:13:49 +10:00
  • 8e25e0a487 Improve comments, remove superfluous using directive. Jeremy W. Murphy 2016-04-27 12:12:20 +10:00
  • 60d6a05d2c Prefer immediate return to goto. Jeremy W. Murphy 2016-04-22 13:32:34 +10:00
  • d484fa657c Remove inferior generalized gcd; include integral size promotion. Jeremy W. Murphy 2016-04-20 22:53:56 +10:00
  • dc81bc8e6e Add 4.6.1E, generalized gcd. Jeremy W. Murphy 2016-04-20 01:38:05 +10:00
  • 1ef4bb6490 Add mixed binary algorithm plus gcd_traits class with bitscan support. jzmaddock 2016-04-18 13:50:01 +01:00
  • 4dc7c31f48 Extra test for gcd of polynomial over ufd. But is it correct? Jeremy W. Murphy 2016-04-18 01:46:43 +10:00
  • aa19132d74 4.6.1C: Greatest common divisor over a unique factorization domain. Jeremy W. Murphy 2016-04-17 14:21:01 +10:00
  • 5bfe2a7b15 Efficient conversion to bool. Jeremy W. Murphy 2016-04-17 13:42:50 +10:00
  • d6dd40def6 Contextual comment and zero case for pp(). Jeremy W. Murphy 2016-04-15 14:17:42 +10:00
  • 573b9fc399 content and primitive_part of a polynomial over a ufd. Jeremy W. Murphy 2016-04-15 13:14:18 +10:00
  • b3d398636c gcd_n: Further comments. Jeremy W. Murphy 2016-04-15 07:29:38 +10:00
  • 03e71021ac Unit test. Jeremy W. Murphy 2016-04-15 07:20:15 +10:00
  • af28716e31 Algorithm description. Jeremy W. Murphy 2016-04-14 22:58:46 +10:00
  • 5b8c448ce0 gcd of n values. Jeremy W. Murphy 2016-04-14 14:22:12 +10:00
  • 8a1815902f Merge branch 'develop' boost-1.61.0 jzmaddock 2016-04-12 18:39:31 +01:00
  • 7281b18ab8 Merge branch 'gcd' of https://github.com/boostorg/math into gcd jzmaddock 2016-04-12 18:36:28 +01:00
  • e9bafa3236 We need some using std::swap declarations. jzmaddock 2016-04-12 18:35:01 +01:00
  • e963c67af2 Normalize after left-shift assignment to prevent denormalized zeroes. Jeremy W. Murphy 2016-04-10 01:27:36 +10:00
  • 8b332c8ea8 Add GCC Mingw gcd results. jzmaddock 2016-04-08 19:07:54 +01:00
  • c6e705b2a7 Fix linux gcd test errors and run performance tests jzmaddock 2016-04-07 19:36:32 +01:00
  • 9988e737a2 Fix gcc build failures. jzmaddock 2016-04-07 18:54:10 +01:00
  • 9f3e3852df Update gcd performance results. jzmaddock 2016-04-07 18:24:03 +01:00
  • ab87cb4d27 polynomial: Document right/left shift and odd/even functionality. Jeremy W. Murphy 2016-04-07 14:54:39 +10:00
  • e75d47e24a Fix bugs in printing out zero coefficients. Jeremy W. Murphy 2016-04-07 14:53:33 +10:00
  • 07f5e1666b Get the tests passing with Jeremy's new gcd. jzmaddock 2016-04-06 19:16:47 +01:00
  • 9f5d39c5e1 Merge branch 'gcd_revamp' of https://github.com/jeremy-murphy/math into gcd jzmaddock 2016-04-06 18:09:45 +01:00
  • 6c2a370fe2 Improve gcd performance testing (first draft). jzmaddock 2016-04-06 18:03:20 +01:00
  • e1dd0645a7 Improve gcd tests. jzmaddock 2016-04-06 18:02:39 +01:00
  • 11500b787b Merge branch 'polynomial_shift' of https://github.com/jeremy-murphy/math into gcd jzmaddock 2016-04-06 17:58:21 +01:00
  • 473cc9f209 Use std::numeric_limits rather than Boost's built-in type_traits. Jeremy W. Murphy 2016-04-05 09:48:15 +10:00
  • fd11b9a4da Use <<= rather than <<. Jeremy W. Murphy 2016-04-05 09:44:28 +10:00
  • 232a64424f Use unqualified swap to allow ADL. Jeremy W. Murphy 2016-04-05 09:41:59 +10:00
  • 7789138e52 Add an unsigned multiprecision test type. Jeremy W. Murphy 2016-04-05 09:40:16 +10:00
  • 0940e7d1e6 Revert "Don't use a library when an object file will do." jzmaddock 2016-04-04 12:55:17 +01:00
  • 11e502b4ac New gcd implementation. Jeremy W. Murphy 2016-04-04 18:36:53 +10:00
  • 01c2c0158f Regenerate docs with new performance results. jzmaddock 2016-03-29 08:02:27 +01:00
  • 045aa6ae11 Basic specification of shift operators. Jeremy W. Murphy 2016-03-29 09:11:02 +11:00
  • de2a22af4e Update gcd performance test code. jzmaddock 2016-03-28 19:35:07 +01:00
  • 46543aa6b9 Initial performance table regen. jzmaddock 2016-03-28 13:12:48 +01:00
  • 86f3ae5463 Don't use a library when an object file will do. jzmaddock 2016-03-28 13:11:54 +01:00
  • cff8705458 Consistent white space. Jeremy W. Murphy 2016-03-28 16:08:04 +11:00
  • 238cd6078b polynomial: odd/even predicates. Jeremy W. Murphy 2016-03-28 16:04:27 +11:00
  • e9da8a10bf polynomial: Left and right shift operators. Jeremy W. Murphy 2016-03-27 22:03:33 +11:00
  • b7da60a1c9 Merge pull request #24 from jeremy-murphy/gcd_perf jzmaddock 2016-03-09 18:53:00 +00:00
  • 8a32bac2c8 Merge pull request #25 from jeremy-murphy/gcd_unit_tests jzmaddock 2016-03-09 18:51:25 +00:00
  • bfd43f4dd4 Merge pull request #27 from jeremy-murphy/polynomial_size_type jzmaddock 2016-03-09 13:38:17 +00:00
  • 8855ec5338 More meaningful values for the 3rd and 4th arguments of report_execution. Jeremy W. Murphy 2016-03-09 12:59:03 +11:00
  • b7886b3b3a Merge branch 'develop' into gcd_perf Jeremy W. Murphy 2016-03-09 12:31:48 +11:00
  • 521ee8a0af Use the template parameter N and container's size_type. Jeremy W. Murphy 2016-03-08 19:24:45 +11:00
  • 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. jzmaddock 2016-03-02 19:37:46 +00:00
  • 2ed1361e73 Merge branch 'polynomial_initializer_list' of https://github.com/jeremy-murphy/math into develop jzmaddock 2016-03-02 18:47:11 +00:00
  • c491caf93b Test zero across all types too. Jeremy W. Murphy 2016-03-02 14:24:41 +11:00
  • d9fa9fc477 Make an example of brace initializer_list construction. Jeremy W. Murphy 2016-03-02 13:39:02 +11:00
  • 93a0ff967d Use the strictly correct brace initializer_list construction. Jeremy W. Murphy 2016-03-02 13:38:36 +11:00
  • 94535a0c98 Add gcd unit tests to Jamfile. Jeremy W. Murphy 2016-02-25 08:55:27 -08:00
  • 48838637c4 Explicitly use gcd from Boost.Math, not multiprecision type's. Jeremy W. Murphy 2016-02-25 08:55:11 -08:00
  • 56221e001a Merge branch 'develop' jzmaddock 2016-02-15 19:37:52 +00:00
  • b86b89c8e2 Unit tests for gcd. Jeremy W. Murphy 2016-02-11 09:36:32 +11:00
  • a2c009e9b6 CUDA: Add support for elliptic integrals. Change asserts so they're disabled when compiling for the GPU. jzmaddock 2016-02-10 18:55:34 +00:00
  • fc8127fda5 Typedef the int type. Jeremy W. Murphy 2016-02-10 21:43:31 +11:00
  • 38a87b423b Use larger input size. Print the result out of paranoia. Jeremy W. Murphy 2016-02-10 14:04:25 +11:00
  • bffe22f7b7 Change file names, and add Jamfile to CUDA tests. jzmaddock 2016-02-09 18:18:24 +00:00
  • a8d2470854 Merge pull request #22 from jeremy-murphy/table_helper_lexical_cast jzmaddock 2016-02-09 12:57:23 +00:00
  • de83ad54f7 Basic performance test of gcd on unsigned data. Jeremy W. Murphy 2016-02-09 21:38:57 +11:00
  • 6faa6f5b3c Merge branch 'polynomial_initializer_list' into gcd_perf Jeremy W. Murphy 2016-02-09 18:58:45 +11:00
  • 0521c3a5e5 Add fp-util support for CUDA. jzmaddock 2016-02-07 18:08:15 +00:00
  • 7cecd8ddf4 Fix up mpfr support jzmaddock 2016-02-05 13:59:45 +00:00
  • 1f2f2e9231 add Rayleigh, triangular, uniform and weibull distributions to CUDA support. jzmaddock 2016-02-03 19:27:10 +00:00
  • 0da48a002e Add CUDA support for pareto and poisson. jzmaddock 2016-02-03 18:52:12 +00:00
  • e735236428 Add CUDA support for lognormal. jzmaddock 2016-02-03 18:35:43 +00:00
  • 3315e8eab9 Missing include for lexical_cast. Hidden because this file is usually included after something else that includes lexical_cast. Jeremy W. Murphy 2016-02-03 12:20:41 +11:00
  • 7969de6fae Add C++11 initializer_list constructor and assignment to polynomial class. Jeremy W. Murphy 2016-01-31 19:04:37 +11:00
  • cb5385467c Add CUDA support to laplace and logistic. jzmaddock 2016-01-30 18:48:19 +00:00
  • a5a8812fb6 Add CUDA normal distro tests. jzmaddock 2016-01-30 18:32:05 +00:00
  • 1401fca5cc Add more cuda support: geometric, inverse chi squared, inverse gamma, inverse gaussian and normal distributions. jzmaddock 2016-01-30 18:24:25 +00:00