2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-29 07:42:11 +00:00
Commit Graph

689 Commits

Author SHA1 Message Date
Steven Watanabe
3524499fc0 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
f11d1c3c2b Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
John Maddock
0ad713690d Fix bug in special-case handling of ibeta_inv.
Fix concept test failures with mpfr_class in legendre.hpp and non_central_t.hpp.
Fixes #5015.

[SVN r67469]
2010-12-27 18:37:15 +00:00
Paul A. Bristow
9d8407f38d Add comment after assert for integer template type
[SVN r67362]
2010-12-20 15:16:19 +00:00
Paul A. Bristow
595c61e976 Add assert (and comment) for integer template type
[SVN r67361]
2010-12-20 15:14:31 +00:00
John Maddock
309e2c3ec5 Add support for "mpreal" wrapper for mpfr.
Add concept check for mpreal type.
Add previously missing doc file.
Fix type promotion rules to do the right thing when one type is a class type that's implicitly convertible to a real.

[SVN r67282]
2010-12-17 16:04:51 +00:00
John Maddock
0bfae472d5 Fix min/max usage.
[SVN r67279]
2010-12-16 18:37:50 +00:00
John Maddock
555f3d6736 Improve performance of non-central T by simplifying the arithmetic where possible.
Change error handlers to pass the target type down to "rounding errors".
Change the rounding error handlers to return a well defined value (the maximum representable value in the target type).
Update and complete docs on rounding errors.
Fix typo in test/test_beta_dist.cpp.
Regenerate the docs.
Remove illegal comment from test_constants.cpp.
Fixes #4977.

[SVN r67231]
2010-12-14 19:22:52 +00:00
Paul A. Bristow
1495ca1ccc Removed inverse_uniform.hpp
[SVN r67215]
2010-12-13 16:38:06 +00:00
Paul A. Bristow
7c13ff9124 Removed inverse_uniform.hpp
[SVN r67214]
2010-12-13 16:37:33 +00:00
Paul A. Bristow
90fcebc87b use raise_overflow error in place of return NaN
[SVN r67213]
2010-12-13 16:36:46 +00:00
Paul A. Bristow
6d604ab6a9 use raise_overflow error in place of return NaN
[SVN r67212]
2010-12-13 16:35:59 +00:00
John Maddock
870a1e233b Suppress warnings from external headers.
[SVN r67149]
2010-12-10 17:43:38 +00:00
John Maddock
8177da58be Add non-functional stub versions of the skewness and kurtosis to the non-central beta.
Update tests accordingly, and suppress some compiler warnings.

[SVN r66986]
2010-12-03 17:55:00 +00:00
John Maddock
7ff88c69f1 Added concept checks for new distros, and fixed resulting errors.
Added mean and variance to non-central beta.

[SVN r66985]
2010-12-03 16:23:55 +00:00
Paul A. Bristow
bb7b3d6540 Enabled mean, variance ... for dotnetexample (TODO return NaN?)
[SVN r66957]
2010-12-01 18:48:12 +00:00
Paul A. Bristow
68e1194c63 disable 4512
[SVN r66956]
2010-12-01 18:47:46 +00:00
Paul A. Bristow
274028b383 comment
[SVN r66892]
2010-11-30 14:37:28 +00:00
Paul A. Bristow
1b63ffe8f0 Corrected missing casts int 0 to RealType
[SVN r66891]
2010-11-30 14:36:45 +00:00
Paul A. Bristow
4680ece7af using boost/math/tools/tuple.hpp instead.
[SVN r66822]
2010-11-28 15:03:13 +00:00
Paul A. Bristow
bab0f2ce24 Changed make_tuple from std::tr1:: to boost::math
qualified numeric_limits with std.

