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

311 Commits

Author SHA1 Message Date
John Maddock
bb1931edec Changed "policy" directory to "policies" to match the namespace name.
[SVN r38780]
2007-08-20 12:43:32 +00:00
John Maddock
9cf861c275 Hopefully fixed Intel-regression in release mode: if the data points are very close to linear the cubic interpolation may fail and generate a NaN in highly optimised code.
[SVN r38778]
2007-08-20 09:31:28 +00:00
John Maddock
934c402c14 Fixed some GCC-4.2 warnings in unchecked_factorial.hpp.
Fixed some Intel-10 compile errors in error_handling.hpp.
Updated performance/main.cpp to print configuration info.

[SVN r38762]
2007-08-19 16:37:56 +00:00
Paul A. Bristow
15d515f8b8 layout & comments only.
[SVN r38719]
2007-08-16 14:18:05 +00:00
Paul A. Bristow
8bdb25f7c7 More comments changed - and commented-out an unreachable code warning suppression - believed not now needed.
[SVN r38718]
2007-08-16 14:11:07 +00:00
John Maddock
e6a8118e0c Fixed a few more regressions, and quashed a few warnings.
[SVN r38712]
2007-08-16 12:22:22 +00:00
John Maddock
6d5fb5a5d6 Updated include tests, to instantiate the respective code. Fixed any errors that cropped up and suppressed rather a lot of warnings.
Updated docs as well.

[SVN r38692]
2007-08-15 18:31:18 +00:00
John Maddock
56852c989f Fix gcc-mw compilation.
Added performance tuning options to performance app.

[SVN r38660]
2007-08-14 16:29:39 +00:00
John Maddock
06f22e5d79 Reinstated tools::digits<>(): it has it's uses as a default backup used by policy::digits<>(), and makes the conceptual requirement a lot easier.
[SVN r38649]
2007-08-14 10:38:54 +00:00
Paul A. Bristow
09ade40af2 Correction to comment, now has a typedef for binomial_distribution. No change to code.
[SVN r38610]
2007-08-12 14:58:34 +00:00
John Maddock
c3ffe27f16 Changed the name of some of the discrete quantile policies, and more or less finished the policy tutorial.
[SVN r38609]
2007-08-12 09:24:08 +00:00
John Maddock
e2e94afe64 Minor fix to previous policy update.
Lots of warning suppression.
Updated docs, and added the start of a policy tutorial.

[SVN r38415]
2007-08-03 13:14:29 +00:00
Paul A. Bristow
cb82bea11e Paul's Big policy revison
[SVN r38413]
2007-08-03 10:13:47 +00:00
John Maddock
2c4e1860f0 Fixed gamma-function regressions.
Tidied up function calls in t_distribution_inv.hpp.
Tidied up casts in erf.hpp

[SVN r38396]
2007-08-02 12:06:13 +00:00
John Maddock
fa15867c49 Quashed a few warnings.
[SVN r7592]
2007-07-30 12:56:13 +00:00
Paul A. Bristow
1e4265c829 warn 4100 unref formal parameter supressed by making name a comment
[SVN r7584]
2007-07-30 11:10:16 +00:00
Paul A. Bristow
e19d19ec66 Suppressed wqarning loss of accuracy conversion to T valuetype by explicit T()
result = T(z * 1.125 + z * 0.003379167095512573896158903121545171688L);

[SVN r7583]
2007-07-30 09:31:20 +00:00
Douglas Gregor
d39e962ee0 Fix eol-style and mime-types
[SVN r7564]
2007-07-27 00:28:00 +00:00
Paul A. Bristow
f1f6a22a6a warn 4100 unref formal parameter supressed by making name a comment
[SVN r7551]
2007-07-26 16:14:11 +00:00
Paul A. Bristow
e543368b8d suppressed 4100 unref formal parameter
after over-enthusiastic changing name(s) to comment.

[SVN r7550]
2007-07-26 16:12:32 +00:00
John Maddock
e602f59025 Added typedef to binomial: there is no longer any name clash with the "binomial_coefficient" function.
Updated distribution docs to bring them into synch with the policy based code.  Still a few "TODO" sections at present.

[SVN r7545]
2007-07-26 12:50:29 +00:00
Paul A. Bristow
2a64206d94 added copyright and a few comments
[SVN r7544]
2007-07-26 11:31:17 +00:00
John Maddock
cbb289228f Mostly fixed real_concept failures on HP-UX.
[SVN r7538]
2007-07-25 18:05:46 +00:00
John Maddock
472614473a Merged policy code.
[SVN r7536]
2007-07-25 11:51:46 +00:00
Paul A. Bristow
2d15d4c712 layout only
[SVN r7426]
2007-07-14 11:22:18 +00:00
John Maddock
9d6b58927e Added VC7.1 fix so that the header interacts OK with Boost.Rational.
[SVN r7335]
2007-07-02 09:46:52 +00:00
Paul A. Bristow
1454c06994 T x = 0; // Set to a safe zero to avoid a
// MSVC 2005 warning C4701: potentially uninitialized local variable 'x' used
   // But code inspection appears to ensure that x IS assigned whatever the code path.


