|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59502 - in sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit: example src
From: erwann.rogard_at_[hidden]
Date: 2010-02-04 19:50:32
Author: e_r
Date: 2010-02-04 19:50:31 EST (Thu, 04 Feb 2010)
New Revision: 59502
URL: http://svn.boost.org/trac/boost/changeset/59502
Log:
m
Text files modified:
sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/example/random.cpp | 5 +++--
sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/src/main.cpp | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
Modified: sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/example/random.cpp
==============================================================================
--- sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/example/random.cpp (original)
+++ sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/example/random.cpp 2010-02-04 19:50:31 EST (Thu, 04 Feb 2010)
@@ -71,15 +71,16 @@
{
typedef math::gamma_distribution<val_> dist_;
const val_ shape = 1.0;
- const val_ scale = 1.0;
+ const val_ scale = 0.5;
dist_ d( shape, scale );
+ dist_ d1( shape + 0.01, scale );
os << d << std::endl;
BOOST_AUTO(
vg,
dist::make_random_generator(urng,d)
);
- check(n_loops,n1,n2,d,vg,os);
+ check(n_loops,n1,n2,d1,vg,os);
}
{
typedef math::normal_distribution<val_> dist_;
Modified: sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/src/main.cpp
==============================================================================
--- sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/src/main.cpp (original)
+++ sandbox/statistics/distribution_toolkit/libs/statistics/detail/distribution_toolkit/src/main.cpp 2010-02-04 19:50:31 EST (Thu, 04 Feb 2010)
@@ -15,7 +15,7 @@
example_distribution_function(std::cout);
example_random(std::cout);
- test_functions<double>(std::cout);
+ test_functions<double>(std::cout);
return 0;
}
\ No newline at end of file
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk