Commit Graph

  • b471723bd1 Fix bug cases reported by Rocco Romeo: * Add another approximation for x very small. * Add code to handle cases where tgamma(a) would overflow. * Add tests for the above. jzmaddock 2014-09-14 17:05:15 +0100
  • d1d6d5b063 Fix derivative of incomplete beta in special cases where a = b = 0.5 and b = 1. Add additional tests to non-central F and T distributions to verify above fix. Fixes https://svn.boost.org/trac/boost/ticket/10480. jzmaddock 2014-09-12 16:29:29 +0100
  • 4909e5c02f Merge branch 'feature/hyperexponential_dist' of https://github.com/sguazt/math into develop jzmaddock 2014-09-09 17:44:21 +0100
  • 1df97b244e [distributions] Hyper-Exponential: fixed another typo. sguazt 2014-09-09 18:43:31 +0200
  • f209b93ba8 [distributions] Hyper-Exponential: fixed a copy-and-paste typo in the doc. sguazt 2014-09-09 18:28:17 +0200
  • 321d8f2eda Merge branch 'hyper_exponential' into develop jzmaddock 2014-09-08 18:12:52 +0100
  • 17e4f40fce Revert "[distributions] Hyper-Exponential: changed return type of 'probabilities' and 'rates' from 'vector<...>' to 'vector<...> const\&' to allow users to do things like this: 'std::copy(he.probabilities().begin(), he.probabilities().end(), std::ostream_iterator<double>(std::cout, " "));'." jzmaddock 2014-09-08 18:10:53 +0100
  • 90001d9c06 Doc rebuild. jzmaddock 2014-09-08 18:09:50 +0100
  • 5d37faf873 Merge branch 'feature/hyperexponential_dist' of https://github.com/sguazt/math into hyper_exponential jzmaddock 2014-09-08 17:14:23 +0100
  • 2ded2d0822 [distributions] Hyper-Exponential: added two more graphs (one with different probs and same rates, and another one with different number of phases but same mean). sguazt 2014-09-07 18:42:25 +0200
  • 0396d72311 [distributions] Hyper-Exponential: added two more graphs (one with different probs and same rates, and another one with different number of phases but same mean). sguazt 2014-09-07 18:41:56 +0200
  • cbbab041aa [distributions] Hyper-Exponential: output of Wolski's example changed to a floating-point precision of 2 (obtained with 'std::cout.precision(2)'). sguazt 2014-09-07 11:29:31 +0200
  • 72a2217b6d [distributions] Hyper-Exponential: added a note to clarify that the probabilities return by method 'probabilities' are normalized. sguazt 2014-09-07 10:46:05 +0200
  • a8efc9a637 [distributions] Hyper-Exponential: changed return type of 'probabilities' and 'rates' from 'vector<...>' to 'vector<...> const\&' to allow users to do things like this: 'std::copy(he.probabilities().begin(), he.probabilities().end(), std::ostream_iterator<double>(std::cout, " "));'. sguazt 2014-09-07 10:29:09 +0200
  • f73ecae7f5 Add some tests for the error handlers. jzmaddock 2014-09-05 18:56:49 +0100
  • e4d290b501 [distributions] Hyper-Exponential: added test for special cases (i.e., the one discussed under the 'Related distributions' section of the doc). sguazt 2014-09-04 16:07:50 +0200
  • bc77596f23 Improve calculation of phase probabilities when normalizing so they really should add up to 1. Allow slight tolerance in checking for sum of phase probabilities. Add missing call to normalize in iterator constructor. Remove asserts that duplicated the error handling code - better to provide consistent behavior via the error handlers. Add comment to examples about other containers working equally well. jzmaddock 2014-09-03 19:25:20 +0100
  • 0e37387689 [distributions] Hyper-Exponential: removed discussion on accuracy issues in MATLAB/Octave since the two programs gives correct results (during the test I wrongly passed rates instead of means to the exponential distributions). sguazt 2014-09-02 22:31:08 +0200
  • 671cd12ee4 Regen docs from Marco's changes. jzmaddock 2014-09-02 18:26:16 +0100
  • e22fc7d1d1 [distributions] Hyper-Exponential: solved an issue with Quickbook's itemized lists. sguazt 2014-09-02 10:23:15 +0200
  • 78560da5a0 [distributions] Hyper-Exponential: added a note for the different results between (Wolski et al.,2013) and ours implementation. Also, improved discussion on possible accuracy issues with MATLAB/Octave. sguazt 2014-09-02 09:55:29 +0200
  • 3c596733f8 [distributions] Hyper-Exponential: added example and doc from (Wolski et al.,2013) paper. sguazt 2014-09-01 23:49:32 +0200
  • 99854c724f [distributions] Hyper-Exponential: removed 'ArgT' type requirements for constructors taking 'std::initializer_list' as argument since no more used. Also fixed a typo: 'RealTypr' -> 'RealType'. sguazt 2014-09-01 21:31:39 +0200
  • 43de825473 [distributions] Hyper-Exponential: BOOST_MSVC -> _MSC_VER (as _MSC_VER is always defined for MS VS, whereas BOOST_MSVC isn’t defined until *after* the first call to boost/config.hpp). Also, added MSVC pragma 4389. sguazt 2014-09-01 21:25:11 +0200
  • 553ee67631 Change the header levels. jzmaddock 2014-09-01 19:47:51 +0100
  • f8e0a5524d Move code snippets into separate cpp file. jzmaddock 2014-09-01 19:18:12 +0100
  • 4a6cbc1135 Initializer-list constructors don't need to be templates - indeed it is better if they're not. jzmaddock 2014-09-01 18:14:35 +0100
  • 4cf89d8d03 Remove implementation details from docs. Add some construction examples. jzmaddock 2014-09-01 17:48:55 +0100
  • aba44eb4a5 Doc update jzmaddock 2014-09-01 12:15:43 +0100
  • f5cec49a60 [distributions] Hyper-Exponential: added include of 'iterator' for 'std::distance' and aesthetic changes. sguazt 2014-09-01 09:50:16 +0200
  • 13f360d0be [distributions] Hyper-exponential: expanded 'Applications' section, added 'Examples' section, and updated synopsys and reference with new constructors. sguazt 2014-08-31 23:24:08 +0200
  • 34e42a36c5 [distributions] Hyper-Exponential: added include file for macro BOOST_NO_CXX11_HDR_INITIALIZER_LIST and removed 'const\&' from 'std::initializer_list' (as from (Stroustrup,TCPL4e). sguazt 2014-08-31 23:22:15 +0200
  • 4d36418246 Merge branch 'hyper_exponential' into feature/hyperexponential_dist sguazt 2014-08-30 21:31:54 +0200
  • 60a6730fe2 Modify Marco's 1 and 2 arg constructors to use SFINAE to differentiate between iterators and ranges. Add a 1 arg initializer list constructor. Update tests accordingly. jzmaddock 2014-08-30 17:03:26 +0100
  • 8bb98342ab Merge branch 'hyper_exponential' into feature/hyperexponential_dist sguazt 2014-08-30 08:20:15 +0200
  • cc853b9b4b Merge branch 'feature/hyperexponential_dist' of https://github.com/sguazt/math into hyper_exponential jzmaddock 2014-08-29 18:56:44 +0100
  • 9cdbebb629 Regenerate SVG and PNG files to our spec. jzmaddock 2014-08-29 18:50:51 +0100
  • 62ee849eab [distributions] Hyper-Exponential: added more constructors and class construction test case. sguazt 2014-08-28 10:12:41 +0200
  • 41a20980fa Update docs. jzmaddock 2014-08-26 19:04:18 +0100
  • 08308ab945 Merge branch 'feature/hyperexponential_dist' of https://github.com/sguazt/math into hyper_exponential jzmaddock 2014-08-26 18:57:25 +0100
  • fa198a0b04 [distributions] Hyper-Exponential: clean-up. sguazt 2014-08-26 17:08:05 +0200
  • a8ac5aab96 [distributions] Hyper-Exponential: finalized doc. sguazt 2014-08-26 17:07:24 +0200
  • 2e7eede435 Add comment linking to discussion. jzmaddock 2014-08-25 17:04:52 +0100
  • 1d37f8ad9d Add extended tests for difficult cases from https://github.com/boostorg/math/pull/8 jzmaddock 2014-08-25 17:02:21 +0100
  • d8c97bec27 Add initializer_list support and tests. jzmaddock 2014-08-25 13:11:51 +0100
  • 2915adc0f8 Fix tolerance, add a missing L suffix on test data. jzmaddock 2014-08-25 10:26:37 +0100
  • c33e0ee2e2 [distributions] Hyper-Exponential: fixed test results according to Mathematica output when instead of decimal numbers we use fractions. sguazt 2014-08-25 10:53:27 +0200
  • c693510588 [distributions] Hyper-Exponential: use exponential's PDF in hyperexponential PDF. sguazt 2014-08-25 10:45:08 +0200
  • 4044b0dd2d Merged from branch 'hyper_exponential'. sguazt 2014-08-25 10:38:57 +0200
  • 5f61ec432d [distributions] Hyper-Exponential: fixed test results according to Mathematica test output where in place of decimal numbers we use the corresponding fractions. sguazt 2014-08-25 10:07:08 +0200
  • 0c0337a0df [distributions] Hyper-Exponential: Improved test unit to support long-double type. sguazt 2014-08-24 19:47:01 +0200
  • 90d2ebc13a Change test type list when there are no long double math functions. jzmaddock 2014-08-24 18:41:51 +0100
  • d424e2ef23 Fix some more warnings and enable tests for all the test types. jzmaddock 2014-08-24 18:40:21 +0100
  • b925b0c0e8 Add hyperexponential_distribution to concept checks, fix for warnings/bugs. jzmaddock 2014-08-24 15:21:36 +0100
  • dbcfe57869 [distributions] Hyper-Exponential: use the exponential distribution for PDF. sguazt 2014-08-24 14:47:17 +0200
  • ffc483f907 Up precision of tests. Fix some conceptual compiler errors in hyperexponential_distribution. jzmaddock 2014-08-24 09:29:11 +0100
  • 22b5c828ef [distributions] Hyper-Exponential: removed useless assertion (the check is already done in the 'check_dist' function. sguazt 2014-08-24 09:10:15 +0200
  • 678a1a7326 [distributions] Hyper-Exponential: forget to 'normalize' probability in constructor receiving iterators as arguments. sguazt 2014-08-24 09:09:25 +0200
  • fb835eb029 fix rounding errors Robin Eckert 2014-08-23 19:42:02 +0200
  • 81cfe69d32 add explicit test cases for rounding corner cases Robin Eckert 2014-08-23 19:31:08 +0200
  • 2b5ef4aa93 pull out for loop body of rounding test for later test Robin Eckert 2014-08-23 19:14:14 +0200
  • 4fbfc1f2ce [distributions] Hyper-exponential: increased tolerance (from 1e-3 to 1e-4). sguazt 2014-08-22 18:33:07 +0200
  • 0735d8177e [distributions] Hyper-exponential: range arguments to contructor should be passed by const-ref. sguazt 2014-08-22 18:32:22 +0200
  • 025046f307 [distributions] Hyper-exponential: preliminary version of documentation (still incomplete). sguazt 2014-08-22 18:31:10 +0200
  • 3621b083e2 [distributions] Hyper-Exponential: registered tests and fixed some test-related issue. sguazt 2014-08-22 16:37:35 +0200
  • 144db22c2f [distributions] Hyper-Exponential: solved 'unused parameter' warning in 'mode' function. sguazt 2014-08-22 15:06:12 +0200
  • 412bba6a24 [distributions] Added Hyper-Exponential distribution. sguazt 2014-08-22 15:01:23 +0200
  • 88f3295ce3 Merge pull request #5 from Flast/pr/freebsd jzmaddock 2014-08-19 17:51:34 +0100
  • 3c07a49aac Don't check long double capability for BOOST_CSTDFLOAT_xx. Kohei Takahashi 2014-08-15 14:38:12 +0000
  • 01ad085c82 Merge pull request #6 from danieljames/metadata jzmaddock 2014-08-18 17:50:38 +0100
  • 73304ec70e Add metadata file. Daniel James 2014-08-18 15:07:15 +0100
  • 3fe188da32 Remove all references to pow23_four_minus_pi: it's been removed, see also https://github.com/boostorg/math/pull/5 jzmaddock 2014-08-17 09:28:37 +0100
  • 60441c5d3a Add missing #includes, see https://github.com/boostorg/math/pull/5/files jzmaddock 2014-08-17 09:25:05 +0100
  • 97cdf3ca3a Disable some msvc warnings, see: d02ae84866 (commitcomment-7257997) jzmaddock 2014-08-04 19:11:53 +0100
  • 6e8145a076 Add code to profile changes to toms748_solve.hpp to see if their effect is beneficial. Change the heuristics used when the initial guess is really bad. Change example to return a fail-code when an error occurs. jzmaddock 2014-07-31 12:48:23 +0100
  • f813736794 Merge pull request #4 from MarcelRaad/patch-1 jzmaddock 2014-07-12 12:12:08 +0100
  • 7621f1e931 Remove redundant variable declarations Marcel Raad 2014-07-12 12:44:45 +0200
  • a3e353fdf5 Merge pull request #3 from rogiervd/develop jzmaddock 2014-07-10 17:29:44 +0100
  • d9ba6ae8b0 Fix missing include Rogier van Dalen 2014-07-10 15:45:49 +0100
  • 1e8dfa9218 Merge branch 'develop' jzmaddock 2014-06-27 17:12:30 +0100
  • b6081dc422 Workaround broken --remove-test-targets option. jzmaddock 2014-06-27 17:11:12 +0100
  • dab440d484 Merge branch 'develop' jzmaddock 2014-06-15 13:10:00 +0100
  • 74dd2d0485 Update history. jzmaddock 2014-06-15 13:07:10 +0100
  • 866492cb02 remove dependency to tr1 - we don't really need it anymore. jzmaddock 2014-06-13 13:32:08 +0100
  • 2f65e6cb65 Fix typos. jzmaddock 2014-06-13 08:20:14 +0100
  • d658ccd043 Fix doc typo and regenerate jzmaddock 2014-06-12 18:52:03 +0100
  • ee8edd4c33 Fix up functions that were returning tools::max_value to call overflow_error instead. See https://svn.boost.org/trac/boost/ticket/10111. jzmaddock 2014-06-12 13:50:30 +0100
  • e20b44e8a9 Move headers that are mostly used for internal maintenance and testing into an "include_private" directory - this is to reduce dependencies on other Boost modules when using this library. jzmaddock 2014-06-09 16:08:35 +0100
  • 09fceb2142 Merge branch 'develop' of https://github.com/boostorg/math into develop jzmaddock 2014-05-28 13:25:10 +0100
  • 7cb3316d06 Fix for 106-bit "double double" types. jzmaddock 2014-05-28 13:24:40 +0100
  • 0896652d2c Merge pull request #1 from Flast/pr/missing_header jzmaddock 2014-05-27 08:50:12 +0100
  • c50b5a8bcc Fix missing header Kohei Takahashi 2014-05-27 11:07:23 +0900
  • a29a74bdaf Add needed include to config.hpp, fix runtime checks under valgrind in erf_inv initialization, see https://svn.boost.org/trac/boost/ticket/10005 jzmaddock 2014-05-26 19:14:49 +0100
  • ab6cc524dd Fix Halley iteration to work when derivative is zero, even though the second derivative is not, see https://svn.boost.org/trac/boost/ticket/10046. jzmaddock 2014-05-25 15:35:08 +0100
  • e6996e1188 Fix round and trunc functions to work with integer arguments, see https://svn.boost.org/trac/boost/ticket/10066. jzmaddock 2014-05-24 09:47:21 +0100
  • 5a9688e4ef Apply fix from https://svn.boost.org/trac/boost/ticket/9884 jzmaddock 2014-04-14 15:49:43 +0100
  • 501fa2ea38 Merge branch 'develop' of https://github.com/boostorg/math into develop jzmaddock 2014-04-10 10:40:07 +0100
  • ca866ccff6 Apply https://svn.boost.org/trac/boost/ticket/9865 jzmaddock 2014-04-10 10:39:46 +0100
  • 582e972d18 Merge branch 'develop' of https://github.com/boostorg/math into develop pabristow 2014-04-08 18:12:07 +0100
  • c05eb89f02 Removed test for zztest_max_digits10 as failing inexplicably for VS 12 only on teeks99 (passes locally) pabristow 2014-04-08 18:11:04 +0100