[SVN r7171]
2007-06-26 14:01:06 +00:00
Paul A. Bristow
2ca7a75bf3 Warning suppressed by comment out unused parameter name
[SVN r7170]
2007-06-26 13:59:16 +00:00
Paul A. Bristow
113f82d441 Control of compile options via macro - to be superseded by policy
[SVN r7169]
2007-06-26 13:42:30 +00:00
John Maddock
6972d2d32b Fix for failing release mode test.
[SVN r7110]
2007-06-20 15:23:10 +00:00
John Maddock
e74e2ffe1d Added some boost::math:: qualifiers to disambiguate between ::expm1 and boost::math::expm1.
[SVN r7084]
2007-06-17 15:43:56 +00:00
Douglas Gregor
f98b790432 Set MIME types and end-of-line styles globally
[SVN r7018]
2007-06-12 22:09:40 +00:00
John Maddock
cd9dfe5139 Performance optimisations: added Cornish-Fisher style expansions to give much better initial approximations to the inverses. Optimised Student's T quantile so that only one Halley step is taken at double precision.
[SVN r4489]
2007-06-07 17:42:22 +00:00
John Maddock
75a49073f6 Added needed using declaration.
[SVN r4486]
2007-06-07 17:37:23 +00:00
John Maddock
8b93bb6c96 Added acos, and changed asin to use Halley iteration rather than Newton Raphson.
[SVN r4485]
2007-06-07 17:36:31 +00:00
John Maddock
8b8ad2cd07 Oops, previous commit on this file introduced a bug, this is the fix.
[SVN r4484]
2007-06-07 17:34:19 +00:00
John Maddock
2f783813ba Bug Fix: If we reach a denormalised result and it's still not small enough, return zero as we're not going to find a better value.
[SVN r4452]
2007-06-05 09:20:23 +00:00
John Maddock
23b52e6a89 Bug fix: fancy logic only works for arguments > 1, just use straight sin/cos evaluation for small args.
[SVN r4451]
2007-06-05 09:15:22 +00:00
John Maddock
6e7d2e4984 Bug fix: denormalised values are just as bad for the subsequent logic as a zero.
[SVN r4450]
2007-06-05 09:14:03 +00:00
John Maddock
b548cab386 Remove unneeded ; which trips up gcc-4.x
[SVN r4413]
2007-06-01 12:41:47 +00:00
John Maddock
882f26f04f Added "inline" specifier to lots of functions that really should always have had it....
[SVN r4227]
2007-05-24 17:36:46 +00:00
John Maddock
4bdf0dd8f0 Added alternative polynomial and rational function evaluation methods.
Added new optimisation config options (still need documenting).
Tidied up use of instrumentation code so they all use BOOST_MATH_INSTRUMENT now.
Various tweaks to inverse incomplete beta and gamma to reduce number of iterations.
Changed incomplete gamma and beta to calculate derivative at the same time as the function (performance optimisation for inverses).
Fixed MinGW failures.
Refactored and extended rational / polynomial test cases.

[SVN r4172]
2007-05-22 08:52:48 +00:00
Paul A. Bristow
6d0fab3dc7 Corrected push warning disable and added missing pop at end.
[SVN r4049]
2007-05-14 10:47:36 +00:00
John Maddock
655956d4a0 Fix for VC7.1
[SVN r3996]
2007-05-03 11:12:03 +00:00
John Maddock
cb0194297b Adjusted Mac OS error levels.
Fixed up pareto failures.
Added some debugging code to track remaining Mac OS failures.


[SVN r3926]
2007-04-11 11:44:43 +00:00
Paul A. Bristow
d5144d43e0 Aded comments
[SVN r3813]
2007-03-28 11:46:08 +00:00
Paul A. Bristow
acd36eaf15 corrected missing explicit conversion to RealType exposed by concept check.
[SVN r3812]
2007-03-28 11:44:55 +00:00
Paul A. Bristow
ec1691f1c6 warning suppressed by comment out unreferenced parameter
[SVN r3806]
2007-03-20 19:18:06 +00:00
Paul A. Bristow
7bc8929bed Message corrected
[SVN r3805]
2007-03-20 19:09:45 +00:00
John Maddock
c1b675c2e4 Get the number of digits right on MacOS X.
[SVN r3798]
2007-03-19 18:48:49 +00:00