[SVN r66797]
2010-11-27 16:11:27 +00:00
Paul A. Bristow
aaaad79bca Changed make_tuple from std::tr1:: to boost::math
[SVN r66793]
2010-11-27 16:00:46 +00:00
Paul A. Bristow
93670a3942 removed diagnostics
[SVN r66766]
2010-11-26 10:28:58 +00:00
Paul A. Bristow
d0c5796bce Removed wald (now called inverse_gaussian
[SVN r66754]
2010-11-25 16:44:14 +00:00
Paul A. Bristow
c0a3413240 Removed inverse_normal
[SVN r66751]
2010-11-25 12:11:19 +00:00
Paul A. Bristow
ef4dbab713 Update for new distributions
[SVN r66731]
2010-11-24 16:53:25 +00:00
Paul A. Bristow
4fbea7ba6f Added new handling check.
[SVN r66730]
2010-11-24 16:51:36 +00:00
Paul A. Bristow
523e4d78f9 Corrections
[SVN r66729]
2010-11-24 16:50:41 +00:00
Paul A. Bristow
a3d2de43de Added new distributions.
[SVN r66728]
2010-11-24 16:50:06 +00:00
Paul A. Bristow
ec88511ead Update for new constants
[SVN r66727]
2010-11-24 16:48:36 +00:00
Paul A. Bristow
2726a04151 Update for new distributions
[SVN r66726]
2010-11-24 16:47:58 +00:00
John Maddock
ded3b78a05 Update distribution concept checks to test ad-hoc member functions as well as the generic ones.
Fix typo in docs and regenerate.

[SVN r66689]
2010-11-22 19:00:55 +00:00
John Maddock
aee7090820 Fixes #4879.
[SVN r66685]
2010-11-22 16:31:42 +00:00
Bryce Adelstein-Lelbach
6d780cab92 Added a detail header for fenv. Please use boost/detail/fenv.hpp in Boost code
to avoid problems with Clang/glibc.



[SVN r66458]
2010-11-08 17:10:25 +00:00
Bryce Adelstein-Lelbach
c78863943a Clang hand-holding, mostly for issues caused by Clang defining GCC macros.
[SVN r66442]
2010-11-07 20:05:04 +00:00
John Maddock
022bb7b8f1 Tentative fix for WinCE failures.
[SVN r66070]
2010-10-18 11:19:06 +00:00
John Maddock
addb71354b Add more workaround code for numeric underflow/overflow.
[SVN r65714]
2010-10-01 15:54:03 +00:00
John Maddock
bbc5edfe1c Add concept checks for new distributions.
Fix Linux gcc failures for new distributions.

[SVN r65694]
2010-09-30 17:16:14 +00:00
Paul A. Bristow
2707de07b1 checked with better tests.
[SVN r65658]
2010-09-29 08:57:51 +00:00
Paul A. Bristow
1e0c9feaf1 layout and comments etc
[SVN r65657]
2010-09-29 08:56:06 +00:00
John Maddock
9c9e9eecef Fix integer argument promotion, to simplify code and suppress warnings.
[SVN r65631]
2010-09-27 14:36:18 +00:00
Ralf W. Grosse-Kunstleve
49a9039689 boost/math/distributions/inverse_chi_squared.hpp: bug fix (compilation errors with g++ 4)
[SVN r65516]
2010-09-21 16:03:23 +00:00
Paul A. Bristow
8d2cfeada9 Add inverse chi square distribution
[SVN r65485]
2010-09-20 15:52:41 +00:00
John Maddock
b85756d2cc Improve error handling and fix Linux errors.
[SVN r65444]
2010-09-17 18:13:45 +00:00
Paul A. Bristow
05bd2c0043 Add inverse_chi_squared_distribution to fwd list
[SVN r65425]
2010-09-15 15:40:44 +00:00
Paul A. Bristow
5c354f4354 1st draft
[SVN r65424]
2010-09-15 15:39:43 +00:00
Paul A. Bristow
c8f818f4b8 added x = 0 special case. Example runs OK. Need to rebuild trunk libs to test.
[SVN r65329]
2010-09-07 13:57:12 +00:00
John Maddock
0c633f0b6e Change the use of tuples, so that we use std::tuple when available.
Fix bug in calculation of initial guess in the incomplete gamma inverse.
Fix illegal comment in inverse_gamma.hpp source file.
Update docs to reflect tuple changes.
Regenerate docs.
Add Jamfile for the tools directory and make sure everything still builds cleanly.

[SVN r65320]
2010-09-06 15:13:23 +00:00
Paul A. Bristow
5dffa5f7ad Add several new distributions
[SVN r65122]
2010-08-30 09:02:02 +00:00
John Maddock
434414f58e Added workaround for Intel compiler, which has sporadic issues with fpclassify on Linux.
Fixes #4592.

[SVN r65015]
2010-08-26 12:29:12 +00:00