b471723bd1Fix 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
d1d6d5b063Fix 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
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
321d8f2edaMerge branch 'hyper_exponential' into develop
jzmaddock
2014-09-08 18:12:52 +0100
17e4f40fceRevert "[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
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
f73ecae7f5Add 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
bc77596f23Improve 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
671cd12ee4Regen 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
553ee67631Change the header levels.
jzmaddock
2014-09-01 19:47:51 +0100
f8e0a5524dMove code snippets into separate cpp file.
jzmaddock
2014-09-01 19:18:12 +0100
4a6cbc1135Initializer-list constructors don't need to be templates - indeed it is better if they're not.
jzmaddock
2014-09-01 18:14:35 +0100
4cf89d8d03Remove implementation details from docs. Add some construction examples.
jzmaddock
2014-09-01 17:48:55 +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
4d36418246Merge branch 'hyper_exponential' into feature/hyperexponential_dist
sguazt
2014-08-30 21:31:54 +0200
60a6730fe2Modify 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
8bb98342abMerge branch 'hyper_exponential' into feature/hyperexponential_dist
sguazt
2014-08-30 08:20:15 +0200
d8c97bec27Add initializer_list support and tests.
jzmaddock
2014-08-25 13:11:51 +0100
2915adc0f8Fix 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
4044b0dd2dMerged 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
90d2ebc13aChange test type list when there are no long double math functions.
jzmaddock
2014-08-24 18:41:51 +0100
d424e2ef23Fix some more warnings and enable tests for all the test types.
jzmaddock
2014-08-24 18:40:21 +0100
b925b0c0e8Add 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
ffc483f907Up 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
fb835eb029fix rounding errors
Robin Eckert
2014-08-23 19:42:02 +0200
81cfe69d32add explicit test cases for rounding corner cases
Robin Eckert
2014-08-23 19:31:08 +0200
2b5ef4aa93pull out for loop body of rounding test for later test
Robin Eckert
2014-08-23 19:14:14 +0200
6e8145a076Add 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
f813736794Merge pull request #4 from MarcelRaad/patch-1
jzmaddock
2014-07-12 12:12:08 +0100
e20b44e8a9Move 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