2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-28 07:22:12 +00:00
Commit Graph

1120 Commits

Author SHA1 Message Date
sguazt
fa198a0b04 [distributions] Hyper-Exponential: clean-up. 2014-08-26 17:08:05 +02:00
sguazt
c693510588 [distributions] Hyper-Exponential: use exponential's PDF in hyperexponential PDF. 2014-08-25 10:45:08 +02:00
jzmaddock
d424e2ef23 Fix some more warnings and enable tests for all the test types. 2014-08-24 18:40:21 +01:00
jzmaddock
b925b0c0e8 Add hyperexponential_distribution to concept checks, fix for warnings/bugs. 2014-08-24 15:21:36 +01:00
jzmaddock
ffc483f907 Up precision of tests.
Fix some conceptual compiler errors in hyperexponential_distribution.
2014-08-24 09:29:11 +01:00
sguazt
0735d8177e [distributions] Hyper-exponential: range arguments to contructor should be passed by const-ref. 2014-08-22 18:32:22 +02:00
sguazt
3621b083e2 [distributions] Hyper-Exponential: registered tests and fixed some test-related issue. 2014-08-22 16:37:35 +02:00
sguazt
144db22c2f [distributions] Hyper-Exponential: solved 'unused parameter' warning in 'mode' function. 2014-08-22 15:06:12 +02:00
sguazt
412bba6a24 [distributions] Added Hyper-Exponential distribution. 2014-08-22 15:01:23 +02:00
Kohei Takahashi
3c07a49aac Don't check long double capability for BOOST_CSTDFLOAT_xx.
For example IA-32, those macros suggest long double as 80-bit floating
  point type, however some math runtime implementations are broken for
  long doublle even if supported by compiler (e.g. FreeBSD 9, ...).

Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-08-18 05:13:00 +09:00
jzmaddock
97cdf3ca3a Disable some msvc warnings, see: d02ae84866 (commitcomment-7257997) 2014-08-04 19:11:53 +01:00
jzmaddock
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.
2014-07-31 12:48:23 +01:00
Marcel Raad
7621f1e931 Remove redundant variable declarations
... to silence compiler warnings about variable shadowing.
2014-07-12 12:44:45 +02:00
Rogier van Dalen
d9ba6ae8b0 Fix missing include 2014-07-10 15:45:49 +01:00
jzmaddock
866492cb02 remove dependency to tr1 - we don't really need it anymore. 2014-06-13 13:32:08 +01:00
jzmaddock
2f65e6cb65 Fix typos. 2014-06-13 08:20:14 +01:00
jzmaddock
ee8edd4c33 Fix up functions that were returning tools::max_value to call overflow_error instead.
See https://svn.boost.org/trac/boost/ticket/10111.
2014-06-12 13:50:30 +01:00
jzmaddock
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. 2014-06-09 16:08:35 +01:00
jzmaddock
09fceb2142 Merge branch 'develop' of https://github.com/boostorg/math into develop 2014-05-28 13:25:10 +01:00
jzmaddock
7cb3316d06 Fix for 106-bit "double double" types. 2014-05-28 13:24:40 +01:00
Kohei Takahashi
c50b5a8bcc Fix missing header
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-05-27 11:07:23 +09:00
jzmaddock
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 2014-05-26 19:14:49 +01:00
jzmaddock
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. 2014-05-25 15:35:08 +01:00
jzmaddock
e6996e1188 Fix round and trunc functions to work with integer arguments, see https://svn.boost.org/trac/boost/ticket/10066. 2014-05-24 09:47:21 +01:00
jzmaddock
5a9688e4ef Apply fix from https://svn.boost.org/trac/boost/ticket/9884 2014-04-14 15:49:43 +01:00
jzmaddock
0c01f682eb Fix some corner cases in negative_binomial_distribution, see https://svn.boost.org/trac/boost/ticket/9834 2014-04-06 11:59:10 +01:00
jzmaddock
88b1695b58 More tentative apple fixes. 2014-04-04 17:20:09 +01:00
jzmaddock
1c1ae42e6e Tentative fix for more clang/apple failures. 2014-04-04 17:15:19 +01:00
jzmaddock
9199b09304 Fix missing policy parameter in some SF forwarding calls. See https://svn.boost.org/trac/boost/ticket/9833. 2014-04-04 15:08:27 +01:00
jzmaddock
2d0d36d865 Provide a further customization point for constants initialization (to allow for explicit construction). 2014-04-02 16:47:36 +01:00
jzmaddock
41fb7e1c91 Tentative fix for clang/libc++ on Apple issue. 2014-03-31 18:47:13 +01:00
jzmaddock
a0ad3d8764 Add some static casts to avoid C++11 errors in initializer lists. 2014-03-28 18:15:59 +00:00
jzmaddock
fa1896fbc4 Make sure the forward declarations get included before the real definitions in all headers. 2014-03-27 09:17:33 +00:00
jzmaddock
ef123b3504 Fix GCC release mode failures in test_next.cpp by explicitly testing SSE2 settings in next.hpp. 2014-03-22 19:16:36 +00:00
jzmaddock
4087c44efd Fix random number usage in the post-TR1 world. 2014-03-21 12:11:49 +00:00
jzmaddock
200f384c14 Tentative fix for gcc-4.7 and earlier failures. 2014-03-21 11:36:57 +00:00
jzmaddock
6bddb5be85 Merge branch 'cstdfloat' into develop
Conflicts:
	doc/overview/roadmap.qbk
	example/cstdfloat_example.cpp
	include/boost/cstdfloat.hpp
	test/test_gamma.cpp
	test/test_gamma.hpp
2014-03-19 13:38:42 +00:00
jzmaddock
296173dbe2 Some mostly cosmetic changes to the cstdfloat docs. 2014-03-17 16:58:58 +00:00
jzmaddock
cae085c873 More fixes for factorials and gamma function ratios from Rocco Romeo. 2014-03-16 09:59:11 +00:00
jzmaddock
3e338ec355 Fix some corner cases in tgamma_delta_ratio, with thanks to Rocco Romeo. 2014-03-14 18:18:22 +00:00
jzmaddock
c3e530716a Merge branch 'cstdfloat' of https://github.com/boostorg/math into cstdfloat 2014-03-13 18:43:28 +00:00
jzmaddock
80894e9025 Fix errors in corner cases of rising/falling factorials and gamma ratios raised by Rocco Romeo. 2014-03-13 16:30:10 +00:00
ckormanyos
849853f337 In <cstdfloat>, correct (again) the handling of cancellation errors in 128-bit sinh(x). 2014-03-12 21:56:08 +01:00
ckormanyos
aae19f5f08 In <cstdfloat>, correct the handling of cancellation errors in 128-bit sinh(x). 2014-03-12 21:23:44 +01:00
ckormanyos
9876cecd8f In <cstdfloat>, properly handle cancellation errors in 128-bit sinh(x). 2014-03-12 20:26:13 +01:00
jzmaddock
c9d65cfa1f Add basic tests for __float128 functions.
Fix one complex function.
Add factorials test.
2014-03-10 18:25:08 +00:00
jzmaddock
9f8ffee4b7 Disable some native operators when --fast-math or the Intel compiler is in use as they simply don't work in that environment, see https://svn.boost.org/trac/boost/ticket/9748#comment:3 2014-03-10 09:40:51 +00:00
jzmaddock
b4e1fe2375 Fix some compile errors in instrumentation code and extend a little into the Bessel functions. 2014-03-10 09:39:38 +00:00
jzmaddock
52a2b9edc3 Make sure all the error handlers return a result and don't just rely on an exception being thrown. 2014-03-05 09:13:26 +00:00
ckormanyos
8fd67e5edf In <boost/cstdfloat.hpp>, improve clarity of a compiler switch and make better comments. 2014-03-01 23:45:15 +01:00