Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67231 - in trunk: boost/math/distributions boost/math/policies boost/math/special_functions libs/math/doc/sf_and_dist libs/math/doc/sf_and_dist/html libs/math/doc/sf_and_dist/html/math_toolkit libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders libs/math/doc/sf_and_dist/html/math_toolkit/dist libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nccs_eg libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/normal_example libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg libs/math/doc/sf_and_dist/html/math_toolkit/extern_c libs/math/doc/sf_and_dist/html/math_toolkit/main_overview libs/math/doc/sf_and_dist/html/math_toolkit/perf libs/math/doc/sf_and_dist/html/math_toolkit/policy libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial libs/math/doc/sf_and_dist/html/math_toolkit/special libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint libs/math/doc/sf_and_dist/html/math_toolkit/special/expint libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper libs/math/doc/sf_and_dist/html/math_toolkit/special/powers libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc libs/math/doc/sf_and_dist/html/math_toolkit/special/zetas libs/math/doc/sf_and_dist/html/math_toolkit/status libs/math/doc/sf_and_dist/html/math_toolkit/toolkit libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1 libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2 libs/math/doc/sf_and_dist/html/math_toolkit/using_udt libs/math/doc/sf_and_dist/html/math_toolkit/utils libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding libs/math/example libs/math/test
From: john_at_[hidden]
Date: 2010-12-14 14:23:29


Author: johnmaddock
Date: 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
New Revision: 67231
URL: http://svn.boost.org/trac/boost/changeset/67231

Log:
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.
Text files modified:
   trunk/boost/math/distributions/non_central_beta.hpp | 43
   trunk/boost/math/distributions/non_central_t.hpp | 159 +
   trunk/boost/math/policies/error_handling.hpp | 28
   trunk/boost/math/special_functions/round.hpp | 8
   trunk/boost/math/special_functions/trunc.hpp | 8
   trunk/libs/math/doc/sf_and_dist/error_handling.qbk | 6
   trunk/libs/math/doc/sf_and_dist/html/index.html | 529 ++++----
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders.html | 13
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/implementation.html | 36
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/lanczos.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/refs.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/relative_error.html | 9
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/remez.html | 18
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist.html | 253 ++--
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref.html | 97
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dist_algorithms.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists.html | 91
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/bernoulli_dist.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/beta_dist.html | 24
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/binomial_dist.html | 82
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/cauchy_dist.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/chi_squared_dist.html | 16
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/exp_dist.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/extreme_dist.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/f_dist.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/gamma_dist.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/geometric_dist.html | 81
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/hypergeometric_dist.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_chi_squared_dist.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_gamma_dist.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_gaussian_dist.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/laplace_dist.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/logistic_dist.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/lognormal_dist.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_beta_dist.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_chi_squared_dist.html | 16
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_f_dist.html | 18
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_t_dist.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/negative_binomial_dist.html | 83
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/normal_dist.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/pareto.html | 15
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/poisson_dist.html | 64
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/rayleigh.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/students_t_dist.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/triangular_dist.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/uniform_dist.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/weibull_dist.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/nmp.html | 56
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/future.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut.html | 152 +-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/dist_params.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview.html | 21
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/complements.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/generic.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/headers.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/objects.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/parameters.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/summary.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/variates.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg.html | 126 +-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg.html | 19
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binom_conf.html | 5
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binom_size_eg.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binomial_coinflip_example.html | 265 +++-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binomial_quiz_example.html | 500 ++++++--
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/c_sharp.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg.html | 15
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_intervals.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_size.html | 5
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_test.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/dist_construct_eg.html | 336 +++--
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/error_eg.html | 144 +
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/f_eg.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_location_eg.html | 186 ++-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_mean_and_sd_eg.html | 682 +++++++----
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_scale_eg.html | 217 ++-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nag_library.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nccs_eg.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nccs_eg/nccs_power_eg.html | 2278 ++++++++++++++++++++-------------------
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg.html | 20
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/neg_binom_conf.html | 103 +
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/neg_binom_size_eg.html | 87
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/negative_binomial_example1.html | 653 +++++++----
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/negative_binomial_example2.html | 16
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/normal_example.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/normal_example/normal_misc.html | 578 ++++++---
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg.html | 26
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/paired_st.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_intervals.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_size.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_test.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/two_sample_students_t.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/c99.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/tr1.html | 518 +++++---
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/tr1_ref.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview.html | 40
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/FAQ.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/building.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/compilers_overview.html | 1073 +++++++++---------
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/config_macros.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/contact.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/directories.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/error_handling.html | 34
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/history1.html | 507 +++++---
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/intro.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/namespaces.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/navigation.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/perf_over.html | 70
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/pol_overview.html | 142 +-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/result_type.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/threads.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/tr1.html | 520 +++++---
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf.html | 18
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf/comp_compilers.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf/comparisons.html | 58
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf/getting_best.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf/interp.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf/perf_over.html | 70
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf/perf_test_app.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf/tuning.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy.html | 66
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_overview.html | 142 +-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref.html | 22
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/assert_undefined.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/discrete_quant_ref.html | 38
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/error_handling_policies.html | 30
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/internal_promotion.html | 16
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/iteration_pol.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/namespace_pol.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/pol_ref_ref.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/policy_defaults.html | 34
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/precision_pol.html | 20
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial.html | 38
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/ad_hoc_dist_policies.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/ad_hoc_sf_policies.html | 16
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/changing_policy_defaults.html | 145 +
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/namespace_policies.html | 248 ++-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/policy_tut_defaults.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/policy_usage.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/understand_dis_quant.html | 68
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/user_def_err_pol.html | 395 ++++--
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/what_is_a_policy.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special.html | 133 +-
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel.html | 20
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/bessel.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/bessel_over.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/mbessel.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/sph_bessel.html | 25
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_1.html | 34
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_2.html | 34
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_3.html | 38
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_carlson.html | 56
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_intro.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/expint.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/expint/expint_i.html | 29
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/expint/expint_n.html | 25
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials.html | 18
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_binomial.html | 19
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_double_factorial.html | 21
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_factorial.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_falling_factorial.html | 21
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_rising_factorial.html | 21
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/acosh.html | 19
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/asinh.html | 19
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/atanh.html | 19
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/inv_hyper_over.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers.html | 16
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/cbrt.html | 17
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/ct_pow.html | 27
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/expm1.html | 17
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/hypot.html | 15
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/log1p.html | 17
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/powm1.html | 17
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/sqrt1pm1.html | 17
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/beta_derivative.html | 21
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/beta_function.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/ibeta_function.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/ibeta_inv_function.html | 89 +
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf.html | 7
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf/error_function.html | 24
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf/error_inv.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma.html | 16
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/digamma.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/gamma_derivatives.html | 21
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/gamma_ratios.html | 32
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/igamma.html | 25
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/igamma_inv.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/lgamma.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/tgamma.html | 34
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/hermite.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/laguerre.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/legendre.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/sph_harm.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc/sinc_overview.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc/sinc_pi.html | 11
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc/sinhc_pi.html | 11
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/zetas.html | 4
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/zetas/zeta.html | 23
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/credits.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/history1.html | 507 +++++---
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/issues.html | 18
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit.html | 34
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1.html | 20
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/cf.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/constants.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/minima.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/rational.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/roots.html | 26
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/roots2.html | 47
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/series_evaluation.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/tuples.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/error_test.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/minimax.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/polynomials.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/test_data.html | 16
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals_overview.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt.html | 12
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/archetypes.html | 10
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/concepts.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/dist_concept.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/use_mpfr.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/use_ntl.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils.html | 30
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fpclass.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float.html | 14
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_advance.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_distance.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_next.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_prior.html | 6
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/nextafter.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding.html | 8
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/modf.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/round.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/trunc.html | 2
   trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/sign_functions.html | 6
   trunk/libs/math/example/policy_eg_8.cpp | 2
   trunk/libs/math/test/test_beta_dist.cpp | 2
   trunk/libs/math/test/test_constants.cpp | 2
   247 files changed, 8842 insertions(+), 6482 deletions(-)

Modified: trunk/boost/math/distributions/non_central_beta.hpp
==============================================================================
--- trunk/boost/math/distributions/non_central_beta.hpp (original)
+++ trunk/boost/math/distributions/non_central_beta.hpp 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -43,13 +43,25 @@
             T l2 = lam / 2;
             //
             // k is the starting point for iteration, and is the
- // maximum of the poisson weighting term:
+ // maximum of the poisson weighting term,
+ // note that unlike other similar code, we do not set
+ // k to zero, when l2 is small, as forward iteration
+ // is unstable:
             //
             int k = itrunc(l2);
             if(k == 0)
                k = 1;
- // Starting Poisson weight:
- T pois = gamma_p_derivative(T(k+1), l2, pol);
+ T pois;
+ if(k == 0)
+ {
+ // Starting Poisson weight:
+ pois = exp(-l2);
+ }
+ else
+ {
+ // Starting Poisson weight:
+ pois = gamma_p_derivative(T(k+1), l2, pol);
+ }
             if(pois == 0)
                return init_val;
             // recurance term:
@@ -124,10 +136,27 @@
             // maximum of the poisson weighting term:
             //
             int k = itrunc(l2);
+ T pois;
+ if(k <= 30)
+ {
+ //
+ // Might as well start at 0 since we'll likely have this number of terms anyway:
+ //
+ if(a + b > 1)
+ k = 0;
+ else if(k == 0)
+ k = 1;
+ }
             if(k == 0)
- k = 1;
- // Starting Poisson weight:
- T pois = gamma_p_derivative(T(k+1), l2, pol);
+ {
+ // Starting Poisson weight:
+ pois = exp(-l2);
+ }
+ else
+ {
+ // Starting Poisson weight:
+ pois = gamma_p_derivative(T(k+1), l2, pol);
+ }
             if(pois == 0)
                return init_val;
             // recurance term:
@@ -748,7 +777,7 @@
          RealType b = dist.beta();
          RealType d = dist.non_centrality();
          RealType apb = a + b;
- return exp(-d / 2) * a * detail::hypergeometric_2F2(1 + a, apb, a, 1 + apb, d / 2, Policy()) / apb;
+ return exp(-d / 2) * a * detail::hypergeometric_2F2<RealType, Policy>(1 + a, apb, a, 1 + apb, d / 2, Policy()) / apb;
       } // mean
 
       template <class RealType, class Policy>

Modified: trunk/boost/math/distributions/non_central_t.hpp
==============================================================================
--- trunk/boost/math/distributions/non_central_t.hpp (original)
+++ trunk/boost/math/distributions/non_central_t.hpp 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -41,20 +41,40 @@
             // maximum of the poisson weighting term:
             //
             int k = boost::math::itrunc(d2);
- // Starting Poisson weight:
- T pois = gamma_p_derivative(T(k+1), d2, pol)
- * tgamma_delta_ratio(T(k + 1), T(0.5f))
- * delta / constants::root_two<T>();
+ T pois;
+ if(k < 15)
+ {
+ // Since we'll likely need 30-40 terms anyway, start from zero
+ // since this simplifies the arithmetic, don't go too overboard though
+ // as this is the *unstable* direction:
+ k = 0;
+ // Starting Poisson weight:
+ pois = exp(-d2) * 2 / constants::root_pi<T>();
+ pois *= delta / constants::root_two<T>();
+ }
+ else
+ {
+ // Starting Poisson weight:
+ pois = gamma_p_derivative(T(k+1), d2, pol)
+ * tgamma_delta_ratio(T(k + 1), T(0.5f))
+ * delta / constants::root_two<T>();
+ }
             if(pois == 0)
                return init_val;
- // Recurance term:
- T xterm;
- // Starting beta term:
- T beta = x < y
- ? detail::ibeta_imp(T(k + 1), T(n / 2), x, pol, false, true, &xterm)
- : detail::ibeta_imp(T(n / 2), T(k + 1), y, pol, true, true, &xterm);
-
- xterm *= y / (n / 2 + k);
+ T xterm, beta;
+ // Recurrance & starting beta terms:
+ if(k == 0)
+ {
+ beta = -boost::math::powm1(y, n / 2, pol);
+ xterm = beta > 0.5f ? pow(y, n / 2) : 1 - beta;
+ }
+ else
+ {
+ beta = x < y
+ ? detail::ibeta_imp(T(k + 1), T(n / 2), x, pol, false, true, &xterm)
+ : detail::ibeta_imp(T(n / 2), T(k + 1), y, pol, true, true, &xterm);
+ xterm *= y / (n / 2 + k);
+ }
             T poisf(pois), betaf(beta), xtermf(xterm);
             T sum = init_val;
             if((xterm == 0) && (beta == 0))
@@ -111,66 +131,89 @@
             // maximum of the poisson weighting term:
             //
             int k = boost::math::itrunc(d2);
+ if(k < 30)
+ {
+ // We typically need around 40 terms so may as well start at 0
+ // and gain faster computation of starting conditions:
+ k = 0;
+ }
             // Starting Poisson weight:
- T pois = gamma_p_derivative(T(k+1), d2, pol)
- * tgamma_delta_ratio(T(k + 1), T(0.5f))
- * delta / constants::root_two<T>();
+ T pois;
+ if(k == 0)
+ {
+ pois = exp(-d2) * 2 / constants::root_pi<T>();
+ pois *= delta / constants::root_two<T>();
+ }
+ else if((k < (int)(max_factorial<T>::value)) && (d2 < tools::log_max_value<T>()) && (log(d2) * k < tools::log_max_value<T>()))
+ {
+ //
+ // For small k we can optimise this calculation by using
+ // a simpler reduced formula:
+ //
+ pois = exp(-d2);
+ pois *= pow(d2, static_cast<T>(k));
+ pois /= boost::math::tgamma(T(k + 1 + 0.5), pol);
+ pois *= delta / constants::root_two<T>();
+ }
+ else
+ {
+ pois = gamma_p_derivative(T(k+1), d2, pol)
+ * tgamma_delta_ratio(T(k + 1), T(0.5f))
+ * delta / constants::root_two<T>();
+ }
             if(pois == 0)
                return init_val;
             // Recurance term:
             T xterm;
+ T beta;
             // Starting beta term:
- T beta = x < y
- ? detail::ibeta_imp(T(k + 1), T(n / 2), x, pol, true, true, &xterm)
- : detail::ibeta_imp(T(n / 2), T(k + 1), y, pol, false, true, &xterm);
+ if(k != 0)
+ {
+ beta = x < y
+ ? detail::ibeta_imp(T(k + 1), T(n / 2), x, pol, true, true, &xterm)
+ : detail::ibeta_imp(T(n / 2), T(k + 1), y, pol, false, true, &xterm);
 
- xterm *= y / (n / 2 + k);
+ xterm *= y / (n / 2 + k);
+ }
+ else
+ {
+ beta = pow(y, n / 2);
+ xterm = beta;
+ }
             T poisf(pois), betaf(beta), xtermf(xterm);
             T sum = init_val;
             if((xterm == 0) && (beta == 0))
                return init_val;
 
             //
- // Forward recursion first, this is the stable direction:
+ // Fused forward and backwards recursion:
             //
             boost::uintmax_t count = 0;
- for(int i = k + 1; ; ++i)
+ for(int i = k + 1, j = k; ; ++i, --j)
             {
                poisf *= d2 / (i + 0.5f);
                xtermf *= (x * (n / 2 + i - 1)) / (i);
                betaf += xtermf;
-
                T term = poisf * betaf;
- sum += term;
- if(fabs(term/sum) < errtol)
- break;
- if(count > max_iter)
+
+ if(j >= 0)
                {
- return policies::raise_evaluation_error(
- "cdf(non_central_t_distribution<%1%>, %1%)",
- "Series did not converge, closest value was %1%", sum, pol);
+ term += beta * pois;
+ pois *= (j + 0.5f) / d2;
+ beta -= xterm;
+ xterm *= (j) / (x * (n / 2 + j - 1));
                }
- ++count;
- }
- //
- // Backwards recursion:
- //
- for(int i = k; i >= 0; --i)
- {
- T term = beta * pois;
+
                sum += term;
                if(fabs(term/sum) < errtol)
                   break;
- pois *= (i + 0.5f) / d2;
- beta -= xterm;
- xterm *= (i) / (x * (n / 2 + i - 1));
- ++count;
                if(count > max_iter)
                {
                   return policies::raise_evaluation_error(
                      "cdf(non_central_t_distribution<%1%>, %1%)",
                      "Series did not converge, closest value was %1%", sum, pol);
                }
+ ++count;
             }
             return sum;
          }
@@ -326,14 +369,32 @@
             // maximum of the poisson weighting term:
             //
             int k = boost::math::itrunc(d2);
- // Starting Poisson weight:
- T pois = gamma_p_derivative(T(k+1), d2, pol)
- * tgamma_delta_ratio(T(k + 1), T(0.5f))
- * delta / constants::root_two<T>();
- // Starting beta term:
- T xterm = x < y
- ? ibeta_derivative(T(k + 1), n / 2, x, pol)
- : ibeta_derivative(n / 2, T(k + 1), y, pol);
+ T pois, xterm;
+ if(k < 30)
+ {
+ //
+ // Since we'll need at least 30-40 terms anyway, start from 0
+ // since this simplifies the starting arithmetic:
+ //
+ k = 0;
+ // Starting Poisson weight:
+ pois = exp(-d2)
+ * (2 / constants::root_pi<T>())
+ * delta / constants::root_two<T>();
+ // Starting beta term:
+ xterm = pow(y, n / 2 - 1) * n / 2;
+ }
+ else
+ {
+ // Starting Poisson weight:
+ pois = gamma_p_derivative(T(k+1), d2, pol)
+ * tgamma_delta_ratio(T(k + 1), T(0.5f))
+ * delta / constants::root_two<T>();
+ // Starting beta term:
+ xterm = x < y
+ ? ibeta_derivative(T(k + 1), n / 2, x, pol)
+ : ibeta_derivative(n / 2, T(k + 1), y, pol);
+ }
             T poisf(pois), xtermf(xterm);
             T sum = init_val;
             if((pois == 0) || (xterm == 0))

Modified: trunk/boost/math/policies/error_handling.hpp
==============================================================================
--- trunk/boost/math/policies/error_handling.hpp (original)
+++ trunk/boost/math/policies/error_handling.hpp 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -60,8 +60,8 @@
 T user_denorm_error(const char* function, const char* message, const T& val);
 template <class T>
 T user_evaluation_error(const char* function, const char* message, const T& val);
-template <class T>
-T user_rounding_error(const char* function, const char* message, const T& val);
+template <class T, class TargetType>
+T user_rounding_error(const char* function, const char* message, const T& val, const TargetType& t);
 template <class T>
 T user_indeterminate_result_error(const char* function, const char* message, const T& val);
 
@@ -381,11 +381,12 @@
    return user_evaluation_error(function, message, val);
 }
 
-template <class T>
+template <class T, class TargetType>
 inline T raise_rounding_error(
            const char* function,
            const char* message,
            const T& val,
+ const TargetType&,
            const ::boost::math::policies::rounding_error< ::boost::math::policies::throw_on_error>&)
 {
    raise_error<boost::math::rounding_error, T>(function, message, val);
@@ -393,39 +394,42 @@
    return T(0);
 }
 
-template <class T>
+template <class T, class TargetType>
 inline T raise_rounding_error(
            const char* ,
            const char* ,
            const T& val,
+ const TargetType&,
            const ::boost::math::policies::rounding_error< ::boost::math::policies::ignore_error>&)
 {
    // This may or may not do the right thing, but the user asked for the error
    // to be ignored so here we go anyway:
- return val;
+ return std::numeric_limits<T>::is_specialized ? (val > 0 ? std::numeric_limits<T>::max() : -std::numeric_limits<T>::max()): val;
 }
 
-template <class T>
+template <class T, class TargetType>
 inline T raise_rounding_error(
            const char* ,
            const char* ,
            const T& val,
+ const TargetType&,
            const ::boost::math::policies::rounding_error< ::boost::math::policies::errno_on_error>&)
 {
    errno = ERANGE;
    // This may or may not do the right thing, but the user asked for the error
    // to be silent so here we go anyway:
- return val;
+ return std::numeric_limits<T>::is_specialized ? (val > 0 ? std::numeric_limits<T>::max() : -std::numeric_limits<T>::max()): val;
 }
 
-template <class T>
+template <class T, class TargetType>
 inline T raise_rounding_error(
            const char* function,
            const char* message,
            const T& val,
+ const TargetType& t,
            const ::boost::math::policies::rounding_error< ::boost::math::policies::user_error>&)
 {
- return user_rounding_error(function, message, val);
+ return user_rounding_error(function, message, val, t);
 }
 
 template <class T, class R>
@@ -536,13 +540,13 @@
       val, policy_type());
 }
 
-template <class T, class Policy>
-inline T raise_rounding_error(const char* function, const char* message, const T& val, const Policy&)
+template <class T, class TargetType, class Policy>
+inline T raise_rounding_error(const char* function, const char* message, const T& val, const TargetType& t, const Policy&)
 {
    typedef typename Policy::rounding_error_type policy_type;
    return detail::raise_rounding_error(
       function, message ? message : "Value %1% can not be represented in the target integer type.",
- val, policy_type());
+ val, t, policy_type());
 }
 
 template <class T, class R, class Policy>

Modified: trunk/boost/math/special_functions/round.hpp
==============================================================================
--- trunk/boost/math/special_functions/round.hpp (original)
+++ trunk/boost/math/special_functions/round.hpp 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -21,7 +21,7 @@
 {
    BOOST_MATH_STD_USING
    if(!(boost::math::isfinite)(v))
- return policies::raise_rounding_error("boost::math::round<%1%>(%1%)", 0, v, pol);
+ return policies::raise_rounding_error("boost::math::round<%1%>(%1%)", 0, v, v, pol);
    return v < 0 ? static_cast<T>(ceil(v - 0.5f)) : static_cast<T>(floor(v + 0.5f));
 }
 template <class T>
@@ -44,7 +44,7 @@
    BOOST_MATH_STD_USING
    T r = boost::math::round(v, pol);
    if(fabs(r) > (std::numeric_limits<int>::max)())
- return static_cast<int>(policies::raise_rounding_error("boost::math::iround<%1%>(%1%)", 0, v, pol));
+ return static_cast<int>(policies::raise_rounding_error("boost::math::iround<%1%>(%1%)", 0, v, 0, pol));
    return static_cast<int>(r);
 }
 template <class T>
@@ -59,7 +59,7 @@
    BOOST_MATH_STD_USING
    T r = boost::math::round(v, pol);
    if(fabs(r) > (std::numeric_limits<long>::max)())
- return static_cast<long int>(policies::raise_rounding_error("boost::math::lround<%1%>(%1%)", 0, v, pol));
+ return static_cast<long int>(policies::raise_rounding_error("boost::math::lround<%1%>(%1%)", 0, v, 0L, pol));
    return static_cast<long int>(r);
 }
 template <class T>
@@ -76,7 +76,7 @@
    BOOST_MATH_STD_USING
    T r = boost::math::round(v, pol);
    if(fabs(r) > (std::numeric_limits<boost::long_long_type>::max)())
- return static_cast<boost::long_long_type>(policies::raise_rounding_error("boost::math::llround<%1%>(%1%)", 0, v, pol));
+ return static_cast<boost::long_long_type>(policies::raise_rounding_error("boost::math::llround<%1%>(%1%)", 0, v, 0LL, pol));
    return static_cast<boost::long_long_type>(r);
 }
 template <class T>

Modified: trunk/boost/math/special_functions/trunc.hpp
==============================================================================
--- trunk/boost/math/special_functions/trunc.hpp (original)
+++ trunk/boost/math/special_functions/trunc.hpp 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -21,7 +21,7 @@
 {
    BOOST_MATH_STD_USING
    if(!(boost::math::isfinite)(v))
- return policies::raise_rounding_error("boost::math::trunc<%1%>(%1%)", 0, v, pol);
+ return policies::raise_rounding_error("boost::math::trunc<%1%>(%1%)", 0, v, v, pol);
    return (v >= 0) ? static_cast<T>(floor(v)) : static_cast<T>(ceil(v));
 }
 template <class T>
@@ -44,7 +44,7 @@
    BOOST_MATH_STD_USING
    T r = boost::math::trunc(v, pol);
    if(fabs(r) > (std::numeric_limits<int>::max)())
- return static_cast<int>(policies::raise_rounding_error("boost::math::itrunc<%1%>(%1%)", 0, v, pol));
+ return static_cast<int>(policies::raise_rounding_error("boost::math::itrunc<%1%>(%1%)", 0, 0, v, pol));
    return static_cast<int>(r);
 }
 template <class T>
@@ -59,7 +59,7 @@
    BOOST_MATH_STD_USING
    T r = boost::math::trunc(v, pol);
    if(fabs(r) > (std::numeric_limits<long>::max)())
- return static_cast<long>(policies::raise_rounding_error("boost::math::ltrunc<%1%>(%1%)", 0, v, pol));
+ return static_cast<long>(policies::raise_rounding_error("boost::math::ltrunc<%1%>(%1%)", 0, 0L, v, pol));
    return static_cast<long>(r);
 }
 template <class T>
@@ -76,7 +76,7 @@
    BOOST_MATH_STD_USING
    T r = boost::math::trunc(v, pol);
    if(fabs(r) > (std::numeric_limits<boost::long_long_type>::max)())
- return static_cast<boost::long_long_type>(policies::raise_rounding_error("boost::math::lltrunc<%1%>(%1%)", 0, v, pol));
+ return static_cast<boost::long_long_type>(policies::raise_rounding_error("boost::math::lltrunc<%1%>(%1%)", 0, v, 0LL, pol));
    return static_cast<boost::long_long_type>(r);
 }
 template <class T>

Modified: trunk/libs/math/doc/sf_and_dist/error_handling.qbk
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/error_handling.qbk (original)
+++ trunk/libs/math/doc/sf_and_dist/error_handling.qbk 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -109,8 +109,10 @@
 [table Possible Actions for Rounding Errors
 [[Action] [Behaviour]]
 [[throw_on_error][Throws `boost::math::rounding_error`]]
-[[errno_on_error][Sets `::errno` to `ERANGE` and returns an unspecified value.]]
-[[ignore_error][[*Returns the an unspecified value.]]]
+[[errno_on_error][Sets `::errno` to `ERANGE` and returns the largest representable value of the target integer type
+(or the most negative value if the argument to the function was less than zero).]]
+[[ignore_error][[*Returns the largest representable value of the target integer type
+(or the most negative value if the argument to the function was less than zero).]]]
 [[user_error][Returns the result of `boost::math::policies::user_rounding_error`:
             [link math_toolkit.policy.pol_tutorial.user_def_err_pol
             this function must be defined by the user].]]

Modified: trunk/libs/math/doc/sf_and_dist/html/index.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -53,7 +53,7 @@
       Hubert Holin, Xiaogang Zhang, Bruno Lalande, Johan R&#229;de, Gautam Sewani and
       Thijs van den Berg</p></div>
 <div><div class="legalnotice">
-<a name="id867111"></a><p>
+<a name="id973452"></a><p>
         Distributed under the Boost Software License, Version 1.0. (See accompanying
         file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
       </p>
@@ -64,440 +64,445 @@
 <div class="toc">
 <p><b>Table of Contents</b></p>
 <dl>
-<dt><span class="section">Overview</span></dt>
+<dt><span class="section"> Overview</span></dt>
 <dd><dl>
-<dt><span class="section">About the Math Toolkit</span></dt>
-<dt><span class="section">Navigation</span></dt>
-<dt><span class="section"><a href="math_toolkit/main_overview/directories.html">Directory and
+<dt><span class="section"> About the Math Toolkit</span></dt>
+<dt><span class="section"> Navigation</span></dt>
+<dt><span class="section"><a href="math_toolkit/main_overview/directories.html"> Directory and
       File Structure</a></span></dt>
-<dt><span class="section">Namespaces</span></dt>
-<dt><span class="section"><a href="math_toolkit/main_overview/result_type.html">Calculation of
- the Type of the Result</a></span></dt>
-<dt><span class="section">Error Handling</span></dt>
-<dt><span class="section">Compilers</span></dt>
-<dt><span class="section"><a href="math_toolkit/main_overview/config_macros.html">Configuration
+<dt><span class="section"> Namespaces</span></dt>
+<dt><span class="section"><a href="math_toolkit/main_overview/result_type.html"> Calculation
+ of the Type of the Result</a></span></dt>
+<dt><span class="section"> Error Handling</span></dt>
+<dt><span class="section"> Compilers</span></dt>
+<dt><span class="section"><a href="math_toolkit/main_overview/config_macros.html"> Configuration
       Macros</a></span></dt>
-<dt><span class="section">Policies</span></dt>
-<dt><span class="section">Thread Safety</span></dt>
-<dt><span class="section">Performance</span></dt>
-<dt><span class="section"><a href="math_toolkit/main_overview/building.html">If and How to Build
+<dt><span class="section"> Policies</span></dt>
+<dt><span class="section"> Thread Safety</span></dt>
+<dt><span class="section"> Performance</span></dt>
+<dt><span class="section"><a href="math_toolkit/main_overview/building.html"> If and How to Build
       a Boost.Math Library, and its Examples and Tests</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/main_overview/history1.html">History and What's
+<dt><span class="section"><a href="math_toolkit/main_overview/history1.html"> History and What's
       New</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/main_overview/tr1.html">C99 and C++ TR1 C-style
+<dt><span class="section"><a href="math_toolkit/main_overview/tr1.html"> C99 and C++ TR1 C-style
       Functions</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/main_overview/faq.html">Frequently Asked Questions
+<dt><span class="section"><a href="math_toolkit/main_overview/faq.html"> Frequently Asked Questions
       FAQ</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/main_overview/contact.html">Contact Info and
+<dt><span class="section"><a href="math_toolkit/main_overview/contact.html"> Contact Info and
       Support</a></span></dt>
 </dl></dd>
-<dt><span class="section">Statistical Distributions and Functions</span></dt>
+<dt><span class="section"> Statistical Distributions and Functions</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut.html">Statistical Distributions
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut.html"> Statistical Distributions
       Tutorial</a></span></dt>
 <dd><dl>
-<dt><span class="section">Overview of Distributions</span></dt>
+<dt><span class="section"> Overview of Distributions</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/overview/headers.html">Headers
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/overview/headers.html"> Headers
           and Namespaces</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/overview/objects.html">Distributions
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/overview/objects.html"> Distributions
           are Objects</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/overview/generic.html">Generic
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/overview/generic.html"> Generic
           operations common to all distributions are non-member functions</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/overview/complements.html">Complements
- are supported too - and when to use them</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/overview/parameters.html">Parameters
- can be calculated</a></span></dt>
-<dt><span class="section">Summary</span></dt>
-</dl></dd>
-<dt><span class="section">Worked Examples</span></dt>
-<dd><dl>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/dist_construct_eg.html">Distribution
- Construction Example</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/st_eg.html">Student's t
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/overview/complements.html">
+ Complements are supported too - and when to use them</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/overview/parameters.html">
+ Parameters can be calculated</a></span></dt>
+<dt><span class="section"> Summary</span></dt>
+</dl></dd>
+<dt><span class="section"> Worked Examples</span></dt>
+<dd><dl>
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/dist_construct_eg.html">
+ Distribution Construction Example</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/st_eg.html"> Student's
+ t Distribution Examples</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/cs_eg.html"> Chi Squared
           Distribution Examples</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/cs_eg.html">Chi Squared
- Distribution Examples</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/f_eg.html">F Distribution
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/f_eg.html"> F Distribution
           Examples</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/binom_eg.html">Binomial
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/binom_eg.html"> Binomial
           Distribution Examples</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/geometric_eg.html">Geometric
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/geometric_eg.html"> Geometric
           Distribution Examples</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/neg_binom_eg.html">Negative
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/neg_binom_eg.html"> Negative
           Binomial Distribution Examples</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/normal_example.html">Normal
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/normal_example.html"> Normal
           Distribution Examples</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/nccs_eg.html">Non Central
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/nccs_eg.html"> Non Central
           Chi Squared Example</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/error_eg.html">Error Handling
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/error_eg.html"> Error Handling
           Example</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/find_eg.html">Find Location
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/find_eg.html"> Find Location
           and Scale Examples</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/nag_library.html">Comparison
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/nag_library.html"> Comparison
           with C, R, FORTRAN-style Free Functions</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/c_sharp.html">Using the
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/weg/c_sharp.html"> Using the
           Distributions from Within C#</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/variates.html">Random Variates
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/variates.html"> Random Variates
         and Distribution Parameters</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/stat_tut/dist_params.html">Discrete Probability
+<dt><span class="section"><a href="math_toolkit/dist/stat_tut/dist_params.html"> Discrete Probability
         Distributions</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref.html">Statistical Distributions
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref.html"> Statistical Distributions
       Reference</a></span></dt>
 <dd><dl>
-<dt><span class="section">Non-Member Properties</span></dt>
-<dt><span class="section">Distributions</span></dt>
+<dt><span class="section"> Non-Member Properties</span></dt>
+<dt><span class="section"> Distributions</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/bernoulli_dist.html">Bernoulli
- Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/beta_dist.html">Beta
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/bernoulli_dist.html">
+ Bernoulli Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/beta_dist.html"> Beta
           Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/binomial_dist.html">Binomial
- Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/cauchy_dist.html">Cauchy-Lorentz
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/binomial_dist.html">
+ Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/cauchy_dist.html"> Cauchy-Lorentz
           Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/chi_squared_dist.html">Chi
- Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/exp_dist.html">Exponential
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/chi_squared_dist.html">
+ Chi Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/exp_dist.html"> Exponential
           Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/extreme_dist.html">Extreme
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/extreme_dist.html"> Extreme
           Value Distribution</a></span></dt>
-<dt><span class="section">F Distribution</span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/gamma_dist.html">Gamma
+<dt><span class="section"> F Distribution</span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/gamma_dist.html"> Gamma
           (and Erlang) Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/geometric_dist.html">Geometric
- Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/hypergeometric_dist.html">Hypergeometric
- Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/inverse_chi_squared_dist.html">Inverse
- Chi Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/inverse_gamma_dist.html">Inverse
- Gamma Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/inverse_gaussian_dist.html">Inverse
- Gaussian (or Inverse Normal) Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/laplace_dist.html">Laplace
- Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/logistic_dist.html">Logistic
- Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/lognormal_dist.html">Log
- Normal Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/negative_binomial_dist.html">Negative
- Binomial Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/nc_beta_dist.html">Noncentral
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/geometric_dist.html">
+ Geometric Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/hypergeometric_dist.html">
+ Hypergeometric Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/inverse_chi_squared_dist.html">
+ Inverse Chi Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/inverse_gamma_dist.html">
+ Inverse Gamma Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/inverse_gaussian_dist.html">
+ Inverse Gaussian (or Inverse Normal) Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/laplace_dist.html"> Laplace
+ Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/logistic_dist.html">
+ Logistic Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/lognormal_dist.html">
+ Log Normal Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/negative_binomial_dist.html">
+ Negative Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/nc_beta_dist.html"> Noncentral
           Beta Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/nc_chi_squared_dist.html">Noncentral
- Chi-Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/nc_f_dist.html">Noncentral
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/nc_chi_squared_dist.html">
+ Noncentral Chi-Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/nc_f_dist.html"> Noncentral
           F Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/nc_t_dist.html">Noncentral
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/nc_t_dist.html"> Noncentral
           T Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/normal_dist.html">Normal
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/normal_dist.html"> Normal
           (Gaussian) Distribution</a></span></dt>
-<dt><span class="section">Pareto Distribution</span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/poisson_dist.html">Poisson
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/pareto.html"> Pareto
           Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/rayleigh.html">Rayleigh
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/poisson_dist.html"> Poisson
           Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/students_t_dist.html">Students
- t Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/triangular_dist.html">Triangular
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/rayleigh.html"> Rayleigh
           Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/uniform_dist.html">Uniform
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/students_t_dist.html">
+ Students t Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/triangular_dist.html">
+ Triangular Distribution</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/uniform_dist.html"> Uniform
           Distribution</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/weibull_dist.html">Weibull
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dists/weibull_dist.html"> Weibull
           Distribution</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dist_algorithms.html">Distribution
+<dt><span class="section"><a href="math_toolkit/dist/dist_ref/dist_algorithms.html"> Distribution
         Algorithms</a></span></dt>
 </dl></dd>
-<dt><span class="section">Extras/Future Directions</span></dt>
+<dt><span class="section"> Extras/Future Directions</span></dt>
 </dl></dd>
-<dt><span class="section">Special Functions</span></dt>
+<dt><span class="section"> Special Functions</span></dt>
 <dd><dl>
-<dt><span class="section">Gamma Functions</span></dt>
+<dt><span class="section"> Gamma Functions</span></dt>
 <dd><dl>
-<dt><span class="section">Gamma</span></dt>
-<dt><span class="section">Log Gamma</span></dt>
-<dt><span class="section">Digamma</span></dt>
-<dt><span class="section"><a href="math_toolkit/special/sf_gamma/gamma_ratios.html">Ratios
+<dt><span class="section"> Gamma</span></dt>
+<dt><span class="section"> Log Gamma</span></dt>
+<dt><span class="section"> Digamma</span></dt>
+<dt><span class="section"><a href="math_toolkit/special/sf_gamma/gamma_ratios.html"> Ratios
         of Gamma Functions</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/sf_gamma/igamma.html">Incomplete Gamma
+<dt><span class="section"><a href="math_toolkit/special/sf_gamma/igamma.html"> Incomplete Gamma
         Functions</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/sf_gamma/igamma_inv.html">Incomplete
+<dt><span class="section"><a href="math_toolkit/special/sf_gamma/igamma_inv.html"> Incomplete
         Gamma Function Inverses</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/sf_gamma/gamma_derivatives.html">Derivative
+<dt><span class="section"><a href="math_toolkit/special/sf_gamma/gamma_derivatives.html"> Derivative
         of the Incomplete Gamma Function</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="math_toolkit/special/factorials.html">Factorials and Binomial
+<dt><span class="section"><a href="math_toolkit/special/factorials.html"> Factorials and Binomial
       Coefficients</a></span></dt>
 <dd><dl>
-<dt><span class="section">Factorial</span></dt>
-<dt><span class="section"><a href="math_toolkit/special/factorials/sf_double_factorial.html">Double
- Factorial</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/factorials/sf_rising_factorial.html">Rising
- Factorial</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/factorials/sf_falling_factorial.html">Falling
- Factorial</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/factorials/sf_binomial.html">Binomial
+<dt><span class="section"> Factorial</span></dt>
+<dt><span class="section"><a href="math_toolkit/special/factorials/sf_double_factorial.html">
+ Double Factorial</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/special/factorials/sf_rising_factorial.html">
+ Rising Factorial</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/special/factorials/sf_falling_factorial.html">
+ Falling Factorial</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/special/factorials/sf_binomial.html"> Binomial
         Coefficients</a></span></dt>
 </dl></dd>
-<dt><span class="section">Beta Functions</span></dt>
+<dt><span class="section"> Beta Functions</span></dt>
 <dd><dl>
-<dt><span class="section">Beta</span></dt>
-<dt><span class="section"><a href="math_toolkit/special/sf_beta/ibeta_function.html">Incomplete
+<dt><span class="section"> Beta</span></dt>
+<dt><span class="section"><a href="math_toolkit/special/sf_beta/ibeta_function.html"> Incomplete
         Beta Functions</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/sf_beta/ibeta_inv_function.html">The
+<dt><span class="section"><a href="math_toolkit/special/sf_beta/ibeta_inv_function.html"> The
         Incomplete Beta Function Inverses</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/sf_beta/beta_derivative.html">Derivative
+<dt><span class="section"><a href="math_toolkit/special/sf_beta/beta_derivative.html"> Derivative
         of the Incomplete Beta Function</a></span></dt>
 </dl></dd>
-<dt><span class="section">Error Functions</span></dt>
+<dt><span class="section"> Error Functions</span></dt>
 <dd><dl>
-<dt><span class="section">Error Functions</span></dt>
-<dt><span class="section"><a href="math_toolkit/special/sf_erf/error_inv.html">Error Function
+<dt><span class="section"><a href="math_toolkit/special/sf_erf/error_function.html"> Error
+ Functions</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/special/sf_erf/error_inv.html"> Error Function
         Inverses</a></span></dt>
 </dl></dd>
-<dt><span class="section">Polynomials</span></dt>
+<dt><span class="section"> Polynomials</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/special/sf_poly/legendre.html">Legendre (and
+<dt><span class="section"><a href="math_toolkit/special/sf_poly/legendre.html"> Legendre (and
         Associated) Polynomials</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/sf_poly/laguerre.html">Laguerre (and
+<dt><span class="section"><a href="math_toolkit/special/sf_poly/laguerre.html"> Laguerre (and
         Associated) Polynomials</a></span></dt>
-<dt><span class="section">Hermite Polynomials</span></dt>
-<dt><span class="section">Spherical Harmonics</span></dt>
+<dt><span class="section"> Hermite Polynomials</span></dt>
+<dt><span class="section"> Spherical Harmonics</span></dt>
 </dl></dd>
-<dt><span class="section">Bessel Functions</span></dt>
+<dt><span class="section"> Bessel Functions</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/special/bessel/bessel_over.html">Bessel Function
+<dt><span class="section"><a href="math_toolkit/special/bessel/bessel_over.html"> Bessel Function
         Overview</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/bessel/bessel.html">Bessel Functions
+<dt><span class="section"><a href="math_toolkit/special/bessel/bessel.html"> Bessel Functions
         of the First and Second Kinds</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/bessel/mbessel.html">Modified Bessel
- Functions of the First and Second Kinds</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/bessel/sph_bessel.html">Spherical Bessel
+<dt><span class="section"><a href="math_toolkit/special/bessel/mbessel.html"> Modified Bessel
         Functions of the First and Second Kinds</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/special/bessel/sph_bessel.html"> Spherical
+ Bessel Functions of the First and Second Kinds</a></span></dt>
 </dl></dd>
-<dt><span class="section">Elliptic Integrals</span></dt>
+<dt><span class="section"> Elliptic Integrals</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/special/ellint/ellint_intro.html">Elliptic
+<dt><span class="section"><a href="math_toolkit/special/ellint/ellint_intro.html"> Elliptic
         Integral Overview</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/ellint/ellint_carlson.html">Elliptic
+<dt><span class="section"><a href="math_toolkit/special/ellint/ellint_carlson.html"> Elliptic
         Integrals - Carlson Form</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/ellint/ellint_1.html">Elliptic Integrals
+<dt><span class="section"><a href="math_toolkit/special/ellint/ellint_1.html"> Elliptic Integrals
         of the First Kind - Legendre Form</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/ellint/ellint_2.html">Elliptic Integrals
+<dt><span class="section"><a href="math_toolkit/special/ellint/ellint_2.html"> Elliptic Integrals
         of the Second Kind - Legendre Form</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/ellint/ellint_3.html">Elliptic Integrals
+<dt><span class="section"><a href="math_toolkit/special/ellint/ellint_3.html"> Elliptic Integrals
         of the Third Kind - Legendre Form</a></span></dt>
 </dl></dd>
-<dt><span class="section">Zeta Functions</span></dt>
-<dd><dl><dt><span class="section">Riemann Zeta Function</span></dt></dl></dd>
-<dt><span class="section">Exponential Integrals</span></dt>
-<dd><dl>
-<dt><span class="section"><a href="math_toolkit/special/expint/expint_n.html">Exponential Integral
- En</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/special/expint/expint_i.html">Exponential Integral
- Ei</a></span></dt>
+<dt><span class="section"> Zeta Functions</span></dt>
+<dd><dl><dt><span class="section"> Riemann Zeta Function</span></dt></dl></dd>
+<dt><span class="section"> Exponential Integrals</span></dt>
+<dd><dl>
+<dt><span class="section"><a href="math_toolkit/special/expint/expint_n.html"> Exponential
+ Integral En</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/special/expint/expint_i.html"> Exponential
+ Integral Ei</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="math_toolkit/special/powers.html">Logs, Powers, Roots and
+<dt><span class="section"><a href="math_toolkit/special/powers.html"> Logs, Powers, Roots and
       Exponentials</a></span></dt>
 <dd><dl>
-<dt><span class="section">log1p</span></dt>
-<dt><span class="section">expm1</span></dt>
-<dt><span class="section">cbrt</span></dt>
-<dt><span class="section">sqrt1pm1</span></dt>
-<dt><span class="section">powm1</span></dt>
-<dt><span class="section">hypot</span></dt>
-<dt><span class="section"><a href="math_toolkit/special/powers/ct_pow.html">Compile Time Power
+<dt><span class="section"> log1p</span></dt>
+<dt><span class="section"> expm1</span></dt>
+<dt><span class="section"> cbrt</span></dt>
+<dt><span class="section"> sqrt1pm1</span></dt>
+<dt><span class="section"> powm1</span></dt>
+<dt><span class="section"> hypot</span></dt>
+<dt><span class="section"><a href="math_toolkit/special/powers/ct_pow.html"> Compile Time Power
         of a Runtime Base</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="math_toolkit/special/sinc.html">Sinus Cardinal and Hyperbolic
+<dt><span class="section"><a href="math_toolkit/special/sinc.html"> Sinus Cardinal and Hyperbolic
       Sinus Cardinal Functions</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/special/sinc/sinc_overview.html">Sinus Cardinal
+<dt><span class="section"><a href="math_toolkit/special/sinc/sinc_overview.html"> Sinus Cardinal
         and Hyperbolic Sinus Cardinal Functions Overview</a></span></dt>
 <dt><span class="section">sinc_pi</span></dt>
 <dt><span class="section">sinhc_pi</span></dt>
 </dl></dd>
-<dt><span class="section">Inverse Hyperbolic Functions</span></dt>
+<dt><span class="section"> Inverse Hyperbolic Functions</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/special/inv_hyper/inv_hyper_over.html">Inverse
+<dt><span class="section"><a href="math_toolkit/special/inv_hyper/inv_hyper_over.html"> Inverse
         Hyperbolic Functions Overview</a></span></dt>
-<dt><span class="section">acosh</span></dt>
-<dt><span class="section">asinh</span></dt>
-<dt><span class="section">atanh</span></dt>
+<dt><span class="section"> acosh</span></dt>
+<dt><span class="section"> asinh</span></dt>
+<dt><span class="section"> atanh</span></dt>
 </dl></dd>
 </dl></dd>
-<dt><span class="section">Floating Point Utilities</span></dt>
+<dt><span class="section"> Floating Point Utilities</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/utils/rounding.html">Rounding Truncation and
+<dt><span class="section"><a href="math_toolkit/utils/rounding.html"> Rounding Truncation and
       Integer Conversion</a></span></dt>
 <dd><dl>
-<dt><span class="section">Rounding Functions</span></dt>
-<dt><span class="section">Truncation Functions</span></dt>
-<dt><span class="section"><a href="math_toolkit/utils/rounding/modf.html">Integer and Fractional
+<dt><span class="section"> Rounding Functions</span></dt>
+<dt><span class="section"> Truncation Functions</span></dt>
+<dt><span class="section"><a href="math_toolkit/utils/rounding/modf.html"> Integer and Fractional
         Part Splitting (modf)</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="math_toolkit/utils/fpclass.html">Floating-Point Classification:
+<dt><span class="section"><a href="math_toolkit/utils/fpclass.html"> Floating-Point Classification:
       Infinities and NaN's</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/utils/sign_functions.html">Sign Manipulation
+<dt><span class="section"><a href="math_toolkit/utils/sign_functions.html"> Sign Manipulation
       Functions</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/utils/next_float.html">Floating-Point Representation
+<dt><span class="section"><a href="math_toolkit/utils/next_float.html"> Floating-Point Representation
       Distance (ULP), and Finding Adjacent Floating-Point Values</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/utils/next_float/nextafter.html">Finding the
+<dt><span class="section"><a href="math_toolkit/utils/next_float/nextafter.html"> Finding the
         Next Representable Value in a Specific Direction (nextafter)</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/utils/next_float/float_next.html">Finding the
- Next Greater Representable Value (float_next)</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/utils/next_float/float_prior.html">Finding
+<dt><span class="section"><a href="math_toolkit/utils/next_float/float_next.html"> Finding
+ the Next Greater Representable Value (float_next)</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/utils/next_float/float_prior.html"> Finding
         the Next Smaller Representable Value (float_prior)</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/utils/next_float/float_distance.html">Calculating
+<dt><span class="section"><a href="math_toolkit/utils/next_float/float_distance.html"> Calculating
         the Representation Distance Between Two Floating Point Values (ULP) float_distance</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/utils/next_float/float_advance.html">Advancing
+<dt><span class="section"><a href="math_toolkit/utils/next_float/float_advance.html"> Advancing
         a Floating Point Value by a Specific Representation Distance (ULP) float_advance</a></span></dt>
 </dl></dd>
 </dl></dd>
-<dt><span class="section"><a href="math_toolkit/extern_c.html">TR1 and C99 external "C"
+<dt><span class="section"><a href="math_toolkit/extern_c.html"> TR1 and C99 external "C"
     Functions</a></span></dt>
 <dd><dl>
-<dt><span class="section">C99 and TR1 C Functions Overview</span></dt>
-<dt><span class="section">C99 C Functions</span></dt>
-<dt><span class="section"><a href="math_toolkit/extern_c/tr1_ref.html">TR1 C Functions Quick
+<dt><span class="section"> C99 and TR1 C Functions Overview</span></dt>
+<dt><span class="section"> C99 C Functions</span></dt>
+<dt><span class="section"><a href="math_toolkit/extern_c/tr1_ref.html"> TR1 C Functions Quick
       Reference</a></span></dt>
 </dl></dd>
-<dt><span class="section">Tools, Constants and Internal Details</span></dt>
+<dt><span class="section"> Tools, Constants and Internal Details</span></dt>
 <dd><dl>
-<dt><span class="section">Overview</span></dt>
-<dt><span class="section"><a href="math_toolkit/toolkit/internals1.html">Utilities - Constants
+<dt><span class="section"> Overview</span></dt>
+<dt><span class="section"><a href="math_toolkit/toolkit/internals1.html"> Utilities - Constants
       &amp; Tools</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/toolkit/internals1/constants.html">Numeric
+<dt><span class="section"><a href="math_toolkit/toolkit/internals1/constants.html"> Numeric
         Constants</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/toolkit/internals1/series_evaluation.html">Series
- Evaluation</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/toolkit/internals1/cf.html">Continued Fraction
+<dt><span class="section"><a href="math_toolkit/toolkit/internals1/series_evaluation.html">
+ Series Evaluation</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/toolkit/internals1/cf.html"> Continued Fraction
         Evaluation</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/toolkit/internals1/rational.html">Polynomial
+<dt><span class="section"><a href="math_toolkit/toolkit/internals1/rational.html"> Polynomial
         and Rational Function Evaluation</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/toolkit/internals1/roots.html">Root Finding
+<dt><span class="section"><a href="math_toolkit/toolkit/internals1/roots.html"> Root Finding
         With Derivatives: Newton-Raphson, Halley &amp; Schroeder</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/toolkit/internals1/roots2.html">Root Finding
+<dt><span class="section"><a href="math_toolkit/toolkit/internals1/roots2.html"> Root Finding
         Without Derivatives: Bisection, Bracket and TOMS748</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/toolkit/internals1/minima.html">Locating Function
+<dt><span class="section"><a href="math_toolkit/toolkit/internals1/minima.html"> Locating Function
         Minima: Brent's algorithm</a></span></dt>
-<dt><span class="section">Tuples</span></dt>
+<dt><span class="section"> Tuples</span></dt>
 </dl></dd>
-<dt><span class="section">Testing and Development</span></dt>
+<dt><span class="section"> Testing and Development</span></dt>
 <dd><dl>
-<dt><span class="section">Polynomials</span></dt>
-<dt><span class="section"><a href="math_toolkit/toolkit/internals2/minimax.html">Minimax Approximations
+<dt><span class="section"> Polynomials</span></dt>
+<dt><span class="section"><a href="math_toolkit/toolkit/internals2/minimax.html"> Minimax Approximations
         and the Remez Algorithm</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/toolkit/internals2/error_test.html">Relative
+<dt><span class="section"><a href="math_toolkit/toolkit/internals2/error_test.html"> Relative
         Error and Testing</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/toolkit/internals2/test_data.html">Graphing,
+<dt><span class="section"><a href="math_toolkit/toolkit/internals2/test_data.html"> Graphing,
         Profiling, and Generating Test Data for Special Functions</a></span></dt>
 </dl></dd>
 </dl></dd>
-<dt><span class="section"><a href="math_toolkit/using_udt.html">Use with User-Defined Floating-Point
+<dt><span class="section"><a href="math_toolkit/using_udt.html"> Use with User-Defined Floating-Point
     Types</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/using_udt/use_ntl.html">Using With NTL - a High-Precision
+<dt><span class="section"><a href="math_toolkit/using_udt/use_ntl.html"> Using With NTL - a High-Precision
       Floating-Point Library</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/using_udt/use_mpfr.html">Using With MPFR / GMP
+<dt><span class="section"><a href="math_toolkit/using_udt/use_mpfr.html"> Using With MPFR / GMP
       - a High-Precision Floating-Point Library</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/using_udt/concepts.html">Conceptual Requirements
+<dt><span class="section"><a href="math_toolkit/using_udt/concepts.html"> Conceptual Requirements
       for Real Number Types</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/using_udt/dist_concept.html">Conceptual Requirements
+<dt><span class="section"><a href="math_toolkit/using_udt/dist_concept.html"> Conceptual Requirements
       for Distribution Types</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/using_udt/archetypes.html">Conceptual Archetypes
+<dt><span class="section"><a href="math_toolkit/using_udt/archetypes.html"> Conceptual Archetypes
       for Reals and Distributions</a></span></dt>
 </dl></dd>
-<dt><span class="section">Policies</span></dt>
+<dt><span class="section"> Policies</span></dt>
 <dd><dl>
-<dt><span class="section">Policy Overview</span></dt>
-<dt><span class="section">Policy Tutorial</span></dt>
+<dt><span class="section"> Policy Overview</span></dt>
+<dt><span class="section"> Policy Tutorial</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/what_is_a_policy.html">So
- Just What is a Policy Anyway?</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/policy_tut_defaults.html">Policies
- Have Sensible Defaults</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/policy_usage.html">So How
- are Policies Used Anyway?</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/changing_policy_defaults.html">Changing
- the Policy Defaults</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/ad_hoc_dist_policies.html">Setting
- Policies for Distributions on an Ad Hoc Basis</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/ad_hoc_sf_policies.html">Changing
- the Policy on an Ad Hoc Basis for the Special Functions</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/namespace_policies.html">Setting
- Policies at Namespace or Translation Unit Scope</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/user_def_err_pol.html">Calling
- User Defined Error Handlers</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/understand_dis_quant.html">Understanding
- Quantiles of Discrete Distributions</a></span></dt>
-</dl></dd>
-<dt><span class="section">Policy Reference</span></dt>
-<dd><dl>
-<dt><span class="section"><a href="math_toolkit/policy/pol_ref/error_handling_policies.html">Error
- Handling Policies</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_ref/internal_promotion.html">Internal
+<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/what_is_a_policy.html">
+ So Just What is a Policy Anyway?</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/policy_tut_defaults.html">
+ Policies Have Sensible Defaults</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/policy_usage.html"> So
+ How are Policies Used Anyway?</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/changing_policy_defaults.html">
+ Changing the Policy Defaults</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/ad_hoc_dist_policies.html">
+ Setting Policies for Distributions on an Ad Hoc Basis</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/ad_hoc_sf_policies.html">
+ Changing the Policy on an Ad Hoc Basis for the Special Functions</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/namespace_policies.html">
+ Setting Policies at Namespace or Translation Unit Scope</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/user_def_err_pol.html">
+ Calling User Defined Error Handlers</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/policy/pol_tutorial/understand_dis_quant.html">
+ Understanding Quantiles of Discrete Distributions</a></span></dt>
+</dl></dd>
+<dt><span class="section"> Policy Reference</span></dt>
+<dd><dl>
+<dt><span class="section"><a href="math_toolkit/policy/pol_ref/error_handling_policies.html">
+ Error Handling Policies</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/policy/pol_ref/internal_promotion.html"> Internal
         Floating-point Promotion Policies</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_ref/assert_undefined.html">Mathematically
+<dt><span class="section"><a href="math_toolkit/policy/pol_ref/assert_undefined.html"> Mathematically
         Undefined Function Policies</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_ref/discrete_quant_ref.html">Discrete
+<dt><span class="section"><a href="math_toolkit/policy/pol_ref/discrete_quant_ref.html"> Discrete
         Quantile Policies</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_ref/precision_pol.html">Precision
+<dt><span class="section"><a href="math_toolkit/policy/pol_ref/precision_pol.html"> Precision
         Policies</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_ref/iteration_pol.html">Iteration
+<dt><span class="section"><a href="math_toolkit/policy/pol_ref/iteration_pol.html"> Iteration
         Limits Policies</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_ref/policy_defaults.html">Using
+<dt><span class="section"><a href="math_toolkit/policy/pol_ref/policy_defaults.html"> Using
         Macros to Change the Policy Defaults</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_ref/namespace_pol.html">Setting
+<dt><span class="section"><a href="math_toolkit/policy/pol_ref/namespace_pol.html"> Setting
         Polices at Namespace Scope</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/policy/pol_ref/pol_ref_ref.html">Policy Class
+<dt><span class="section"><a href="math_toolkit/policy/pol_ref/pol_ref_ref.html"> Policy Class
         Reference</a></span></dt>
 </dl></dd>
 </dl></dd>
-<dt><span class="section">Performance</span></dt>
+<dt><span class="section"> Performance</span></dt>
 <dd><dl>
-<dt><span class="section">Performance Overview</span></dt>
-<dt><span class="section">Interpreting these Results</span></dt>
-<dt><span class="section"><a href="math_toolkit/perf/getting_best.html">Getting the Best Performance
+<dt><span class="section"> Performance Overview</span></dt>
+<dt><span class="section"> Interpreting these Results</span></dt>
+<dt><span class="section"><a href="math_toolkit/perf/getting_best.html"> Getting the Best Performance
       from this Library</a></span></dt>
-<dt><span class="section">Comparing Compilers</span></dt>
-<dt><span class="section">Performance Tuning Macros</span></dt>
-<dt><span class="section"><a href="math_toolkit/perf/comparisons.html">Comparisons to Other Open
- Source Libraries</a></span></dt>
-<dt><span class="section"><a href="math_toolkit/perf/perf_test_app.html">The Performance Test
+<dt><span class="section"> Comparing Compilers</span></dt>
+<dt><span class="section"> Performance Tuning Macros</span></dt>
+<dt><span class="section"><a href="math_toolkit/perf/comparisons.html"> Comparisons to Other
+ Open Source Libraries</a></span></dt>
+<dt><span class="section"><a href="math_toolkit/perf/perf_test_app.html"> The Performance Test
       Application</a></span></dt>
 </dl></dd>
-<dt><span class="section">Backgrounders</span></dt>
+<dt><span class="section"> Backgrounders</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="math_toolkit/backgrounders/implementation.html">Additional
+<dt><span class="section"><a href="math_toolkit/backgrounders/implementation.html"> Additional
       Implementation Notes</a></span></dt>
-<dt><span class="section">Relative Error</span></dt>
-<dt><span class="section">The Lanczos Approximation</span></dt>
-<dt><span class="section">The Remez Method</span></dt>
-<dt><span class="section">References</span></dt>
-</dl></dd>
-<dt><span class="section">Library Status</span></dt>
-<dd><dl>
-<dt><span class="section">History and What's New</span></dt>
-<dt><span class="section">Known Issues, and TODO List</span></dt>
-<dt><span class="section">Credits and Acknowledgements</span></dt>
+<dt><span class="section"><a href="math_toolkit/backgrounders/relative_error.html"> Relative
+ Error</a></span></dt>
+<dt><span class="section"> The Lanczos Approximation</span></dt>
+<dt><span class="section"> The Remez Method</span></dt>
+<dt><span class="section"> References</span></dt>
+</dl></dd>
+<dt><span class="section"> Library Status</span></dt>
+<dd><dl>
+<dt><span class="section"> History and What's New</span></dt>
+<dt><span class="section"> Known Issues, and TODO List</span></dt>
+<dt><span class="section"> Credits and Acknowledgements</span></dt>
 </dl></dd>
 </dl>
 </div>
 <p>
+ </p>
+<p>
     This manual is also available in <a href="http://svn.boost.org/svn/boost/sandbox/pdf/math/release/math.pdf" target="_top">printer
     friendly PDF format</a>, and as a CD ISBN 0-9504833-2-X 978-0-9504833-2-0,
     Classification 519.2-dc22.
   </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: December 14, 2010 at 16:47:10 GMT</small></p></td>
+<td align="left"><p><small>Last revised: December 14, 2010 at 19:14:57 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></table>
 <hr>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,15 +24,16 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="math_toolkit.backgrounders"></a><a class="link" href="backgrounders.html" title="Backgrounders">Backgrounders</a>
+<a name="math_toolkit.backgrounders"></a><a class="link" href="backgrounders.html" title="Backgrounders"> Backgrounders</a>
 </h2></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="backgrounders/implementation.html">Additional
+<dt><span class="section"><a href="backgrounders/implementation.html"> Additional
       Implementation Notes</a></span></dt>
-<dt><span class="section">Relative Error</span></dt>
-<dt><span class="section">The Lanczos Approximation</span></dt>
-<dt><span class="section">The Remez Method</span></dt>
-<dt><span class="section">References</span></dt>
+<dt><span class="section"><a href="backgrounders/relative_error.html"> Relative
+ Error</a></span></dt>
+<dt><span class="section"> The Lanczos Approximation</span></dt>
+<dt><span class="section"> The Remez Method</span></dt>
+<dt><span class="section"> References</span></dt>
 </dl></div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/implementation.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/implementation.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/implementation.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="math_toolkit.backgrounders.implementation"></a><a class="link" href="implementation.html" title="Additional Implementation Notes">Additional
+<a name="math_toolkit.backgrounders.implementation"></a><a class="link" href="implementation.html" title="Additional Implementation Notes"> Additional
       Implementation Notes</a>
 </h3></div></div></div>
 <p>
@@ -33,7 +33,7 @@
         and reflect more the general implementation philosophy used.
       </p>
 <a name="math_toolkit.backgrounders.implementation.implemention_philosophy"></a><h5>
-<a name="id1273460"></a>
+<a name="id1379887"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.implemention_philosophy">Implemention
         philosophy</a>
       </h5>
@@ -85,7 +85,7 @@
         These could still provide sufficient accuracy for some speed-critical applications.
       </p>
 <a name="math_toolkit.backgrounders.implementation.accuracy_and_representation_of_test_values"></a><h5>
-<a name="id1273523"></a>
+<a name="id1379951"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.accuracy_and_representation_of_test_values">Accuracy
         and Representation of Test Values</a>
       </h5>
@@ -130,7 +130,7 @@
         binary value).
       </p>
 <a name="math_toolkit.backgrounders.implementation.tolerance_of_tests"></a><h5>
-<a name="id1273667"></a>
+<a name="id1380128"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.tolerance_of_tests">Tolerance
         of Tests</a>
       </h5>
@@ -156,7 +156,7 @@
         first that the suffix L is present, and then that the tolerance is big enough.
       </p>
 <a name="math_toolkit.backgrounders.implementation.handling_unsuitable_arguments"></a><h5>
-<a name="id1273712"></a>
+<a name="id1380172"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.handling_unsuitable_arguments">Handling
         Unsuitable Arguments</a>
       </h5>
@@ -224,7 +224,7 @@
         </p></td></tr>
 </table></div>
 <a name="math_toolkit.backgrounders.implementation.handling_of_functions_that_are_not_mathematically_defined"></a><h5>
-<a name="id1273841"></a>
+<a name="id1380302"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.handling_of_functions_that_are_not_mathematically_defined">Handling
         of Functions that are Not Mathematically defined</a>
       </h5>
@@ -258,7 +258,7 @@
         </p></td></tr>
 </table></div>
 <a name="math_toolkit.backgrounders.implementation.median_of_distributions"></a><h5>
-<a name="id1273927"></a>
+<a name="id1380387"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.median_of_distributions">Median
         of distributions</a>
       </h5>
@@ -293,7 +293,7 @@
         Basic Statistics.</a> give more detail, in particular for discrete distributions.
       </p>
 <a name="math_toolkit.backgrounders.implementation.handling_of_floating_point_infinity"></a><h5>
-<a name="id1274045"></a>
+<a name="id1380506"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.handling_of_floating_point_infinity">Handling
         of Floating-Point Infinity</a>
       </h5>
@@ -337,7 +337,7 @@
         handling policies</a>.
       </p>
 <a name="math_toolkit.backgrounders.implementation.scale__shape_and_location"></a><h5>
-<a name="id1274132"></a>
+<a name="id1380592"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.scale__shape_and_location">Scale,
         Shape and Location</a>
       </h5>
@@ -364,7 +364,7 @@
         functions, they can be added if required.
       </p>
 <a name="math_toolkit.backgrounders.implementation.notes_on_implementation_of_specific_functions__amp__distributions"></a><h5>
-<a name="id1274467"></a>
+<a name="id1380927"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.notes_on_implementation_of_specific_functions__amp__distributions">Notes
         on Implementation of Specific Functions &amp; Distributions</a>
       </h5>
@@ -376,7 +376,7 @@
             lower = -1, mode = 0 and upper = 1 would be more suitable.
           </li></ul></div>
 <a name="math_toolkit.backgrounders.implementation.rational_approximations_used"></a><h5>
-<a name="id1274491"></a>
+<a name="id1380951"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.rational_approximations_used">Rational
         Approximations Used</a>
       </h5>
@@ -419,7 +419,7 @@
         to the "true" minimax solution.
       </p>
 <a name="math_toolkit.backgrounders.implementation.representation_of_mathematical_constants"></a><h5>
-<a name="id1274535"></a>
+<a name="id1380996"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.representation_of_mathematical_constants">Representation
         of Mathematical Constants</a>
       </h5>
@@ -480,7 +480,7 @@
 </span><span class="keyword">double</span> <span class="identifier">p</span> <span class="special">=</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">constants</span><span class="special">::</span><span class="identifier">pi</span><span class="special">();</span> <span class="comment">// Context does not allow for disambiguation of overloaded function
 </span></pre>
 <a name="math_toolkit.backgrounders.implementation.thread_safety"></a><h5>
-<a name="id1274921"></a>
+<a name="id1381382"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.thread_safety">Thread
         safety</a>
       </h5>
@@ -505,7 +505,7 @@
         the right thing here at some point.
       </p>
 <a name="math_toolkit.backgrounders.implementation.sources_of_test_data"></a><h5>
-<a name="id1274957"></a>
+<a name="id1381418"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.sources_of_test_data">Sources
         of Test Data</a>
       </h5>
@@ -546,7 +546,7 @@
         the underlying special function is known to be difficult to implement.
       </p>
 <a name="math_toolkit.backgrounders.implementation.creating_and_managing_the_equations"></a><h5>
-<a name="id1275026"></a>
+<a name="id1381486"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.creating_and_managing_the_equations">Creating
         and Managing the Equations</a>
       </h5>
@@ -648,8 +648,8 @@
 <pre class="programlisting"><span class="special">&lt;!--</span> <span class="identifier">Sample</span> <span class="identifier">configuration</span> <span class="keyword">for</span> <span class="identifier">Windows</span> <span class="identifier">TrueType</span> <span class="identifier">fonts</span><span class="special">.</span> <span class="special">--&gt;</span>
 </pre>
 <p>
- is provided in the xep.xml downloaded, but the Windows TrueType fonts are
- commented out.
+ &lt;!-- Sample configuration for Windows TrueType fonts. --&gt; is provided
+ in the xep.xml downloaded, but the Windows TrueType fonts are commented out.
       </p>
 <p>
         JM's XEP config file \xep\xep.xml has the following font configuration section
@@ -731,7 +731,7 @@
         HTML: this needs further investigation.
       </p>
 <a name="math_toolkit.backgrounders.implementation.producing_graphs"></a><h5>
-<a name="id1277263"></a>
+<a name="id1381743"></a>
         <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.producing_graphs">Producing
         Graphs</a>
       </h5>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/lanczos.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/lanczos.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/lanczos.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,10 +24,10 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="math_toolkit.backgrounders.lanczos"></a><a class="link" href="lanczos.html" title="The Lanczos Approximation">The Lanczos Approximation</a>
+<a name="math_toolkit.backgrounders.lanczos"></a><a class="link" href="lanczos.html" title="The Lanczos Approximation"> The Lanczos Approximation</a>
 </h3></div></div></div>
 <a name="math_toolkit.backgrounders.lanczos.motivation"></a><h5>
-<a name="id1277592"></a>
+<a name="id1382076"></a>
         <a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.motivation">Motivation</a>
       </h5>
 <p>
@@ -99,7 +99,7 @@
         functions divided by large powers into single (simpler) expressions.
       </p>
 <a name="math_toolkit.backgrounders.lanczos.the_approximation"></a><h5>
-<a name="id1277850"></a>
+<a name="id1383616"></a>
         <a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.the_approximation">The
         Approximation</a>
       </h5>
@@ -161,7 +161,7 @@
         </p></td></tr>
 </table></div>
 <a name="math_toolkit.backgrounders.lanczos.computing_the_coefficients"></a><h5>
-<a name="id1278042"></a>
+<a name="id1383808"></a>
         <a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.computing_the_coefficients">Computing
         the Coefficients</a>
       </h5>
@@ -205,7 +205,7 @@
         multiplied by <span class="emphasis"><em>F</em></span> as the last step.
       </p>
 <a name="math_toolkit.backgrounders.lanczos.choosing_the_right_parameters"></a><h5>
-<a name="id1278199"></a>
+<a name="id1383965"></a>
         <a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.choosing_the_right_parameters">Choosing
         the Right Parameters</a>
       </h5>
@@ -535,7 +535,7 @@
         is exact, and so isn't used for the gamma function.
       </p>
 <a name="math_toolkit.backgrounders.lanczos.references"></a><h5>
-<a name="id1278738"></a>
+<a name="id1384504"></a>
         <a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.references">References</a>
       </h5>
 <a name="godfrey"></a><a name="pugh"></a><div class="orderedlist"><ol type="1">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/refs.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/refs.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/refs.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,10 +24,10 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="math_toolkit.backgrounders.refs"></a><a class="link" href="refs.html" title="References">References</a>
+<a name="math_toolkit.backgrounders.refs"></a><a class="link" href="refs.html" title="References"> References</a>
 </h3></div></div></div>
 <a name="math_toolkit.backgrounders.refs.general_references"></a><h5>
-<a name="id1279972"></a>
+<a name="id1385428"></a>
         <a class="link" href="refs.html#math_toolkit.backgrounders.refs.general_references">General
         references</a>
       </h5>
@@ -85,7 +85,7 @@
         Library (version 2), Walter E. Brown</a>
       </p>
 <a name="math_toolkit.backgrounders.refs.calculators"></a><h5>
-<a name="id1280059"></a>
+<a name="id1385516"></a>
         <a class="link" href="refs.html#math_toolkit.backgrounders.refs.calculators">Calculators</a>
       </h5>
 <p>
@@ -107,7 +107,7 @@
         Binomial Probability Distribution Calculator.
       </p>
 <a name="math_toolkit.backgrounders.refs.other_libraries"></a><h5>
-<a name="id1280105"></a>
+<a name="id1385561"></a>
         <a class="link" href="refs.html#math_toolkit.backgrounders.refs.other_libraries">Other Libraries</a>
       </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/relative_error.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/relative_error.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/relative_error.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="math_toolkit.backgrounders.relative_error"></a><a class="link" href="relative_error.html" title="Relative Error">Relative Error</a>
+<a name="math_toolkit.backgrounders.relative_error"></a><a class="link" href="relative_error.html" title="Relative Error"> Relative
+ Error</a>
 </h3></div></div></div>
 <p>
         Given an actual value <span class="emphasis"><em>a</em></span> and a found value <span class="emphasis"><em>v</em></span>
@@ -77,8 +78,10 @@
         errors differ by a factor of 2, can actually be accurate to the same number
         of binary digits. You have been warned!
       </p>
-<a name="zero_error"></a><a name="math_toolkit.backgrounders.relative_error.the_impossibility_of_zero_error"></a><h5>
-<a name="id1277549"></a>
+<a name="zero_error"></a><p>
+ </p>
+<a name="math_toolkit.backgrounders.relative_error.the_impossibility_of_zero_error"></a><h5>
+<a name="id1382032"></a>
         <a class="link" href="relative_error.html#math_toolkit.backgrounders.relative_error.the_impossibility_of_zero_error">The
         Impossibility of Zero Error</a>
       </h5>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/remez.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/remez.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/remez.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="math_toolkit.backgrounders.remez"></a><a class="link" href="remez.html" title="The Remez Method">The Remez Method</a>
+<a name="math_toolkit.backgrounders.remez"></a><a class="link" href="remez.html" title="The Remez Method"> The Remez Method</a>
 </h3></div></div></div>
 <p>
         The Remez algorithm
@@ -94,7 +94,7 @@
         are located!</em></span>
       </p>
 <a name="math_toolkit.backgrounders.remez.the_remez_method"></a><h5>
-<a name="id1278923"></a>
+<a name="id1384689"></a>
         <a class="link" href="remez.html#math_toolkit.backgrounders.remez.the_remez_method">The Remez
         Method</a>
       </h5>
@@ -174,7 +174,7 @@
 </td></tr>
 </table></div>
 <a name="math_toolkit.backgrounders.remez.remez_step_1"></a><h5>
-<a name="id1279074"></a>
+<a name="id1384840"></a>
         <a class="link" href="remez.html#math_toolkit.backgrounders.remez.remez_step_1">Remez Step
         1</a>
       </h5>
@@ -205,7 +205,7 @@
         to 5.6x10<sup>-4</sup>.
       </p>
 <a name="math_toolkit.backgrounders.remez.remez_step_2"></a><h5>
-<a name="id1279148"></a>
+<a name="id1384914"></a>
         <a class="link" href="remez.html#math_toolkit.backgrounders.remez.remez_step_2">Remez Step
         2</a>
       </h5>
@@ -234,7 +234,7 @@
         In our example we perform multi-point exchange.
       </p>
 <a name="math_toolkit.backgrounders.remez.iteration"></a><h5>
-<a name="id1279181"></a>
+<a name="id1384947"></a>
         <a class="link" href="remez.html#math_toolkit.backgrounders.remez.iteration">Iteration</a>
       </h5>
 <p>
@@ -250,7 +250,7 @@
         <span class="inlinemediaobject"><img src="../../../graphs/remez-4.png" alt="remez-4"></span>
       </p>
 <a name="math_toolkit.backgrounders.remez.rational_approximations"></a><h5>
-<a name="id1279225"></a>
+<a name="id1384991"></a>
         <a class="link" href="remez.html#math_toolkit.backgrounders.remez.rational_approximations">Rational
         Approximations</a>
       </h5>
@@ -299,7 +299,7 @@
         number of terms overall.
       </p>
 <a name="math_toolkit.backgrounders.remez.practical_considerations"></a><h5>
-<a name="id1279304"></a>
+<a name="id1385070"></a>
         <a class="link" href="remez.html#math_toolkit.backgrounders.remez.practical_considerations">Practical
         Considerations</a>
       </h5>
@@ -407,7 +407,7 @@
         desired minimax solution (5x10<sup>-4</sup>).
       </p>
 <a name="math_toolkit.backgrounders.remez.remez_method_checklist"></a><h5>
-<a name="id1279770"></a>
+<a name="id1385226"></a>
         <a class="link" href="remez.html#math_toolkit.backgrounders.remez.remez_method_checklist">Remez
         Method Checklist</a>
       </h5>
@@ -461,7 +461,7 @@
           </li>
 </ul></div>
 <a name="math_toolkit.backgrounders.remez.references"></a><h5>
-<a name="id1279852"></a>
+<a name="id1385308"></a>
         <a class="link" href="remez.html#math_toolkit.backgrounders.remez.references">References</a>
       </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,183 +24,186 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="math_toolkit.dist"></a><a class="link" href="dist.html" title="Statistical Distributions and Functions">Statistical Distributions and Functions</a>
+<a name="math_toolkit.dist"></a><a class="link" href="dist.html" title="Statistical Distributions and Functions"> Statistical Distributions and Functions</a>
 </h2></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="dist/stat_tut.html">Statistical Distributions
+<dt><span class="section"><a href="dist/stat_tut.html"> Statistical Distributions
       Tutorial</a></span></dt>
 <dd><dl>
-<dt><span class="section">Overview of Distributions</span></dt>
+<dt><span class="section"> Overview of Distributions</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="dist/stat_tut/overview/headers.html">Headers
+<dt><span class="section"><a href="dist/stat_tut/overview/headers.html"> Headers
           and Namespaces</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/overview/objects.html">Distributions
+<dt><span class="section"><a href="dist/stat_tut/overview/objects.html"> Distributions
           are Objects</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/overview/generic.html">Generic
+<dt><span class="section"><a href="dist/stat_tut/overview/generic.html"> Generic
           operations common to all distributions are non-member functions</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/overview/complements.html">Complements
- are supported too - and when to use them</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/overview/parameters.html">Parameters
- can be calculated</a></span></dt>
-<dt><span class="section">Summary</span></dt>
-</dl></dd>
-<dt><span class="section">Worked Examples</span></dt>
-<dd><dl>
-<dt><span class="section"><a href="dist/stat_tut/weg/dist_construct_eg.html">Distribution
- Construction Example</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/st_eg.html">Student's t
- Distribution Examples</a></span></dt>
-<dd><dl>
-<dt><span class="section"><a href="dist/stat_tut/weg/st_eg/tut_mean_intervals.html">Calculating
- confidence intervals on the mean with the Students-t distribution</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/st_eg/tut_mean_test.html">Testing
- a sample mean for difference from a "true" mean</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/st_eg/tut_mean_size.html">Estimating
- how large a sample size would have to become in order to give a significant
- Students-t test result with a single sample test</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/st_eg/two_sample_students_t.html">Comparing
- the means of two samples with the Students-t test</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/st_eg/paired_st.html">Comparing
- two paired samples with the Student's t distribution</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/overview/complements.html">
+ Complements are supported too - and when to use them</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/overview/parameters.html">
+ Parameters can be calculated</a></span></dt>
+<dt><span class="section"> Summary</span></dt>
+</dl></dd>
+<dt><span class="section"> Worked Examples</span></dt>
+<dd><dl>
+<dt><span class="section"><a href="dist/stat_tut/weg/dist_construct_eg.html">
+ Distribution Construction Example</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/st_eg.html"> Student's
+ t Distribution Examples</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="dist/stat_tut/weg/st_eg/tut_mean_intervals.html">
+ Calculating confidence intervals on the mean with the Students-t distribution</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/st_eg/tut_mean_test.html">
+ Testing a sample mean for difference from a "true" mean</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/st_eg/tut_mean_size.html">
+ Estimating how large a sample size would have to become in order to give
+ a significant Students-t test result with a single sample test</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/st_eg/two_sample_students_t.html">
+ Comparing the means of two samples with the Students-t test</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/st_eg/paired_st.html">
+ Comparing two paired samples with the Student's t distribution</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="dist/stat_tut/weg/cs_eg.html">Chi Squared
+<dt><span class="section"><a href="dist/stat_tut/weg/cs_eg.html"> Chi Squared
           Distribution Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="dist/stat_tut/weg/cs_eg/chi_sq_intervals.html">Confidence
- Intervals on the Standard Deviation</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/cs_eg/chi_sq_test.html">Chi-Square
- Test for the Standard Deviation</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/cs_eg/chi_sq_size.html">Estimating
- the Required Sample Sizes for a Chi-Square Test for the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/cs_eg/chi_sq_intervals.html">
+ Confidence Intervals on the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/cs_eg/chi_sq_test.html">
+ Chi-Square Test for the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/cs_eg/chi_sq_size.html">
+ Estimating the Required Sample Sizes for a Chi-Square Test for the Standard
+ Deviation</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="dist/stat_tut/weg/f_eg.html">F Distribution
+<dt><span class="section"><a href="dist/stat_tut/weg/f_eg.html"> F Distribution
           Examples</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/binom_eg.html">Binomial
+<dt><span class="section"><a href="dist/stat_tut/weg/binom_eg.html"> Binomial
           Distribution Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="dist/stat_tut/weg/binom_eg/binomial_coinflip_example.html">Binomial
- Coin-Flipping Example</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/binom_eg/binomial_quiz_example.html">Binomial
- Quiz Example</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/binom_eg/binom_conf.html">Calculating
- Confidence Limits on the Frequency of Occurrence for a Binomial Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/binom_eg/binom_size_eg.html">Estimating
- Sample Sizes for a Binomial Distribution.</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/binom_eg/binomial_coinflip_example.html">
+ Binomial Coin-Flipping Example</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/binom_eg/binomial_quiz_example.html">
+ Binomial Quiz Example</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/binom_eg/binom_conf.html">
+ Calculating Confidence Limits on the Frequency of Occurrence for a Binomial
+ Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/binom_eg/binom_size_eg.html">
+ Estimating Sample Sizes for a Binomial Distribution.</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="dist/stat_tut/weg/geometric_eg.html">Geometric
+<dt><span class="section"><a href="dist/stat_tut/weg/geometric_eg.html"> Geometric
           Distribution Examples</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/neg_binom_eg.html">Negative
+<dt><span class="section"><a href="dist/stat_tut/weg/neg_binom_eg.html"> Negative
           Binomial Distribution Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="dist/stat_tut/weg/neg_binom_eg/neg_binom_conf.html">Calculating
- Confidence Limits on the Frequency of Occurrence for the Negative Binomial
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/neg_binom_eg/neg_binom_size_eg.html">Estimating
- Sample Sizes for the Negative Binomial.</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/neg_binom_eg/negative_binomial_example1.html">Negative
- Binomial Sales Quota Example.</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/neg_binom_eg/negative_binomial_example2.html">Negative
- Binomial Table Printing Example.</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/neg_binom_eg/neg_binom_conf.html">
+ Calculating Confidence Limits on the Frequency of Occurrence for the
+ Negative Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/neg_binom_eg/neg_binom_size_eg.html">
+ Estimating Sample Sizes for the Negative Binomial.</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/neg_binom_eg/negative_binomial_example1.html">
+ Negative Binomial Sales Quota Example.</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/neg_binom_eg/negative_binomial_example2.html">
+ Negative Binomial Table Printing Example.</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="dist/stat_tut/weg/normal_example.html">Normal
+<dt><span class="section"><a href="dist/stat_tut/weg/normal_example.html"> Normal
           Distribution Examples</a></span></dt>
-<dd><dl><dt><span class="section"><a href="dist/stat_tut/weg/normal_example/normal_misc.html">Some
- Miscellaneous Examples of the Normal (Gaussian) Distribution</a></span></dt></dl></dd>
-<dt><span class="section"><a href="dist/stat_tut/weg/nccs_eg.html">Non Central
+<dd><dl><dt><span class="section"><a href="dist/stat_tut/weg/normal_example/normal_misc.html">
+ Some Miscellaneous Examples of the Normal (Gaussian) Distribution</a></span></dt></dl></dd>
+<dt><span class="section"><a href="dist/stat_tut/weg/nccs_eg.html"> Non Central
           Chi Squared Example</a></span></dt>
-<dd><dl><dt><span class="section"><a href="dist/stat_tut/weg/nccs_eg/nccs_power_eg.html">Tables
- of the power function of the &#967;<sup>2</sup> test.</a></span></dt></dl></dd>
-<dt><span class="section"><a href="dist/stat_tut/weg/error_eg.html">Error Handling
+<dd><dl><dt><span class="section"><a href="dist/stat_tut/weg/nccs_eg/nccs_power_eg.html">
+ Tables of the power function of the &#967;<sup>2</sup> test.</a></span></dt></dl></dd>
+<dt><span class="section"><a href="dist/stat_tut/weg/error_eg.html"> Error Handling
           Example</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/find_eg.html">Find Location
+<dt><span class="section"><a href="dist/stat_tut/weg/find_eg.html"> Find Location
           and Scale Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="dist/stat_tut/weg/find_eg/find_location_eg.html">Find
- Location (Mean) Example</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/find_eg/find_scale_eg.html">Find
- Scale (Standard Deviation) Example</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/find_eg/find_mean_and_sd_eg.html">Find
- mean and standard deviation example</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/find_eg/find_location_eg.html">
+ Find Location (Mean) Example</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/find_eg/find_scale_eg.html">
+ Find Scale (Standard Deviation) Example</a></span></dt>
+<dt><span class="section"><a href="dist/stat_tut/weg/find_eg/find_mean_and_sd_eg.html">
+ Find mean and standard deviation example</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="dist/stat_tut/weg/nag_library.html">Comparison
+<dt><span class="section"><a href="dist/stat_tut/weg/nag_library.html"> Comparison
           with C, R, FORTRAN-style Free Functions</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/weg/c_sharp.html">Using the
+<dt><span class="section"><a href="dist/stat_tut/weg/c_sharp.html"> Using the
           Distributions from Within C#</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="dist/stat_tut/variates.html">Random Variates
+<dt><span class="section"><a href="dist/stat_tut/variates.html"> Random Variates
         and Distribution Parameters</a></span></dt>
-<dt><span class="section"><a href="dist/stat_tut/dist_params.html">Discrete Probability
+<dt><span class="section"><a href="dist/stat_tut/dist_params.html"> Discrete Probability
         Distributions</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="dist/dist_ref.html">Statistical Distributions
+<dt><span class="section"><a href="dist/dist_ref.html"> Statistical Distributions
       Reference</a></span></dt>
 <dd><dl>
-<dt><span class="section">Non-Member Properties</span></dt>
-<dt><span class="section">Distributions</span></dt>
+<dt><span class="section"> Non-Member Properties</span></dt>
+<dt><span class="section"> Distributions</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="dist/dist_ref/dists/bernoulli_dist.html">Bernoulli
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/beta_dist.html">Beta
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/binomial_dist.html">Binomial
+<dt><span class="section"><a href="dist/dist_ref/dists/bernoulli_dist.html">
+ Bernoulli Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/beta_dist.html"> Beta
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/cauchy_dist.html">Cauchy-Lorentz
+<dt><span class="section"><a href="dist/dist_ref/dists/binomial_dist.html">
+ Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/cauchy_dist.html"> Cauchy-Lorentz
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/chi_squared_dist.html">Chi
- Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/exp_dist.html">Exponential
+<dt><span class="section"><a href="dist/dist_ref/dists/chi_squared_dist.html">
+ Chi Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/exp_dist.html"> Exponential
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/extreme_dist.html">Extreme
+<dt><span class="section"><a href="dist/dist_ref/dists/extreme_dist.html"> Extreme
           Value Distribution</a></span></dt>
-<dt><span class="section">F Distribution</span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/gamma_dist.html">Gamma
+<dt><span class="section"> F Distribution</span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/gamma_dist.html"> Gamma
           (and Erlang) Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/geometric_dist.html">Geometric
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/hypergeometric_dist.html">Hypergeometric
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/inverse_chi_squared_dist.html">Inverse
- Chi Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/inverse_gamma_dist.html">Inverse
- Gamma Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/inverse_gaussian_dist.html">Inverse
- Gaussian (or Inverse Normal) Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/laplace_dist.html">Laplace
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/logistic_dist.html">Logistic
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/lognormal_dist.html">Log
- Normal Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/negative_binomial_dist.html">Negative
- Binomial Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/nc_beta_dist.html">Noncentral
+<dt><span class="section"><a href="dist/dist_ref/dists/geometric_dist.html">
+ Geometric Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/hypergeometric_dist.html">
+ Hypergeometric Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/inverse_chi_squared_dist.html">
+ Inverse Chi Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/inverse_gamma_dist.html">
+ Inverse Gamma Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/inverse_gaussian_dist.html">
+ Inverse Gaussian (or Inverse Normal) Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/laplace_dist.html"> Laplace
+ Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/logistic_dist.html">
+ Logistic Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/lognormal_dist.html">
+ Log Normal Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/negative_binomial_dist.html">
+ Negative Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/nc_beta_dist.html"> Noncentral
           Beta Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/nc_chi_squared_dist.html">Noncentral
- Chi-Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/nc_f_dist.html">Noncentral
+<dt><span class="section"><a href="dist/dist_ref/dists/nc_chi_squared_dist.html">
+ Noncentral Chi-Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/nc_f_dist.html"> Noncentral
           F Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/nc_t_dist.html">Noncentral
+<dt><span class="section"><a href="dist/dist_ref/dists/nc_t_dist.html"> Noncentral
           T Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/normal_dist.html">Normal
+<dt><span class="section"><a href="dist/dist_ref/dists/normal_dist.html"> Normal
           (Gaussian) Distribution</a></span></dt>
-<dt><span class="section">Pareto Distribution</span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/poisson_dist.html">Poisson
+<dt><span class="section"><a href="dist/dist_ref/dists/pareto.html"> Pareto
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/rayleigh.html">Rayleigh
+<dt><span class="section"><a href="dist/dist_ref/dists/poisson_dist.html"> Poisson
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/students_t_dist.html">Students
- t Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/triangular_dist.html">Triangular
+<dt><span class="section"><a href="dist/dist_ref/dists/rayleigh.html"> Rayleigh
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/uniform_dist.html">Uniform
+<dt><span class="section"><a href="dist/dist_ref/dists/students_t_dist.html">
+ Students t Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/triangular_dist.html">
+ Triangular Distribution</a></span></dt>
+<dt><span class="section"><a href="dist/dist_ref/dists/uniform_dist.html"> Uniform
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist/dist_ref/dists/weibull_dist.html">Weibull
+<dt><span class="section"><a href="dist/dist_ref/dists/weibull_dist.html"> Weibull
           Distribution</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="dist/dist_ref/dist_algorithms.html">Distribution
+<dt><span class="section"><a href="dist/dist_ref/dist_algorithms.html"> Distribution
         Algorithms</a></span></dt>
 </dl></dd>
-<dt><span class="section">Extras/Future Directions</span></dt>
+<dt><span class="section"> Extras/Future Directions</span></dt>
 </dl></div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,73 +24,74 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="math_toolkit.dist.dist_ref"></a><a class="link" href="dist_ref.html" title="Statistical Distributions Reference">Statistical Distributions
+<a name="math_toolkit.dist.dist_ref"></a><a class="link" href="dist_ref.html" title="Statistical Distributions Reference"> Statistical Distributions
       Reference</a>
 </h3></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section">Non-Member Properties</span></dt>
-<dt><span class="section">Distributions</span></dt>
+<dt><span class="section"> Non-Member Properties</span></dt>
+<dt><span class="section"> Distributions</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="dist_ref/dists/bernoulli_dist.html">Bernoulli
+<dt><span class="section"><a href="dist_ref/dists/bernoulli_dist.html">
+ Bernoulli Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/beta_dist.html"> Beta
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/beta_dist.html">Beta
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/binomial_dist.html">Binomial
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/cauchy_dist.html">Cauchy-Lorentz
+<dt><span class="section"><a href="dist_ref/dists/binomial_dist.html">
+ Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/cauchy_dist.html"> Cauchy-Lorentz
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/chi_squared_dist.html">Chi
- Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/exp_dist.html">Exponential
+<dt><span class="section"><a href="dist_ref/dists/chi_squared_dist.html">
+ Chi Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/exp_dist.html"> Exponential
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/extreme_dist.html">Extreme
+<dt><span class="section"><a href="dist_ref/dists/extreme_dist.html"> Extreme
           Value Distribution</a></span></dt>
-<dt><span class="section">F Distribution</span></dt>
-<dt><span class="section"><a href="dist_ref/dists/gamma_dist.html">Gamma
+<dt><span class="section"> F Distribution</span></dt>
+<dt><span class="section"><a href="dist_ref/dists/gamma_dist.html"> Gamma
           (and Erlang) Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/geometric_dist.html">Geometric
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/hypergeometric_dist.html">Hypergeometric
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/inverse_chi_squared_dist.html">Inverse
- Chi Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/inverse_gamma_dist.html">Inverse
- Gamma Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/inverse_gaussian_dist.html">Inverse
- Gaussian (or Inverse Normal) Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/laplace_dist.html">Laplace
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/logistic_dist.html">Logistic
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/lognormal_dist.html">Log
- Normal Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/negative_binomial_dist.html">Negative
- Binomial Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/nc_beta_dist.html">Noncentral
+<dt><span class="section"><a href="dist_ref/dists/geometric_dist.html">
+ Geometric Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/hypergeometric_dist.html">
+ Hypergeometric Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/inverse_chi_squared_dist.html">
+ Inverse Chi Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/inverse_gamma_dist.html">
+ Inverse Gamma Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/inverse_gaussian_dist.html">
+ Inverse Gaussian (or Inverse Normal) Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/laplace_dist.html"> Laplace
+ Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/logistic_dist.html">
+ Logistic Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/lognormal_dist.html">
+ Log Normal Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/negative_binomial_dist.html">
+ Negative Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/nc_beta_dist.html"> Noncentral
           Beta Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/nc_chi_squared_dist.html">Noncentral
- Chi-Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/nc_f_dist.html">Noncentral
+<dt><span class="section"><a href="dist_ref/dists/nc_chi_squared_dist.html">
+ Noncentral Chi-Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/nc_f_dist.html"> Noncentral
           F Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/nc_t_dist.html">Noncentral
+<dt><span class="section"><a href="dist_ref/dists/nc_t_dist.html"> Noncentral
           T Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/normal_dist.html">Normal
+<dt><span class="section"><a href="dist_ref/dists/normal_dist.html"> Normal
           (Gaussian) Distribution</a></span></dt>
-<dt><span class="section">Pareto Distribution</span></dt>
-<dt><span class="section"><a href="dist_ref/dists/poisson_dist.html">Poisson
+<dt><span class="section"><a href="dist_ref/dists/pareto.html"> Pareto
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/rayleigh.html">Rayleigh
+<dt><span class="section"><a href="dist_ref/dists/poisson_dist.html"> Poisson
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/students_t_dist.html">Students
- t Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/triangular_dist.html">Triangular
+<dt><span class="section"><a href="dist_ref/dists/rayleigh.html"> Rayleigh
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/uniform_dist.html">Uniform
+<dt><span class="section"><a href="dist_ref/dists/students_t_dist.html">
+ Students t Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/triangular_dist.html">
+ Triangular Distribution</a></span></dt>
+<dt><span class="section"><a href="dist_ref/dists/uniform_dist.html"> Uniform
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dist_ref/dists/weibull_dist.html">Weibull
+<dt><span class="section"><a href="dist_ref/dists/weibull_dist.html"> Weibull
           Distribution</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="dist_ref/dist_algorithms.html">Distribution
+<dt><span class="section"><a href="dist_ref/dist_algorithms.html"> Distribution
         Algorithms</a></span></dt>
 </dl></div>
 </div>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dist_algorithms.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dist_algorithms.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dist_algorithms.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,11 +24,11 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="math_toolkit.dist.dist_ref.dist_algorithms"></a><a class="link" href="dist_algorithms.html" title="Distribution Algorithms">Distribution
+<a name="math_toolkit.dist.dist_ref.dist_algorithms"></a><a class="link" href="dist_algorithms.html" title="Distribution Algorithms"> Distribution
         Algorithms</a>
 </h4></div></div></div>
 <a name="math_toolkit.dist.dist_ref.dist_algorithms.finding_the_location_and_scale_for_normal_and_similar_distributions"></a><h5>
-<a name="id1048899"></a>
+<a name="id1156159"></a>
           <a class="link" href="dist_algorithms.html#math_toolkit.dist.dist_ref.dist_algorithms.finding_the_location_and_scale_for_normal_and_similar_distributions">Finding
           the Location and Scale for Normal and similar distributions</a>
         </h5>
@@ -50,7 +50,7 @@
 </span><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">complement</span><span class="special">;</span> <span class="comment">// Will be needed by users who want to use complements.
 </span></pre>
 <a name="math_toolkit.dist.dist_ref.dist_algorithms.find_location_function"></a><h5>
-<a name="id1049027"></a>
+<a name="id1156258"></a>
           <a class="link" href="dist_algorithms.html#math_toolkit.dist.dist_ref.dist_algorithms.find_location_function">find_location
           function</a>
         </h5>
@@ -80,7 +80,7 @@
   <span class="special">}}</span> <span class="comment">// namespaces
 </span></pre>
 <a name="math_toolkit.dist.dist_ref.dist_algorithms.find_scale_function"></a><h5>
-<a name="id1049472"></a>
+<a name="id1156703"></a>
           <a class="link" href="dist_algorithms.html#math_toolkit.dist.dist_ref.dist_algorithms.find_scale_function">find_scale
           function</a>
         </h5>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,66 +24,67 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="math_toolkit.dist.dist_ref.dists"></a><a class="link" href="dists.html" title="Distributions">Distributions</a>
+<a name="math_toolkit.dist.dist_ref.dists"></a><a class="link" href="dists.html" title="Distributions"> Distributions</a>
 </h4></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="dists/bernoulli_dist.html">Bernoulli
+<dt><span class="section"><a href="dists/bernoulli_dist.html">
+ Bernoulli Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/beta_dist.html"> Beta
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/beta_dist.html">Beta
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/binomial_dist.html">Binomial
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/cauchy_dist.html">Cauchy-Lorentz
+<dt><span class="section"><a href="dists/binomial_dist.html">
+ Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/cauchy_dist.html"> Cauchy-Lorentz
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/chi_squared_dist.html">Chi
- Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/exp_dist.html">Exponential
+<dt><span class="section"><a href="dists/chi_squared_dist.html">
+ Chi Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/exp_dist.html"> Exponential
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/extreme_dist.html">Extreme
+<dt><span class="section"><a href="dists/extreme_dist.html"> Extreme
           Value Distribution</a></span></dt>
-<dt><span class="section">F Distribution</span></dt>
-<dt><span class="section"><a href="dists/gamma_dist.html">Gamma
+<dt><span class="section"> F Distribution</span></dt>
+<dt><span class="section"><a href="dists/gamma_dist.html"> Gamma
           (and Erlang) Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/geometric_dist.html">Geometric
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/hypergeometric_dist.html">Hypergeometric
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/inverse_chi_squared_dist.html">Inverse
- Chi Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/inverse_gamma_dist.html">Inverse
- Gamma Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/inverse_gaussian_dist.html">Inverse
- Gaussian (or Inverse Normal) Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/laplace_dist.html">Laplace
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/logistic_dist.html">Logistic
- Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/lognormal_dist.html">Log
- Normal Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/negative_binomial_dist.html">Negative
- Binomial Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/nc_beta_dist.html">Noncentral
+<dt><span class="section"><a href="dists/geometric_dist.html">
+ Geometric Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/hypergeometric_dist.html">
+ Hypergeometric Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/inverse_chi_squared_dist.html">
+ Inverse Chi Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/inverse_gamma_dist.html">
+ Inverse Gamma Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/inverse_gaussian_dist.html">
+ Inverse Gaussian (or Inverse Normal) Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/laplace_dist.html"> Laplace
+ Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/logistic_dist.html">
+ Logistic Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/lognormal_dist.html">
+ Log Normal Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/negative_binomial_dist.html">
+ Negative Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/nc_beta_dist.html"> Noncentral
           Beta Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/nc_chi_squared_dist.html">Noncentral
- Chi-Squared Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/nc_f_dist.html">Noncentral
+<dt><span class="section"><a href="dists/nc_chi_squared_dist.html">
+ Noncentral Chi-Squared Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/nc_f_dist.html"> Noncentral
           F Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/nc_t_dist.html">Noncentral
+<dt><span class="section"><a href="dists/nc_t_dist.html"> Noncentral
           T Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/normal_dist.html">Normal
+<dt><span class="section"><a href="dists/normal_dist.html"> Normal
           (Gaussian) Distribution</a></span></dt>
-<dt><span class="section">Pareto Distribution</span></dt>
-<dt><span class="section"><a href="dists/poisson_dist.html">Poisson
+<dt><span class="section"><a href="dists/pareto.html"> Pareto
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/rayleigh.html">Rayleigh
+<dt><span class="section"><a href="dists/poisson_dist.html"> Poisson
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/students_t_dist.html">Students
- t Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/triangular_dist.html">Triangular
+<dt><span class="section"><a href="dists/rayleigh.html"> Rayleigh
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/uniform_dist.html">Uniform
+<dt><span class="section"><a href="dists/students_t_dist.html">
+ Students t Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/triangular_dist.html">
+ Triangular Distribution</a></span></dt>
+<dt><span class="section"><a href="dists/uniform_dist.html"> Uniform
           Distribution</a></span></dt>
-<dt><span class="section"><a href="dists/weibull_dist.html">Weibull
+<dt><span class="section"><a href="dists/weibull_dist.html"> Weibull
           Distribution</a></span></dt>
 </dl></div>
 </div>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/bernoulli_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/bernoulli_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/bernoulli_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist"></a><a class="link" href="bernoulli_dist.html" title="Bernoulli Distribution">Bernoulli
- Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist"></a><a class="link" href="bernoulli_dist.html" title="Bernoulli Distribution">
+ Bernoulli Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -87,7 +87,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/bernoulli_cdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.member_functions"></a><h5>
-<a name="id984516"></a>
+<a name="id1095040"></a>
             <a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -103,7 +103,7 @@
             Returns the <span class="emphasis"><em>success_fraction</em></span> parameter of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.non_member_accessors"></a><h5>
-<a name="id984594"></a>
+<a name="id1095118"></a>
             <a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -128,7 +128,7 @@
             exception and make an error message available.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.accuracy"></a><h5>
-<a name="id984698"></a>
+<a name="id1095222"></a>
             <a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -136,7 +136,7 @@
             and so should have errors within an epsilon or two.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.implementation"></a><h5>
-<a name="id984719"></a>
+<a name="id1095243"></a>
             <a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -327,7 +327,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.references"></a><h5>
-<a name="id985048"></a>
+<a name="id1095572"></a>
             <a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.references">References</a>
           </h5>
 <div class="itemizedlist"><ul type="disc">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/beta_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/beta_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/beta_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.beta_dist"></a><a class="link" href="beta_dist.html" title="Beta Distribution">Beta
+<a name="math_toolkit.dist.dist_ref.dists.beta_dist"></a><a class="link" href="beta_dist.html" title="Beta Distribution"> Beta
           Distribution</a>
 </h5></div></div></div>
 <p>
@@ -132,12 +132,12 @@
             whose apex is away from the centre (where x = half).
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.beta_dist.member_functions"></a><h5>
-<a name="id985863"></a>
+<a name="id1096460"></a>
             <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.member_functions">Member
             Functions</a>
           </h5>
 <a name="math_toolkit.dist.dist_ref.dists.beta_dist.constructor"></a><h6>
-<a name="id985878"></a>
+<a name="id1096476"></a>
             <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.constructor">Constructor</a>
           </h6>
 <pre class="programlisting"><span class="identifier">beta_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">alpha</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">beta</span><span class="special">);</span>
@@ -164,7 +164,7 @@
             yellow in the graph above).
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.beta_dist.parameter_accessors"></a><h6>
-<a name="id985994"></a>
+<a name="id1096591"></a>
             <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.parameter_accessors">Parameter
             Accessors</a>
           </h6>
@@ -188,7 +188,7 @@
 </span><span class="identifier">assert</span><span class="special">(</span><span class="identifier">mybeta</span><span class="special">.</span><span class="identifier">beta</span><span class="special">()</span> <span class="special">==</span> <span class="number">5.</span><span class="special">);</span> <span class="comment">// mybeta.beta() returns 5
 </span></pre>
 <a name="math_toolkit.dist.dist_ref.dists.beta_dist.parameter_estimators"></a><h5>
-<a name="id986195"></a>
+<a name="id1096792"></a>
             <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.parameter_estimators">Parameter
             Estimators</a>
           </h5>
@@ -241,7 +241,7 @@
             Returns the value of &#946; &#160; that gives: <code class="computeroutput"><span class="identifier">cdf</span><span class="special">(</span><span class="identifier">beta_distribution</span><span class="special">&lt;</span><span class="identifier">RealType</span><span class="special">&gt;(</span><span class="identifier">alpha</span><span class="special">,</span> <span class="identifier">beta</span><span class="special">),</span> <span class="identifier">x</span><span class="special">)</span> <span class="special">==</span> <span class="identifier">probability</span></code>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.beta_dist.non_member_accessor_functions"></a><h5>
-<a name="id988421"></a>
+<a name="id1097242"></a>
             <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.non_member_accessor_functions">Non-member
             Accessor Functions</a>
           </h5>
@@ -263,7 +263,7 @@
             Mathworld</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.beta_dist.applications"></a><h5>
-<a name="id988523"></a>
+<a name="id1097344"></a>
             <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.applications">Applications</a>
           </h5>
 <p>
@@ -276,7 +276,7 @@
             statistical inference</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.beta_dist.related_distributions"></a><h5>
-<a name="id988548"></a>
+<a name="id1097370"></a>
             <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.related_distributions">Related
             distributions</a>
           </h5>
@@ -303,7 +303,7 @@
             Distribution</a> with its p parameter set to x.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.beta_dist.accuracy"></a><h5>
-<a name="id988595"></a>
+<a name="id1097416"></a>
             <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -315,7 +315,7 @@
             please refer to these functions for information on accuracy.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.beta_dist.implementation"></a><h5>
-<a name="id988639"></a>
+<a name="id1097461"></a>
             <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -500,6 +500,8 @@
                     </p>
                   </td>
 <td>
+ <p>
+ </p>
                   </td>
 </tr>
 <tr>
@@ -594,7 +596,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.beta_dist.references"></a><h5>
-<a name="id989663"></a>
+<a name="id1098743"></a>
             <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.references">References</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/binomial_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/binomial_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/binomial_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.binomial_dist"></a><a class="link" href="binomial_dist.html" title="Binomial Distribution">Binomial
- Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist"></a><a class="link" href="binomial_dist.html" title="Binomial Distribution">
+ Binomial Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -127,6 +127,8 @@
 <p>
             <span class="inlinemediaobject"><img src="../../../../../graphs/binomial_pdf_2.png" align="middle"></span>
           </p>
+<p>
+ </p>
 <div class="caution"><table border="0" summary="Caution">
 <tr>
 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Caution]" src="../../../../../../../../../doc/src/images/caution.png"></td>
@@ -134,39 +136,43 @@
 </tr>
 <tr><td align="left" valign="top">
 <p>
- The Binomial distribution is a discrete distribution: internally, functions
- like the <code class="computeroutput"><span class="identifier">cdf</span></code> and <code class="computeroutput"><span class="identifier">pdf</span></code> are treated "as if"
- they are continuous functions, but in reality the results returned
- from these functions only have meaning if an integer value is provided
- for the random variate argument.
- </p>
-<p>
- The quantile function will by default return an integer result that
- has been <span class="emphasis"><em>rounded outwards</em></span>. That is to say lower
- quantiles (where the probability is less than 0.5) are rounded downward,
- and upper quantiles (where the probability is greater than 0.5) are
- rounded upwards. This behaviour ensures that if an X% quantile is requested,
- then <span class="emphasis"><em>at least</em></span> the requested coverage will be present
- in the central region, and <span class="emphasis"><em>no more than</em></span> the requested
- coverage will be present in the tails.
- </p>
-<p>
- This behaviour can be changed so that the quantile functions are rounded
- differently, or even return a real-valued result using <a class="link" href="../../../policy/pol_overview.html" title="Policy Overview">Policies</a>.
- It is strongly recommended that you read the tutorial <a class="link" href="../../../policy/pol_tutorial/understand_dis_quant.html" title="Understanding Quantiles of Discrete Distributions">Understanding
- Quantiles of Discrete Distributions</a> before using the quantile
- function on the Binomial distribution. The <a class="link" href="../../../policy/pol_ref/discrete_quant_ref.html" title="Discrete Quantile Policies">reference
- docs</a> describe how to change the rounding policy for these distributions.
- </p>
+ The Binomial distribution is a discrete distribution: internally,
+ functions like the <code class="computeroutput"><span class="identifier">cdf</span></code>
+ and <code class="computeroutput"><span class="identifier">pdf</span></code> are treated
+ "as if" they are continuous functions, but in reality the
+ results returned from these functions only have meaning if an integer
+ value is provided for the random variate argument.
+ </p>
+<p>
+ The quantile function will by default return an integer result that
+ has been <span class="emphasis"><em>rounded outwards</em></span>. That is to say lower
+ quantiles (where the probability is less than 0.5) are rounded downward,
+ and upper quantiles (where the probability is greater than 0.5) are
+ rounded upwards. This behaviour ensures that if an X% quantile is
+ requested, then <span class="emphasis"><em>at least</em></span> the requested coverage
+ will be present in the central region, and <span class="emphasis"><em>no more than</em></span>
+ the requested coverage will be present in the tails.
+ </p>
+<p>
+ This behaviour can be changed so that the quantile functions are
+ rounded differently, or even return a real-valued result using <a class="link" href="../../../policy/pol_overview.html" title="Policy Overview">Policies</a>. It is
+ strongly recommended that you read the tutorial <a class="link" href="../../../policy/pol_tutorial/understand_dis_quant.html" title="Understanding Quantiles of Discrete Distributions">Understanding
+ Quantiles of Discrete Distributions</a> before using the quantile
+ function on the Binomial distribution. The <a class="link" href="../../../policy/pol_ref/discrete_quant_ref.html" title="Discrete Quantile Policies">reference
+ docs</a> describe how to change the rounding policy for these
+ distributions.
+ </p>
 </td></tr>
 </table></div>
+<p>
+ </p>
 <a name="math_toolkit.dist.dist_ref.dists.binomial_dist.member_functions"></a><h5>
-<a name="id991920"></a>
+<a name="id1099693"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.member_functions">Member
             Functions</a>
           </h5>
 <a name="math_toolkit.dist.dist_ref.dists.binomial_dist.construct"></a><h6>
-<a name="id991938"></a>
+<a name="id1099711"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.construct">Construct</a>
           </h6>
 <pre class="programlisting"><span class="identifier">binomial_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">n</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">p</span><span class="special">);</span>
@@ -183,7 +189,7 @@
             otherwise calls <a class="link" href="../../../main_overview/error_handling.html#domain_error">domain_error</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.binomial_dist.accessors"></a><h6>
-<a name="id992055"></a>
+<a name="id1099829"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.accessors">Accessors</a>
           </h6>
 <pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">success_fraction</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
@@ -199,7 +205,7 @@
             was constructed.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.binomial_dist.lower_bound_on_the_success_fraction"></a><h6>
-<a name="id992136"></a>
+<a name="id1099909"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.lower_bound_on_the_success_fraction">Lower
             Bound on the Success Fraction</a>
           </h6>
@@ -305,7 +311,7 @@
             limits illustrated in the case of the binomial. Biometrika 26 404-413.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.binomial_dist.upper_bound_on_the_success_fraction"></a><h6>
-<a name="id992589"></a>
+<a name="id1100363"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.upper_bound_on_the_success_fraction">Upper
             Bound on the Success Fraction</a>
           </h6>
@@ -383,7 +389,7 @@
 </td></tr>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.binomial_dist.estimating_the_number_of_trials_required_for_a_certain_number_of_successes"></a><h6>
-<a name="id992905"></a>
+<a name="id1101856"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.estimating_the_number_of_trials_required_for_a_certain_number_of_successes">Estimating
             the Number of Trials Required for a Certain Number of Successes</a>
           </h6>
@@ -425,7 +431,7 @@
             of seeing 10 events that occur with frequency one half.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.binomial_dist.estimating_the_maximum_number_of_trials_to_ensure_no_more_than_a_certain_number_of_successes"></a><h6>
-<a name="id993106"></a>
+<a name="id1102058"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.estimating_the_maximum_number_of_trials_to_ensure_no_more_than_a_certain_number_of_successes">Estimating
             the Maximum Number of Trials to Ensure no more than a Certain Number
             of Successes</a>
@@ -473,7 +479,7 @@
             Worked Example.</a>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.binomial_dist.non_member_accessors"></a><h5>
-<a name="id993316"></a>
+<a name="id1102268"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -622,7 +628,7 @@
 </table></div>
 </div>
 <br class="table-break"><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.examples"></a><h5>
-<a name="id994130"></a>
+<a name="id1102823"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.examples">Examples</a>
           </h5>
 <p>
@@ -630,7 +636,7 @@
             examples</a> are available illustrating the use of the binomial distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.binomial_dist.accuracy"></a><h5>
-<a name="id994152"></a>
+<a name="id1102845"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -640,7 +646,7 @@
             please refer to these functions for information on accuracy.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.binomial_dist.implementation"></a><h5>
-<a name="id994180"></a>
+<a name="id1102874"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -884,7 +890,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.binomial_dist.references"></a><h5>
-<a name="id995230"></a>
+<a name="id1103943"></a>
             <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.references">References</a>
           </h5>
 <div class="itemizedlist"><ul type="disc">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/cauchy_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/cauchy_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/cauchy_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.cauchy_dist"></a><a class="link" href="cauchy_dist.html" title="Cauchy-Lorentz Distribution">Cauchy-Lorentz
+<a name="math_toolkit.dist.dist_ref.dists.cauchy_dist"></a><a class="link" href="cauchy_dist.html" title="Cauchy-Lorentz Distribution"> Cauchy-Lorentz
           Distribution</a>
 </h5></div></div></div>
 <p>
@@ -88,7 +88,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/cauchy_pdf2.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.member_functions"></a><h5>
-<a name="id995749"></a>
+<a name="id1104462"></a>
             <a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -114,7 +114,7 @@
             Returns the scale parameter of the distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.non_member_accessors"></a><h5>
-<a name="id995896"></a>
+<a name="id1104609"></a>
             <a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -148,7 +148,7 @@
             The domain of the random variable is [-[max_value], +[min_value]].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.accuracy"></a><h5>
-<a name="id996039"></a>
+<a name="id1104752"></a>
             <a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -157,7 +157,7 @@
             have very low error rates.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.implementation"></a><h5>
-<a name="id996073"></a>
+<a name="id1104786"></a>
             <a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -273,7 +273,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.references"></a><h5>
-<a name="id997539"></a>
+<a name="id1105012"></a>
             <a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.references">References</a>
           </h5>
 <div class="itemizedlist"><ul type="disc">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/chi_squared_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/chi_squared_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/chi_squared_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist"></a><a class="link" href="chi_squared_dist.html" title="Chi Squared Distribution">Chi
- Squared Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist"></a><a class="link" href="chi_squared_dist.html" title="Chi Squared Distribution">
+ Chi Squared Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -87,7 +87,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/chi_squared_pdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.member_functions"></a><h5>
-<a name="id998104"></a>
+<a name="id1105578"></a>
             <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -170,7 +170,7 @@
             NIST Engineering Statistics Handbook, Section 7.2.3.2</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.non_member_accessors"></a><h5>
-<a name="id998436"></a>
+<a name="id1105909"></a>
             <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -196,7 +196,7 @@
             The domain of the random variable is [0, +&#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.examples"></a><h5>
-<a name="id998539"></a>
+<a name="id1106716"></a>
             <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.examples">Examples</a>
           </h5>
 <p>
@@ -204,7 +204,7 @@
             are available illustrating the use of the Chi Squared Distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.accuracy"></a><h5>
-<a name="id998565"></a>
+<a name="id1106742"></a>
             <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -212,7 +212,7 @@
             gamma functions</a>: please refer to the accuracy data for those functions.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.implementation"></a><h5>
-<a name="id998589"></a>
+<a name="id1106766"></a>
             <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -379,7 +379,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.references"></a><h5>
-<a name="id998886"></a>
+<a name="id1107063"></a>
             <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.references">References</a>
           </h5>
 <div class="itemizedlist"><ul type="disc">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/exp_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/exp_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/exp_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.exp_dist"></a><a class="link" href="exp_dist.html" title="Exponential Distribution">Exponential
+<a name="math_toolkit.dist.dist_ref.dists.exp_dist"></a><a class="link" href="exp_dist.html" title="Exponential Distribution"> Exponential
           Distribution</a>
 </h5></div></div></div>
 <p>
@@ -71,7 +71,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/exponential_pdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.exp_dist.member_functions"></a><h5>
-<a name="id999320"></a>
+<a name="id1107497"></a>
             <a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -91,7 +91,7 @@
             Accessor function returns the lambda parameter of the distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.exp_dist.non_member_accessors"></a><h5>
-<a name="id999421"></a>
+<a name="id1107598"></a>
             <a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -111,7 +111,7 @@
             The domain of the random variable is [0, +&#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.exp_dist.accuracy"></a><h5>
-<a name="id999520"></a>
+<a name="id1107697"></a>
             <a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -122,7 +122,7 @@
             should have very low error rates.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.exp_dist.implementation"></a><h5>
-<a name="id999568"></a>
+<a name="id1107745"></a>
             <a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -283,7 +283,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.exp_dist.references"></a><h5>
-<a name="id1000612"></a>
+<a name="id1108012"></a>
             <a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.references">references</a>
           </h5>
 <div class="itemizedlist"><ul type="disc">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/extreme_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/extreme_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/extreme_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.extreme_dist"></a><a class="link" href="extreme_dist.html" title="Extreme Value Distribution">Extreme
+<a name="math_toolkit.dist.dist_ref.dists.extreme_dist"></a><a class="link" href="extreme_dist.html" title="Extreme Value Distribution"> Extreme
           Value Distribution</a>
 </h5></div></div></div>
 <p>
@@ -100,7 +100,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/extreme_value_pdf2.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.extreme_dist.member_functions"></a><h5>
-<a name="id1001175"></a>
+<a name="id1108575"></a>
             <a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -125,7 +125,7 @@
             Returns the scale parameter of the distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.extreme_dist.non_member_accessors"></a><h5>
-<a name="id1001331"></a>
+<a name="id1108731"></a>
             <a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -145,7 +145,7 @@
             The domain of the random parameter is [-&#8734;, +&#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.extreme_dist.accuracy"></a><h5>
-<a name="id1001428"></a>
+<a name="id1108828"></a>
             <a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -154,7 +154,7 @@
             very low error rates.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.extreme_dist.implementation"></a><h5>
-<a name="id1001461"></a>
+<a name="id1110260"></a>
             <a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/f_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/f_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/f_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.f_dist"></a><a class="link" href="f_dist.html" title="F Distribution">F Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.f_dist"></a><a class="link" href="f_dist.html" title="F Distribution"> F Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -80,7 +80,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/fisher_f_pdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.f_dist.member_functions"></a><h5>
-<a name="id1002225"></a>
+<a name="id1111023"></a>
             <a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -106,7 +106,7 @@
             Returns the denominator degrees of freedom parameter of the distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.f_dist.non_member_accessors"></a><h5>
-<a name="id1002378"></a>
+<a name="id1111176"></a>
             <a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -126,7 +126,7 @@
             The domain of the random variable is [0, +&#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.f_dist.examples"></a><h5>
-<a name="id1002478"></a>
+<a name="id1111276"></a>
             <a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.examples">Examples</a>
           </h5>
 <p>
@@ -134,7 +134,7 @@
             are available illustrating the use of the F Distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.f_dist.accuracy"></a><h5>
-<a name="id1002499"></a>
+<a name="id1111298"></a>
             <a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -143,7 +143,7 @@
             refer to those functions for accuracy data.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.f_dist.implementation"></a><h5>
-<a name="id1002526"></a>
+<a name="id1111324"></a>
             <a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/gamma_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/gamma_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/gamma_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.gamma_dist"></a><a class="link" href="gamma_dist.html" title="Gamma (and Erlang) Distribution">Gamma
+<a name="math_toolkit.dist.dist_ref.dists.gamma_dist"></a><a class="link" href="gamma_dist.html" title="Gamma (and Erlang) Distribution"> Gamma
           (and Erlang) Distribution</a>
 </h5></div></div></div>
 <p>
@@ -137,7 +137,7 @@
             than a dedicated Erlang Distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.gamma_dist.member_functions"></a><h5>
-<a name="id1003747"></a>
+<a name="id1112403"></a>
             <a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -162,7 +162,7 @@
             Returns the <span class="emphasis"><em>scale</em></span> parameter of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.gamma_dist.non_member_accessors"></a><h5>
-<a name="id1003892"></a>
+<a name="id1113257"></a>
             <a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -182,7 +182,7 @@
             The domain of the random variable is [0,+&#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.gamma_dist.accuracy"></a><h5>
-<a name="id1003989"></a>
+<a name="id1113354"></a>
             <a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -194,7 +194,7 @@
             refer to the accuracy data for those functions for more information.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.gamma_dist.implementation"></a><h5>
-<a name="id1004028"></a>
+<a name="id1113392"></a>
             <a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/geometric_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/geometric_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/geometric_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.geometric_dist"></a><a class="link" href="geometric_dist.html" title="Geometric Distribution">Geometric
- Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist"></a><a class="link" href="geometric_dist.html" title="Geometric Distribution">
+ Geometric Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -146,7 +146,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/geometric_cdf_discrete.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.geometric_dist.related_distributions"></a><h5>
-<a name="id1006335"></a>
+<a name="id1114576"></a>
             <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.related_distributions">Related
             Distributions</a>
           </h5>
@@ -171,6 +171,8 @@
             take integer values (floor or ceil functions) from functions that return
             a number of successes.
           </p>
+<p>
+ </p>
 <div class="caution"><table border="0" summary="Caution">
 <tr>
 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Caution]" src="../../../../../../../../../doc/src/images/caution.png"></td>
@@ -178,40 +180,43 @@
 </tr>
 <tr><td align="left" valign="top">
 <p>
- The geometric distribution is a discrete distribution: internally,
- functions like the <code class="computeroutput"><span class="identifier">cdf</span></code>
- and <code class="computeroutput"><span class="identifier">pdf</span></code> are treated
- "as if" they are continuous functions, but in reality the
- results returned from these functions only have meaning if an integer
- value is provided for the random variate argument.
- </p>
-<p>
- The quantile function will by default return an integer result that
- has been <span class="emphasis"><em>rounded outwards</em></span>. That is to say lower
- quantiles (where the probability is less than 0.5) are rounded downward,
- and upper quantiles (where the probability is greater than 0.5) are
- rounded upwards. This behaviour ensures that if an X% quantile is requested,
- then <span class="emphasis"><em>at least</em></span> the requested coverage will be present
- in the central region, and <span class="emphasis"><em>no more than</em></span> the requested
- coverage will be present in the tails.
- </p>
-<p>
- This behaviour can be changed so that the quantile functions are rounded
- differently, or even return a real-valued result using <a class="link" href="../../../policy/pol_overview.html" title="Policy Overview">Policies</a>.
- It is strongly recommended that you read the tutorial <a class="link" href="../../../policy/pol_tutorial/understand_dis_quant.html" title="Understanding Quantiles of Discrete Distributions">Understanding
- Quantiles of Discrete Distributions</a> before using the quantile
- function on the geometric distribution. The <a class="link" href="../../../policy/pol_ref/discrete_quant_ref.html" title="Discrete Quantile Policies">reference
- docs</a> describe how to change the rounding policy for these distributions.
- </p>
+ The geometric distribution is a discrete distribution: internally,
+ functions like the <code class="computeroutput"><span class="identifier">cdf</span></code>
+ and <code class="computeroutput"><span class="identifier">pdf</span></code> are treated
+ "as if" they are continuous functions, but in reality the
+ results returned from these functions only have meaning if an integer
+ value is provided for the random variate argument.
+ </p>
+<p>
+ The quantile function will by default return an integer result that
+ has been <span class="emphasis"><em>rounded outwards</em></span>. That is to say lower
+ quantiles (where the probability is less than 0.5) are rounded downward,
+ and upper quantiles (where the probability is greater than 0.5) are
+ rounded upwards. This behaviour ensures that if an X% quantile is
+ requested, then <span class="emphasis"><em>at least</em></span> the requested coverage
+ will be present in the central region, and <span class="emphasis"><em>no more than</em></span>
+ the requested coverage will be present in the tails.
+ </p>
+<p>
+ This behaviour can be changed so that the quantile functions are
+ rounded differently, or even return a real-valued result using <a class="link" href="../../../policy/pol_overview.html" title="Policy Overview">Policies</a>. It is
+ strongly recommended that you read the tutorial <a class="link" href="../../../policy/pol_tutorial/understand_dis_quant.html" title="Understanding Quantiles of Discrete Distributions">Understanding
+ Quantiles of Discrete Distributions</a> before using the quantile
+ function on the geometric distribution. The <a class="link" href="../../../policy/pol_ref/discrete_quant_ref.html" title="Discrete Quantile Policies">reference
+ docs</a> describe how to change the rounding policy for these
+ distributions.
+ </p>
 </td></tr>
 </table></div>
+<p>
+ </p>
 <a name="math_toolkit.dist.dist_ref.dists.geometric_dist.member_functions"></a><h5>
-<a name="id1006620"></a>
+<a name="id1114864"></a>
             <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.member_functions">Member
             Functions</a>
           </h5>
 <a name="math_toolkit.dist.dist_ref.dists.geometric_dist.constructor"></a><h6>
-<a name="id1006636"></a>
+<a name="id1114879"></a>
             <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.constructor">Constructor</a>
           </h6>
 <pre class="programlisting"><span class="identifier">geometric_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">p</span><span class="special">);</span>
@@ -226,7 +231,7 @@
             <span class="number">1</span></code>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.geometric_dist.accessors"></a><h6>
-<a name="id1006715"></a>
+<a name="id1114958"></a>
             <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.accessors">Accessors</a>
           </h6>
 <pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">success_fraction</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span> <span class="comment">// successes / trials (0 &lt;= p &lt;= 1)
@@ -253,7 +258,7 @@
             Binomial Distribution</a> for more discussion.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.geometric_dist.lower_bound_on_success_fraction_parameter__emphasis_p__emphasis_"></a><h6>
-<a name="id1006823"></a>
+<a name="id1115066"></a>
             <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.lower_bound_on_success_fraction_parameter__emphasis_p__emphasis_">Lower
             Bound on success_fraction Parameter <span class="emphasis"><em>p</em></span></a>
           </h6>
@@ -308,7 +313,7 @@
             vol. 48, no3, 605-621</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.geometric_dist.upper_bound_on_success_fraction_parameter_p"></a><h6>
-<a name="id1007054"></a>
+<a name="id1115297"></a>
             <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.upper_bound_on_success_fraction_parameter_p">Upper
             Bound on success_fraction Parameter p</a>
           </h6>
@@ -363,7 +368,7 @@
             vol. 48, no3, 605-621</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.geometric_dist.estimating_number_of_trials_to_ensure_at_least_a_certain_number_of_failures"></a><h6>
-<a name="id1007282"></a>
+<a name="id1115594"></a>
             <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.estimating_number_of_trials_to_ensure_at_least_a_certain_number_of_failures">Estimating
             Number of Trials to Ensure at Least a Certain Number of Failures</a>
           </h6>
@@ -415,7 +420,7 @@
             probability of observing <span class="emphasis"><em>k</em></span> failures or fewer.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.geometric_dist.estimating_number_of_trials_to_ensure_a_maximum_number_of_failures_or_less"></a><h6>
-<a name="id1007520"></a>
+<a name="id1115832"></a>
             <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.estimating_number_of_trials_to_ensure_a_maximum_number_of_failures_or_less">Estimating
             Number of Trials to Ensure a Maximum Number of Failures or Less</a>
           </h6>
@@ -463,7 +468,7 @@
             probability of observing more than k failures.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.geometric_dist.non_member_accessors"></a><h5>
-<a name="id1007756"></a>
+<a name="id1116068"></a>
             <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -611,7 +616,7 @@
 </table></div>
 </div>
 <br class="table-break"><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.accuracy"></a><h5>
-<a name="id1008266"></a>
+<a name="id1116578"></a>
             <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -622,7 +627,7 @@
             for example to 10 decimal digits (from 16).
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.geometric_dist.implementation"></a><h5>
-<a name="id1009049"></a>
+<a name="id1116610"></a>
             <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/hypergeometric_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/hypergeometric_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/hypergeometric_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist"></a><a class="link" href="hypergeometric_dist.html" title="Hypergeometric Distribution">Hypergeometric
- Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist"></a><a class="link" href="hypergeometric_dist.html" title="Hypergeometric Distribution">
+ Hypergeometric Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -102,7 +102,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/hypergeometric_pdf_2.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.member_functions"></a><h5>
-<a name="id1010037"></a>
+<a name="id1119992"></a>
             <a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -131,7 +131,7 @@
             from the population <span class="emphasis"><em>N</em></span>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.non_member_accessors"></a><h5>
-<a name="id1010216"></a>
+<a name="id1120171"></a>
             <a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -185,7 +185,7 @@
 </td></tr>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.accuracy"></a><h5>
-<a name="id1010366"></a>
+<a name="id1120321"></a>
             <a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -211,7 +211,7 @@
             meaningless for N &gt;= 10<sup>15</sup>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.testing"></a><h5>
-<a name="id1010600"></a>
+<a name="id1120555"></a>
             <a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.testing">Testing</a>
           </h5>
 <p>
@@ -223,7 +223,7 @@
             this implementation and NTL::RR.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.implementation"></a><h5>
-<a name="id1010624"></a>
+<a name="id1120579"></a>
             <a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_chi_squared_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_chi_squared_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_chi_squared_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist"></a><a class="link" href="inverse_chi_squared_dist.html" title="Inverse Chi Squared Distribution">Inverse
- Chi Squared Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist"></a><a class="link" href="inverse_chi_squared_dist.html" title="Inverse Chi Squared Distribution">
+ Inverse Chi Squared Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -198,7 +198,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/inverse_chi_squared_cdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.member_functions"></a><h5>
-<a name="id1012241"></a>
+<a name="id1121606"></a>
             <a class="link" href="inverse_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -225,7 +225,7 @@
             Returns the scale &#958; parameter of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.non_member_accessors"></a><h5>
-<a name="id1012413"></a>
+<a name="id1121778"></a>
             <a class="link" href="inverse_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -255,7 +255,7 @@
             </p></td></tr>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.accuracy"></a><h5>
-<a name="id1012517"></a>
+<a name="id1121882"></a>
             <a class="link" href="inverse_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -271,7 +271,7 @@
             iteration is involved, as for the estimation of degrees of freedom.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.implementation"></a><h5>
-<a name="id1012558"></a>
+<a name="id1121923"></a>
             <a class="link" href="inverse_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -452,7 +452,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.references"></a><h5>
-<a name="id1012887"></a>
+<a name="id1123130"></a>
             <a class="link" href="inverse_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.references">References</a>
           </h5>
 <div class="orderedlist"><ol type="1">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_gamma_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_gamma_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_gamma_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist"></a><a class="link" href="inverse_gamma_dist.html" title="Inverse Gamma Distribution">Inverse
- Gamma Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist"></a><a class="link" href="inverse_gamma_dist.html" title="Inverse Gamma Distribution">
+ Inverse Gamma Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -130,7 +130,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/inverse_gamma_cdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.member_functions"></a><h5>
-<a name="id1013468"></a>
+<a name="id1123711"></a>
             <a class="link" href="inverse_gamma_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -154,7 +154,7 @@
             Returns the &#946; scale parameter of this inverse gamma distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.non_member_accessors"></a><h5>
-<a name="id1013605"></a>
+<a name="id1123848"></a>
             <a class="link" href="inverse_gamma_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -184,7 +184,7 @@
             </p></td></tr>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.accuracy"></a><h5>
-<a name="id1013711"></a>
+<a name="id1123955"></a>
             <a class="link" href="inverse_gamma_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -198,7 +198,7 @@
             &gt;14 decimal digits accuracy for 64-bit double.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.implementation"></a><h5>
-<a name="id1013750"></a>
+<a name="id1123993"></a>
             <a class="link" href="inverse_gamma_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_gaussian_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_gaussian_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_gaussian_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist"></a><a class="link" href="inverse_gaussian_dist.html" title="Inverse Gaussian (or Inverse Normal) Distribution">Inverse
- Gaussian (or Inverse Normal) Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist"></a><a class="link" href="inverse_gaussian_dist.html" title="Inverse Gaussian (or Inverse Normal) Distribution">
+ Inverse Gaussian (or Inverse Normal) Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -146,7 +146,7 @@
             the __wald_distrib (where mean &#956; is unity) is also provided.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.member_functions"></a><h5>
-<a name="id1016826"></a>
+<a name="id1124927"></a>
             <a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -171,7 +171,7 @@
             Returns the scale &#955; parameter of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.non_member_accessors"></a><h5>
-<a name="id1016966"></a>
+<a name="id1125067"></a>
             <a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -201,7 +201,7 @@
             </p></td></tr>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.accuracy"></a><h5>
-<a name="id1017073"></a>
+<a name="id1125174"></a>
             <a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -212,7 +212,7 @@
             to a few epsilon, &gt;14 decimal digits accuracy for 64-bit double.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.implementation"></a><h5>
-<a name="id1017096"></a>
+<a name="id1125197"></a>
             <a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -390,7 +390,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.references"></a><h5>
-<a name="id1017391"></a>
+<a name="id1125831"></a>
             <a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.references">References</a>
           </h5>
 <div class="orderedlist"><ol type="1">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/laplace_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/laplace_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/laplace_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.laplace_dist"></a><a class="link" href="laplace_dist.html" title="Laplace Distribution">Laplace
+<a name="math_toolkit.dist.dist_ref.dists.laplace_dist"></a><a class="link" href="laplace_dist.html" title="Laplace Distribution"> Laplace
           Distribution</a>
 </h5></div></div></div>
 <p>
@@ -81,7 +81,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/laplace_pdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.laplace_dist.member_functions"></a><h5>
-<a name="id1017976"></a>
+<a name="id1126416"></a>
             <a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -113,7 +113,7 @@
             Returns the <span class="emphasis"><em>scale</em></span> parameter of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.laplace_dist.non_member_accessors"></a><h5>
-<a name="id1018138"></a>
+<a name="id1126578"></a>
             <a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -133,7 +133,7 @@
             The domain of the random variable is [-&#8734;,+&#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.laplace_dist.accuracy"></a><h5>
-<a name="id1018236"></a>
+<a name="id1126676"></a>
             <a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -141,7 +141,7 @@
             log and exp functions and as such should have very small errors.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.laplace_dist.implementation"></a><h5>
-<a name="id1018255"></a>
+<a name="id1126695"></a>
             <a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -329,7 +329,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.laplace_dist.references"></a><h5>
-<a name="id1018847"></a>
+<a name="id1127016"></a>
             <a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.references">References</a>
           </h5>
 <div class="itemizedlist"><ul type="disc">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/logistic_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/logistic_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/logistic_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.logistic_dist"></a><a class="link" href="logistic_dist.html" title="Logistic Distribution">Logistic
- Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.logistic_dist"></a><a class="link" href="logistic_dist.html" title="Logistic Distribution">
+ Logistic Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -72,7 +72,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/logistic_pdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.logistic_dist.member_functions"></a><h5>
-<a name="id1019336"></a>
+<a name="id1127506"></a>
             <a class="link" href="logistic_dist.html#math_toolkit.dist.dist_ref.dists.logistic_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -98,7 +98,7 @@
             Returns the scale of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.logistic_dist.non_member_accessors"></a><h5>
-<a name="id1019502"></a>
+<a name="id1127672"></a>
             <a class="link" href="logistic_dist.html#math_toolkit.dist.dist_ref.dists.logistic_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -128,7 +128,7 @@
             and +<a class="link" href="../../../main_overview/error_handling.html#overflow_error">overflow_error</a> respectively.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.logistic_dist.accuracy"></a><h5>
-<a name="id1019652"></a>
+<a name="id1128935"></a>
             <a class="link" href="logistic_dist.html#math_toolkit.dist.dist_ref.dists.logistic_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -140,7 +140,7 @@
             error</em></span> can be guarenteed.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.logistic_dist.implementation"></a><h5>
-<a name="id1019707"></a>
+<a name="id1128990"></a>
             <a class="link" href="logistic_dist.html#math_toolkit.dist.dist_ref.dists.logistic_dist.implementation">Implementation</a>
           </h5>
 <div class="informaltable"><table class="table">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/lognormal_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/lognormal_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/lognormal_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.lognormal_dist"></a><a class="link" href="lognormal_dist.html" title="Log Normal Distribution">Log
- Normal Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.lognormal_dist"></a><a class="link" href="lognormal_dist.html" title="Log Normal Distribution">
+ Log Normal Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -88,7 +88,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/lognormal_pdf2.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.member_functions"></a><h5>
-<a name="id1020457"></a>
+<a name="id1129740"></a>
             <a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -121,7 +121,7 @@
             Returns the <span class="emphasis"><em>scale</em></span> parameter of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.non_member_accessors"></a><h5>
-<a name="id1020617"></a>
+<a name="id1129900"></a>
             <a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -141,7 +141,7 @@
             The domain of the random variable is [0,+&#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.accuracy"></a><h5>
-<a name="id1020716"></a>
+<a name="id1130000"></a>
             <a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -150,7 +150,7 @@
             function</a>, and as such should have very low error rates.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.implementation"></a><h5>
-<a name="id1020744"></a>
+<a name="id1130027"></a>
             <a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_beta_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_beta_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_beta_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist"></a><a class="link" href="nc_beta_dist.html" title="Noncentral Beta Distribution">Noncentral
+<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist"></a><a class="link" href="nc_beta_dist.html" title="Noncentral Beta Distribution"> Noncentral
           Beta Distribution</a>
 </h5></div></div></div>
 <p>
@@ -96,7 +96,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/nc_beta_pdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.member_functions"></a><h5>
-<a name="id1025394"></a>
+<a name="id1135287"></a>
             <a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -128,7 +128,7 @@
             was constructed.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.non_member_accessors"></a><h5>
-<a name="id1026823"></a>
+<a name="id1135473"></a>
             <a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -156,7 +156,7 @@
             The domain of the random variable is [0, 1].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.accuracy"></a><h5>
-<a name="id1026932"></a>
+<a name="id1135582"></a>
             <a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -299,7 +299,7 @@
             functions are broadly similar.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.tests"></a><h5>
-<a name="id1027175"></a>
+<a name="id1135825"></a>
             <a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.tests">Tests</a>
           </h5>
 <p>
@@ -311,7 +311,7 @@
             tests.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.implementation"></a><h5>
-<a name="id1027199"></a>
+<a name="id1135849"></a>
             <a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_chi_squared_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_chi_squared_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_chi_squared_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist"></a><a class="link" href="nc_chi_squared_dist.html" title="Noncentral Chi-Squared Distribution">Noncentral
- Chi-Squared Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist"></a><a class="link" href="nc_chi_squared_dist.html" title="Noncentral Chi-Squared Distribution">
+ Noncentral Chi-Squared Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -110,7 +110,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/nccs_pdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.member_functions"></a><h5>
-<a name="id1028218"></a>
+<a name="id1137999"></a>
             <a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -183,7 +183,7 @@
             <span class="special">==</span> <span class="identifier">q</span></code>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.non_member_accessors"></a><h5>
-<a name="id1029983"></a>
+<a name="id1138900"></a>
             <a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -203,7 +203,7 @@
             The domain of the random variable is [0, +&#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.examples"></a><h5>
-<a name="id1030083"></a>
+<a name="id1138999"></a>
             <a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.examples">Examples</a>
           </h5>
 <p>
@@ -211,7 +211,7 @@
             example</a> for the noncentral chi-squared distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.accuracy"></a><h5>
-<a name="id1030111"></a>
+<a name="id1139027"></a>
             <a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -359,7 +359,7 @@
             produce an accuracy greater than the square root of the machine epsilon.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.tests"></a><h5>
-<a name="id1030371"></a>
+<a name="id1139287"></a>
             <a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.tests">Tests</a>
           </h5>
 <p>
@@ -373,7 +373,7 @@
             to at least 50 decimal digits - and is the used for our accuracy tests.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.implementation"></a><h5>
-<a name="id1030390"></a>
+<a name="id1139307"></a>
             <a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_f_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_f_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_f_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.nc_f_dist"></a><a class="link" href="nc_f_dist.html" title="Noncentral F Distribution">Noncentral
+<a name="math_toolkit.dist.dist_ref.dists.nc_f_dist"></a><a class="link" href="nc_f_dist.html" title="Noncentral F Distribution"> Noncentral
           F Distribution</a>
 </h5></div></div></div>
 <p>
@@ -95,7 +95,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/nc_f_pdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.member_functions"></a><h5>
-<a name="id1031243"></a>
+<a name="id1141608"></a>
             <a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -127,7 +127,7 @@
             which this object was constructed.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.non_member_accessors"></a><h5>
-<a name="id1031432"></a>
+<a name="id1141796"></a>
             <a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -147,7 +147,7 @@
             The domain of the random variable is [0, +&#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.accuracy"></a><h5>
-<a name="id1031531"></a>
+<a name="id1141896"></a>
             <a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -155,7 +155,7 @@
             Beta Distribution</a>: refer to that distribution for accuracy data.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.tests"></a><h5>
-<a name="id1031555"></a>
+<a name="id1141920"></a>
             <a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.tests">Tests</a>
           </h5>
 <p>
@@ -164,7 +164,7 @@
             Math library statistical package</a> and its pbeta and dbeta functions.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.implementation"></a><h5>
-<a name="id1031579"></a>
+<a name="id1141944"></a>
             <a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -234,6 +234,8 @@
                     <p>
                       y = x * v1 / v2
                     </p>
+ <p>
+ </p>
                   </td>
 </tr>
 <tr>
@@ -256,6 +258,8 @@
                     <p>
                       y = x * v1 / v2
                     </p>
+ <p>
+ </p>
                   </td>
 </tr>
 <tr>
@@ -286,6 +290,8 @@
                     <p>
                       is the noncentral beta quantile.
                     </p>
+ <p>
+ </p>
                   </td>
 </tr>
 <tr>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_t_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_t_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_t_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist"></a><a class="link" href="nc_t_dist.html" title="Noncentral T Distribution">Noncentral
+<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist"></a><a class="link" href="nc_t_dist.html" title="Noncentral T Distribution"> Noncentral
           T Distribution</a>
 </h5></div></div></div>
 <p>
@@ -85,7 +85,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/nc_t_pdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.member_functions"></a><h5>
-<a name="id1033898"></a>
+<a name="id1142839"></a>
             <a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -111,7 +111,7 @@
             which this object was constructed.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.non_member_accessors"></a><h5>
-<a name="id1034037"></a>
+<a name="id1142978"></a>
             <a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -131,7 +131,7 @@
             The domain of the random variable is [-&#8734;, +&#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.accuracy"></a><h5>
-<a name="id1034137"></a>
+<a name="id1143078"></a>
             <a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -255,7 +255,7 @@
             epsilon.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.tests"></a><h5>
-<a name="id1034337"></a>
+<a name="id1143289"></a>
             <a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.tests">Tests</a>
           </h5>
 <p>
@@ -270,7 +270,7 @@
             least 50 decimal places.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.implementation"></a><h5>
-<a name="id1034356"></a>
+<a name="id1143308"></a>
             <a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/negative_binomial_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/negative_binomial_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/negative_binomial_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist"></a><a class="link" href="negative_binomial_dist.html" title="Negative Binomial Distribution">Negative
- Binomial Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist"></a><a class="link" href="negative_binomial_dist.html" title="Negative Binomial Distribution">
+ Negative Binomial Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -123,7 +123,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/negative_binomial_pdf_2.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.related_distributions"></a><h5>
-<a name="id1021920"></a>
+<a name="id1131264"></a>
             <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.related_distributions">Related
             Distributions</a>
           </h5>
@@ -160,6 +160,8 @@
 <p>
             poisson(&#955;) = lim <sub>r &#8594; &#8734;</sub> &#160; negative_binomial(r, r / (&#955; + r)))
           </p>
+<p>
+ </p>
 <div class="caution"><table border="0" summary="Caution">
 <tr>
 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Caution]" src="../../../../../../../../../doc/src/images/caution.png"></td>
@@ -167,40 +169,43 @@
 </tr>
 <tr><td align="left" valign="top">
 <p>
- The Negative Binomial distribution is a discrete distribution: internally,
- functions like the <code class="computeroutput"><span class="identifier">cdf</span></code>
- and <code class="computeroutput"><span class="identifier">pdf</span></code> are treated
- "as if" they are continuous functions, but in reality the
- results returned from these functions only have meaning if an integer
- value is provided for the random variate argument.
- </p>
-<p>
- The quantile function will by default return an integer result that
- has been <span class="emphasis"><em>rounded outwards</em></span>. That is to say lower
- quantiles (where the probability is less than 0.5) are rounded downward,
- and upper quantiles (where the probability is greater than 0.5) are
- rounded upwards. This behaviour ensures that if an X% quantile is requested,
- then <span class="emphasis"><em>at least</em></span> the requested coverage will be present
- in the central region, and <span class="emphasis"><em>no more than</em></span> the requested
- coverage will be present in the tails.
- </p>
-<p>
- This behaviour can be changed so that the quantile functions are rounded
- differently, or even return a real-valued result using <a class="link" href="../../../policy/pol_overview.html" title="Policy Overview">Policies</a>.
- It is strongly recommended that you read the tutorial <a class="link" href="../../../policy/pol_tutorial/understand_dis_quant.html" title="Understanding Quantiles of Discrete Distributions">Understanding
- Quantiles of Discrete Distributions</a> before using the quantile
- function on the Negative Binomial distribution. The <a class="link" href="../../../policy/pol_ref/discrete_quant_ref.html" title="Discrete Quantile Policies">reference
- docs</a> describe how to change the rounding policy for these distributions.
- </p>
+ The Negative Binomial distribution is a discrete distribution: internally,
+ functions like the <code class="computeroutput"><span class="identifier">cdf</span></code>
+ and <code class="computeroutput"><span class="identifier">pdf</span></code> are treated
+ "as if" they are continuous functions, but in reality the
+ results returned from these functions only have meaning if an integer
+ value is provided for the random variate argument.
+ </p>
+<p>
+ The quantile function will by default return an integer result that
+ has been <span class="emphasis"><em>rounded outwards</em></span>. That is to say lower
+ quantiles (where the probability is less than 0.5) are rounded downward,
+ and upper quantiles (where the probability is greater than 0.5) are
+ rounded upwards. This behaviour ensures that if an X% quantile is
+ requested, then <span class="emphasis"><em>at least</em></span> the requested coverage
+ will be present in the central region, and <span class="emphasis"><em>no more than</em></span>
+ the requested coverage will be present in the tails.
+ </p>
+<p>
+ This behaviour can be changed so that the quantile functions are
+ rounded differently, or even return a real-valued result using <a class="link" href="../../../policy/pol_overview.html" title="Policy Overview">Policies</a>. It is
+ strongly recommended that you read the tutorial <a class="link" href="../../../policy/pol_tutorial/understand_dis_quant.html" title="Understanding Quantiles of Discrete Distributions">Understanding
+ Quantiles of Discrete Distributions</a> before using the quantile
+ function on the Negative Binomial distribution. The <a class="link" href="../../../policy/pol_ref/discrete_quant_ref.html" title="Discrete Quantile Policies">reference
+ docs</a> describe how to change the rounding policy for these
+ distributions.
+ </p>
 </td></tr>
 </table></div>
+<p>
+ </p>
 <a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.member_functions"></a><h5>
-<a name="id1022028"></a>
+<a name="id1131375"></a>
             <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.member_functions">Member
             Functions</a>
           </h5>
 <a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.construct"></a><h6>
-<a name="id1022041"></a>
+<a name="id1131388"></a>
             <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.construct">Construct</a>
           </h6>
 <pre class="programlisting"><span class="identifier">negative_binomial_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">r</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">p</span><span class="special">);</span>
@@ -216,7 +221,7 @@
             <span class="special">&lt;=</span> <span class="number">1</span></code>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accessors"></a><h6>
-<a name="id1022150"></a>
+<a name="id1131497"></a>
             <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accessors">Accessors</a>
           </h6>
 <pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">success_fraction</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span> <span class="comment">// successes / trials (0 &lt;= p &lt;= 1)
@@ -237,7 +242,7 @@
             Distribution</a> for more discussion.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.lower_bound_on_parameter_p"></a><h6>
-<a name="id1022244"></a>
+<a name="id1131591"></a>
             <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.lower_bound_on_parameter_p">Lower
             Bound on Parameter p</a>
           </h6>
@@ -298,7 +303,7 @@
             vol. 48, no3, 605-621</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.upper_bound_on_parameter_p"></a><h6>
-<a name="id1022511"></a>
+<a name="id1131858"></a>
             <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.upper_bound_on_parameter_p">Upper
             Bound on Parameter p</a>
           </h6>
@@ -358,7 +363,7 @@
             vol. 48, no3, 605-621</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.estimating_number_of_trials_to_ensure_at_least_a_certain_number_of_failures"></a><h6>
-<a name="id1022775"></a>
+<a name="id1132122"></a>
             <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.estimating_number_of_trials_to_ensure_at_least_a_certain_number_of_failures">Estimating
             Number of Trials to Ensure at Least a Certain Number of Failures</a>
           </h6>
@@ -409,7 +414,7 @@
             probability of observing k failures or fewer.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.estimating_number_of_trials_to_ensure_a_maximum_number_of_failures_or_less"></a><h6>
-<a name="id1023240"></a>
+<a name="id1132347"></a>
             <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.estimating_number_of_trials_to_ensure_a_maximum_number_of_failures_or_less">Estimating
             Number of Trials to Ensure a Maximum Number of Failures or Less</a>
           </h6>
@@ -457,7 +462,7 @@
             probability of observing more than k failures.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.non_member_accessors"></a><h5>
-<a name="id1023472"></a>
+<a name="id1132578"></a>
             <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -606,7 +611,7 @@
 </table></div>
 </div>
 <br class="table-break"><a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accuracy"></a><h5>
-<a name="id1023985"></a>
+<a name="id1133092"></a>
             <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -616,7 +621,7 @@
             please refer to these functions for information on accuracy.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.implementation"></a><h5>
-<a name="id1024012"></a>
+<a name="id1133118"></a>
             <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -827,6 +832,8 @@
                     </p>
                   </td>
 <td>
+ <p>
+ </p>
                   </td>
 </tr>
 <tr>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/normal_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/normal_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/normal_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.normal_dist"></a><a class="link" href="normal_dist.html" title="Normal (Gaussian) Distribution">Normal
+<a name="math_toolkit.dist.dist_ref.dists.normal_dist"></a><a class="link" href="normal_dist.html" title="Normal (Gaussian) Distribution"> Normal
           (Gaussian) Distribution</a>
 </h5></div></div></div>
 <p>
@@ -79,7 +79,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/normal_pdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.normal_dist.member_functions"></a><h5>
-<a name="id1035070"></a>
+<a name="id1144022"></a>
             <a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -109,7 +109,7 @@
             be used generically).
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.normal_dist.non_member_accessors"></a><h5>
-<a name="id1035266"></a>
+<a name="id1144218"></a>
             <a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -131,7 +131,7 @@
             and complement cdf -&#8734; = 1 and +&#8734; = 0, if RealType permits.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.normal_dist.accuracy"></a><h5>
-<a name="id1035363"></a>
+<a name="id1144315"></a>
             <a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -139,7 +139,7 @@
             function</a>, and as such should have very low error rates.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.normal_dist.implementation"></a><h5>
-<a name="id1035388"></a>
+<a name="id1144340"></a>
             <a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/pareto.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/pareto.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/pareto.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.pareto"></a><a class="link" href="pareto.html" title="Pareto Distribution">Pareto Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.pareto"></a><a class="link" href="pareto.html" title="Pareto Distribution"> Pareto
+ Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -86,12 +87,12 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/pareto_pdf2.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.pareto.related_distributions"></a><h5>
-<a name="id1038528"></a>
+<a name="id1145124"></a>
             <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.related_distributions">Related
             distributions</a>
           </h5>
 <a name="math_toolkit.dist.dist_ref.dists.pareto.member_functions"></a><h5>
-<a name="id1038546"></a>
+<a name="id1145142"></a>
             <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.member_functions">Member
             Functions</a>
           </h5>
@@ -117,7 +118,7 @@
             Returns the <span class="emphasis"><em>shape</em></span> parameter of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.pareto.non_member_accessors"></a><h5>
-<a name="id1038714"></a>
+<a name="id1145310"></a>
             <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -137,7 +138,7 @@
             The supported domain of the random variable is [scale, &#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.pareto.accuracy"></a><h5>
-<a name="id1038813"></a>
+<a name="id1145410"></a>
             <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -150,7 +151,7 @@
             zero) see also <a class="link" href="../../stat_tut/overview/complements.html#why_complements">why complements?</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.pareto.implementation"></a><h5>
-<a name="id1038850"></a>
+<a name="id1146909"></a>
             <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.implementation">Implementation</a>
           </h5>
 <p>
@@ -318,7 +319,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.pareto.references"></a><h5>
-<a name="id1039158"></a>
+<a name="id1147216"></a>
             <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.references">References</a>
           </h5>
 <div class="itemizedlist"><ul type="disc">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/poisson_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/poisson_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/poisson_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.poisson_dist"></a><a class="link" href="poisson_dist.html" title="Poisson Distribution">Poisson
+<a name="math_toolkit.dist.dist_ref.dists.poisson_dist"></a><a class="link" href="poisson_dist.html" title="Poisson Distribution"> Poisson
           Distribution</a>
 </h5></div></div></div>
 <p>
@@ -82,6 +82,8 @@
 <p>
             <span class="inlinemediaobject"><img src="../../../../../graphs/poisson_pdf_1.png" align="middle"></span>
           </p>
+<p>
+ </p>
 <div class="caution"><table border="0" summary="Caution">
 <tr>
 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Caution]" src="../../../../../../../../../doc/src/images/caution.png"></td>
@@ -89,34 +91,38 @@
 </tr>
 <tr><td align="left" valign="top">
 <p>
- The Poisson distribution is a discrete distribution: internally, functions
- like the <code class="computeroutput"><span class="identifier">cdf</span></code> and <code class="computeroutput"><span class="identifier">pdf</span></code> are treated "as if"
- they are continuous functions, but in reality the results returned
- from these functions only have meaning if an integer value is provided
- for the random variate argument.
- </p>
-<p>
- The quantile function will by default return an integer result that
- has been <span class="emphasis"><em>rounded outwards</em></span>. That is to say lower
- quantiles (where the probability is less than 0.5) are rounded downward,
- and upper quantiles (where the probability is greater than 0.5) are
- rounded upwards. This behaviour ensures that if an X% quantile is requested,
- then <span class="emphasis"><em>at least</em></span> the requested coverage will be present
- in the central region, and <span class="emphasis"><em>no more than</em></span> the requested
- coverage will be present in the tails.
- </p>
-<p>
- This behaviour can be changed so that the quantile functions are rounded
- differently, or even return a real-valued result using <a class="link" href="../../../policy/pol_overview.html" title="Policy Overview">Policies</a>.
- It is strongly recommended that you read the tutorial <a class="link" href="../../../policy/pol_tutorial/understand_dis_quant.html" title="Understanding Quantiles of Discrete Distributions">Understanding
- Quantiles of Discrete Distributions</a> before using the quantile
- function on the Poisson distribution. The <a class="link" href="../../../policy/pol_ref/discrete_quant_ref.html" title="Discrete Quantile Policies">reference
- docs</a> describe how to change the rounding policy for these distributions.
- </p>
+ The Poisson distribution is a discrete distribution: internally,
+ functions like the <code class="computeroutput"><span class="identifier">cdf</span></code>
+ and <code class="computeroutput"><span class="identifier">pdf</span></code> are treated
+ "as if" they are continuous functions, but in reality the
+ results returned from these functions only have meaning if an integer
+ value is provided for the random variate argument.
+ </p>
+<p>
+ The quantile function will by default return an integer result that
+ has been <span class="emphasis"><em>rounded outwards</em></span>. That is to say lower
+ quantiles (where the probability is less than 0.5) are rounded downward,
+ and upper quantiles (where the probability is greater than 0.5) are
+ rounded upwards. This behaviour ensures that if an X% quantile is
+ requested, then <span class="emphasis"><em>at least</em></span> the requested coverage
+ will be present in the central region, and <span class="emphasis"><em>no more than</em></span>
+ the requested coverage will be present in the tails.
+ </p>
+<p>
+ This behaviour can be changed so that the quantile functions are
+ rounded differently, or even return a real-valued result using <a class="link" href="../../../policy/pol_overview.html" title="Policy Overview">Policies</a>. It is
+ strongly recommended that you read the tutorial <a class="link" href="../../../policy/pol_tutorial/understand_dis_quant.html" title="Understanding Quantiles of Discrete Distributions">Understanding
+ Quantiles of Discrete Distributions</a> before using the quantile
+ function on the Poisson distribution. The <a class="link" href="../../../policy/pol_ref/discrete_quant_ref.html" title="Discrete Quantile Policies">reference
+ docs</a> describe how to change the rounding policy for these
+ distributions.
+ </p>
 </td></tr>
 </table></div>
+<p>
+ </p>
 <a name="math_toolkit.dist.dist_ref.dists.poisson_dist.member_functions"></a><h5>
-<a name="id1039688"></a>
+<a name="id1147749"></a>
             <a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -131,7 +137,7 @@
             Returns the <span class="emphasis"><em>mean</em></span> of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.poisson_dist.non_member_accessors"></a><h5>
-<a name="id1039777"></a>
+<a name="id1147838"></a>
             <a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -151,7 +157,7 @@
             The domain of the random variable is [0, &#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.poisson_dist.accuracy"></a><h5>
-<a name="id1039874"></a>
+<a name="id1147935"></a>
             <a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -165,7 +171,7 @@
             using an iterative method with a lower tolerance to avoid excessive computation.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.poisson_dist.implementation"></a><h5>
-<a name="id1039903"></a>
+<a name="id1147964"></a>
             <a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/rayleigh.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/rayleigh.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/rayleigh.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.rayleigh"></a><a class="link" href="rayleigh.html" title="Rayleigh Distribution">Rayleigh
+<a name="math_toolkit.dist.dist_ref.dists.rayleigh"></a><a class="link" href="rayleigh.html" title="Rayleigh Distribution"> Rayleigh
           Distribution</a>
 </h5></div></div></div>
 <p>
@@ -86,7 +86,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/rayleigh_cdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.rayleigh.related_distributions"></a><h5>
-<a name="id1040645"></a>
+<a name="id1148685"></a>
             <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.related_distributions">Related
             distributions</a>
           </h5>
@@ -102,7 +102,7 @@
             distribution</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.rayleigh.member_functions"></a><h5>
-<a name="id1040696"></a>
+<a name="id1148736"></a>
             <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.member_functions">Member
             Functions</a>
           </h5>
@@ -121,7 +121,7 @@
             Returns the <span class="emphasis"><em>sigma</em></span> parameter of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.rayleigh.non_member_accessors"></a><h5>
-<a name="id1040799"></a>
+<a name="id1148840"></a>
             <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -141,7 +141,7 @@
             The domain of the random variable is [0, max_value].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.rayleigh.accuracy"></a><h5>
-<a name="id1040899"></a>
+<a name="id1148939"></a>
             <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -151,7 +151,7 @@
             using NTL RR type with 150-bit accuracy, about 50 decimal digits.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.rayleigh.implementation"></a><h5>
-<a name="id1040933"></a>
+<a name="id1148973"></a>
             <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.implementation">Implementation</a>
           </h5>
 <p>
@@ -320,7 +320,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.rayleigh.references"></a><h5>
-<a name="id1041269"></a>
+<a name="id1149378"></a>
             <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.references">References</a>
           </h5>
 <div class="itemizedlist"><ul type="disc">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/students_t_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/students_t_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/students_t_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.students_t_dist"></a><a class="link" href="students_t_dist.html" title="Students t Distribution">Students
- t Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.students_t_dist"></a><a class="link" href="students_t_dist.html" title="Students t Distribution">
+ Students t Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -97,7 +97,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/students_t_pdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.students_t_dist.member_functions"></a><h5>
-<a name="id1041849"></a>
+<a name="id1149958"></a>
             <a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -174,7 +174,7 @@
             Engineering Statistics Handbook</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.students_t_dist.non_member_accessors"></a><h5>
-<a name="id1042140"></a>
+<a name="id1150249"></a>
             <a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -194,7 +194,7 @@
             The domain of the random variable is [-&#8734;, +&#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.students_t_dist.examples"></a><h5>
-<a name="id1042239"></a>
+<a name="id1150348"></a>
             <a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.examples">Examples</a>
           </h5>
 <p>
@@ -202,7 +202,7 @@
             are available illustrating the use of the Student's t distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.students_t_dist.accuracy"></a><h5>
-<a name="id1043170"></a>
+<a name="id1150375"></a>
             <a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -211,7 +211,7 @@
             inverses</a>, refer to accuracy data on those functions for more information.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.students_t_dist.implementation"></a><h5>
-<a name="id1043201"></a>
+<a name="id1150406"></a>
             <a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.implementation">Implementation</a>
           </h5>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/triangular_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/triangular_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/triangular_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.triangular_dist"></a><a class="link" href="triangular_dist.html" title="Triangular Distribution">Triangular
- Distribution</a>
+<a name="math_toolkit.dist.dist_ref.dists.triangular_dist"></a><a class="link" href="triangular_dist.html" title="Triangular Distribution">
+ Triangular Distribution</a>
 </h5></div></div></div>
 <p>
             
@@ -128,7 +128,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/triangular_cdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.triangular_dist.member_functions"></a><h5>
-<a name="id1044231"></a>
+<a name="id1152665"></a>
             <a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -163,7 +163,7 @@
             (default+1).
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.triangular_dist.non_member_accessors"></a><h5>
-<a name="id1044449"></a>
+<a name="id1152883"></a>
             <a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -184,7 +184,7 @@
             range is lower &lt;= x &lt;= upper.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.triangular_dist.accuracy"></a><h5>
-<a name="id1044549"></a>
+<a name="id1152983"></a>
             <a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -193,7 +193,7 @@
             with arguments nearing the extremes of zero and unity.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.triangular_dist.implementation"></a><h5>
-<a name="id1044570"></a>
+<a name="id1153004"></a>
             <a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -378,7 +378,7 @@
             Calculate and plot probability distributions</a>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.triangular_dist.references"></a><h5>
-<a name="id1044911"></a>
+<a name="id1153345"></a>
             <a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.references">References</a>
           </h5>
 <div class="itemizedlist"><ul type="disc">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/uniform_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/uniform_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/uniform_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.uniform_dist"></a><a class="link" href="uniform_dist.html" title="Uniform Distribution">Uniform
+<a name="math_toolkit.dist.dist_ref.dists.uniform_dist"></a><a class="link" href="uniform_dist.html" title="Uniform Distribution"> Uniform
           Distribution</a>
 </h5></div></div></div>
 <p>
@@ -117,7 +117,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/uniform_cdf.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.uniform_dist.member_functions"></a><h5>
-<a name="id1047037"></a>
+<a name="id1154024"></a>
             <a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -144,7 +144,7 @@
             Returns the <span class="emphasis"><em>upper</em></span> parameter of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.uniform_dist.non_member_accessors"></a><h5>
-<a name="id1047203"></a>
+<a name="id1154190"></a>
             <a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -165,7 +165,7 @@
             range is only <span class="emphasis"><em>lower</em></span> &lt;= x &lt;= <span class="emphasis"><em>upper</em></span>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.uniform_dist.accuracy"></a><h5>
-<a name="id1047307"></a>
+<a name="id1154294"></a>
             <a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -173,7 +173,7 @@
             and so should have errors within an epsilon or two.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.uniform_dist.implementation"></a><h5>
-<a name="id1047327"></a>
+<a name="id1154314"></a>
             <a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -337,7 +337,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.uniform_dist.references"></a><h5>
-<a name="id1047605"></a>
+<a name="id1154592"></a>
             <a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.references">References</a>
           </h5>
 <div class="itemizedlist"><ul type="disc">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/weibull_dist.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/weibull_dist.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/weibull_dist.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.dist_ref.dists.weibull_dist"></a><a class="link" href="weibull_dist.html" title="Weibull Distribution">Weibull
+<a name="math_toolkit.dist.dist_ref.dists.weibull_dist"></a><a class="link" href="weibull_dist.html" title="Weibull Distribution"> Weibull
           Distribution</a>
 </h5></div></div></div>
 <p>
@@ -100,7 +100,7 @@
             <span class="inlinemediaobject"><img src="../../../../../graphs/weibull_pdf2.png" align="middle"></span>
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.weibull_dist.related_distributions"></a><h5>
-<a name="id1048164"></a>
+<a name="id1155425"></a>
             <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.related_distributions">Related
             distributions</a>
           </h5>
@@ -114,7 +114,7 @@
             Distributions, Theory and Applications Samuel Kotz &amp; Saralees Nadarajah</a>.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.weibull_dist.member_functions"></a><h5>
-<a name="id1048203"></a>
+<a name="id1155463"></a>
             <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.member_functions">Member
             Functions</a>
           </h5>
@@ -140,7 +140,7 @@
             Returns the <span class="emphasis"><em>scale</em></span> parameter of this distribution.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.weibull_dist.non_member_accessors"></a><h5>
-<a name="id1048359"></a>
+<a name="id1155619"></a>
             <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.non_member_accessors">Non-member
             Accessors</a>
           </h5>
@@ -160,7 +160,7 @@
             The domain of the random variable is [0, &#8734;].
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.weibull_dist.accuracy"></a><h5>
-<a name="id1048456"></a>
+<a name="id1155716"></a>
             <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.accuracy">Accuracy</a>
           </h5>
 <p>
@@ -170,7 +170,7 @@
             as such should have very low error rates.
           </p>
 <a name="math_toolkit.dist.dist_ref.dists.weibull_dist.implementation"></a><h5>
-<a name="id1048499"></a>
+<a name="id1155760"></a>
             <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.implementation">Implementation</a>
           </h5>
 <p>
@@ -337,7 +337,7 @@
 </tbody>
 </table></div>
 <a name="math_toolkit.dist.dist_ref.dists.weibull_dist.references"></a><h5>
-<a name="id1048831"></a>
+<a name="id1156092"></a>
             <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.references">References</a>
           </h5>
 <div class="itemizedlist"><ul type="disc">

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/nmp.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/nmp.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/nmp.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="math_toolkit.dist.dist_ref.nmp"></a><a class="link" href="nmp.html" title="Non-Member Properties">Non-Member Properties</a>
+<a name="math_toolkit.dist.dist_ref.nmp"></a><a class="link" href="nmp.html" title="Non-Member Properties"> Non-Member Properties</a>
 </h4></div></div></div>
 <p>
           Properties that are common to all distributions are accessed via non-member
@@ -37,7 +37,7 @@
           the function you want if you already know its name.
         </p>
 <a name="function_index"></a><a name="math_toolkit.dist.dist_ref.nmp.function_index"></a><h5>
-<a name="id978145"></a>
+<a name="id1087551"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.function_index">Function
           Index</a>
         </h5>
@@ -95,7 +95,7 @@
             </li>
 </ul></div>
 <a name="concept_index"></a><a name="math_toolkit.dist.dist_ref.nmp.conceptual_index"></a><h5>
-<a name="id978369"></a>
+<a name="id1087776"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.conceptual_index">Conceptual
           Index</a>
         </h5>
@@ -182,7 +182,7 @@
             </li>
 </ul></div>
 <a name="math.dist.cdf"></a><a name="math_toolkit.dist.dist_ref.nmp.cumulative_distribution_function"></a><h5>
-<a name="id978705"></a>
+<a name="id1088152"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.cumulative_distribution_function">Cumulative
           Distribution Function</a>
         </h5>
@@ -206,7 +206,7 @@
           <span class="inlinemediaobject"><img src="../../../../graphs/cdf.png" alt="cdf"></span>
         </p>
 <a name="math.dist.ccdf"></a><a name="math_toolkit.dist.dist_ref.nmp.complement_of_the_cumulative_distribution_function"></a><h5>
-<a name="id978875"></a>
+<a name="id1088323"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.complement_of_the_cumulative_distribution_function">Complement
           of the Cumulative Distribution Function</a>
         </h5>
@@ -247,7 +247,7 @@
           complement is useful and when it should be used.
         </p>
 <a name="math.dist.hazard"></a><a name="math_toolkit.dist.dist_ref.nmp.hazard_function"></a><h5>
-<a name="id979165"></a>
+<a name="id1088612"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.hazard_function">Hazard Function</a>
         </h5>
 <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&gt;</span>
@@ -275,7 +275,7 @@
           </p></td></tr>
 </table></div>
 <a name="math.dist.chf"></a><a name="math_toolkit.dist.dist_ref.nmp.cumulative_hazard_function"></a><h5>
-<a name="id979347"></a>
+<a name="id1088794"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.cumulative_hazard_function">Cumulative
           Hazard Function</a>
         </h5>
@@ -303,7 +303,7 @@
           </p></td></tr>
 </table></div>
 <a name="math.dist.mean"></a><a name="math_toolkit.dist.dist_ref.nmp.mean"></a><h5>
-<a name="id979529"></a>
+<a name="id1088977"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.mean">mean</a>
         </h5>
 <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&gt;</span>
@@ -318,7 +318,7 @@
           distribution).
         </p>
 <a name="math.dist.median"></a><a name="math_toolkit.dist.dist_ref.nmp.median"></a><h5>
-<a name="id979647"></a>
+<a name="id1089094"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.median">median</a>
         </h5>
 <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&gt;</span>
@@ -328,7 +328,7 @@
           Returns the median of the distribution <span class="emphasis"><em>dist</em></span>.
         </p>
 <a name="math.dist.mode"></a><a name="math_toolkit.dist.dist_ref.nmp.mode"></a><h5>
-<a name="id979756"></a>
+<a name="id1089203"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.mode">mode</a>
         </h5>
 <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&gt;</span>
@@ -342,7 +342,7 @@
           if the distribution does not have a defined mode.
         </p>
 <a name="math.dist.pdf"></a><a name="math_toolkit.dist.dist_ref.nmp.probability_density_function"></a><h5>
-<a name="id980979"></a>
+<a name="id1089319"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.probability_density_function">Probability
           Density Function</a>
         </h5>
@@ -371,7 +371,7 @@
           <span class="inlinemediaobject"><img src="../../../../graphs/pdf.png" alt="pdf"></span>
         </p>
 <a name="math.dist.range"></a><a name="math_toolkit.dist.dist_ref.nmp.range"></a><h5>
-<a name="id981148"></a>
+<a name="id1089488"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.range">Range</a>
         </h5>
 <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&gt;</span>
@@ -381,7 +381,7 @@
           Returns the valid range of the random variable over distribution <span class="emphasis"><em>dist</em></span>.
         </p>
 <a name="math.dist.quantile"></a><a name="math_toolkit.dist.dist_ref.nmp.quantile"></a><h5>
-<a name="id981284"></a>
+<a name="id1089623"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.quantile">Quantile</a>
         </h5>
 <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&gt;</span>
@@ -411,7 +411,7 @@
           <span class="inlinemediaobject"><img src="../../../../graphs/quantile.png" alt="quantile"></span>
         </p>
 <a name="math.dist.quantile_c"></a><a name="math_toolkit.dist.dist_ref.nmp.quantile_from_the_complement_of_the_probability_"></a><h5>
-<a name="id981511"></a>
+<a name="id1089850"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.quantile_from_the_complement_of_the_probability_">Quantile
           from the complement of the probability.</a>
         </h5>
@@ -457,7 +457,7 @@
           <span class="inlinemediaobject"><img src="../../../../graphs/survival_inv.png" alt="survival_inv"></span>
         </p>
 <a name="math.dist.sd"></a><a name="math_toolkit.dist.dist_ref.nmp.standard_deviation"></a><h5>
-<a name="id981852"></a>
+<a name="id1090191"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.standard_deviation">Standard
           Deviation</a>
         </h5>
@@ -472,7 +472,7 @@
           if the distribution does not have a defined standard deviation.
         </p>
 <a name="math.dist.support"></a><a name="math_toolkit.dist.dist_ref.nmp.support"></a><h5>
-<a name="id981972"></a>
+<a name="id1093588"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.support">support</a>
         </h5>
 <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&gt;</span>
@@ -489,7 +489,7 @@
           where the pdf is zero, and the cdf zero or unity.
         </p>
 <a name="math.dist.variance"></a><a name="math_toolkit.dist.dist_ref.nmp.variance"></a><h5>
-<a name="id982116"></a>
+<a name="id1093732"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.variance">Variance</a>
         </h5>
 <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&gt;</span>
@@ -503,7 +503,7 @@
           if the distribution does not have a defined variance.
         </p>
 <a name="math.dist.skewness"></a><a name="math_toolkit.dist.dist_ref.nmp.skewness"></a><h5>
-<a name="id982234"></a>
+<a name="id1093851"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.skewness">Skewness</a>
         </h5>
 <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&gt;</span>
@@ -517,7 +517,7 @@
           if the distribution does not have a defined skewness.
         </p>
 <a name="math.dist.kurtosis"></a><a name="math_toolkit.dist.dist_ref.nmp.kurtosis"></a><h5>
-<a name="id982353"></a>
+<a name="id1093970"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.kurtosis">Kurtosis</a>
         </h5>
 <pre class="programlisting"><span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&gt;</span>
@@ -559,7 +559,7 @@
           'Proper' kurtosis can have a value from zero to + infinity.
         </p>
 <a name="math.dist.kurtosis_excess"></a><a name="math_toolkit.dist.dist_ref.nmp.kurtosis_excess"></a><h5>
-<a name="id982561"></a>
+<a name="id1094178"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.kurtosis_excess">Kurtosis
           excess</a>
         </h5>
@@ -594,7 +594,7 @@
           The kurtosis excess of a normal distribution is zero.
         </p>
 <a name="cdfPQ"></a><a name="math_toolkit.dist.dist_ref.nmp.p_and_q"></a><h5>
-<a name="id982747"></a>
+<a name="id1094364"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.p_and_q">P and Q</a>
         </h5>
 <p>
@@ -604,7 +604,7 @@
           returned by these functions.
         </p>
 <a name="percent"></a><a name="math_toolkit.dist.dist_ref.nmp.percent_point_function_or_percentile"></a><h5>
-<a name="id982777"></a>
+<a name="id1094394"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.percent_point_function_or_percentile">Percent
           Point Function or Percentile</a>
         </h5>
@@ -613,7 +613,7 @@
           the <a class="link" href="nmp.html#math.dist.quantile">Quantile</a>.
         </p>
 <a name="cdf_inv"></a><a name="math_toolkit.dist.dist_ref.nmp.inverse_cdf_function_"></a><h5>
-<a name="id982802"></a>
+<a name="id1094419"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.inverse_cdf_function_">Inverse
           CDF Function.</a>
         </h5>
@@ -622,7 +622,7 @@
           <a class="link" href="nmp.html#math.dist.quantile">Quantile</a>.
         </p>
 <a name="survival_inv"></a><a name="math_toolkit.dist.dist_ref.nmp.inverse_survival_function_"></a><h5>
-<a name="id982830"></a>
+<a name="id1094446"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.inverse_survival_function_">Inverse
           Survival Function.</a>
         </h5>
@@ -630,7 +630,7 @@
           The inverse of the survival function, is the same as computing the <a class="link" href="nmp.html#math.dist.quantile_c">quantile from the complement of the probability</a>.
         </p>
 <a name="pmf"></a><a name="math_toolkit.dist.dist_ref.nmp.probability_mass_function"></a><h5>
-<a name="id982860"></a>
+<a name="id1094476"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.probability_mass_function">Probability
           Mass Function</a>
         </h5>
@@ -644,7 +644,7 @@
           applies to continuous distributions.
         </p>
 <a name="lower_critical"></a><a name="math_toolkit.dist.dist_ref.nmp.lower_critical_value_"></a><h5>
-<a name="id982898"></a>
+<a name="id1094515"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.lower_critical_value_">Lower
           Critical Value.</a>
         </h5>
@@ -654,7 +654,7 @@
           the <a class="link" href="nmp.html#math.dist.quantile">Quantile</a>.
         </p>
 <a name="upper_critical"></a><a name="math_toolkit.dist.dist_ref.nmp.upper_critical_value_"></a><h5>
-<a name="id982923"></a>
+<a name="id1094540"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.upper_critical_value_">Upper
           Critical Value.</a>
         </h5>
@@ -665,7 +665,7 @@
           complement of the probability</a>.
         </p>
 <a name="survival"></a><a name="math_toolkit.dist.dist_ref.nmp.survival_function"></a><h5>
-<a name="id982950"></a>
+<a name="id1094566"></a>
           <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp.survival_function">Survival
           Function</a>
         </h5>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/future.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/future.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/future.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,10 +24,10 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="math_toolkit.dist.future"></a><a class="link" href="future.html" title="Extras/Future Directions">Extras/Future Directions</a>
+<a name="math_toolkit.dist.future"></a><a class="link" href="future.html" title="Extras/Future Directions"> Extras/Future Directions</a>
 </h3></div></div></div>
 <a name="math_toolkit.dist.future.adding_additional_location_and_scale_parameters"></a><h5>
-<a name="id1049958"></a>
+<a name="id1158964"></a>
         <a class="link" href="future.html#math_toolkit.dist.future.adding_additional_location_and_scale_parameters">Adding
         Additional Location and Scale Parameters</a>
       </h5>
@@ -55,7 +55,7 @@
         functions.
       </p>
 <a name="math_toolkit.dist.future.an__quot_any_distribution_quot__class"></a><h5>
-<a name="id1050122"></a>
+<a name="id1159129"></a>
         <a class="link" href="future.html#math_toolkit.dist.future.an__quot_any_distribution_quot__class">An
         "any_distribution" class</a>
       </h5>
@@ -91,7 +91,7 @@
         investigation.
       </p>
 <a name="math_toolkit.dist.future.higher_level_hypothesis_tests"></a><h5>
-<a name="id1050343"></a>
+<a name="id1159350"></a>
         <a class="link" href="future.html#math_toolkit.dist.future.higher_level_hypothesis_tests">Higher
         Level Hypothesis Tests</a>
       </h5>
@@ -111,7 +111,7 @@
         <span class="emphasis"><em>expected_mean</em></span>.
       </p>
 <a name="math_toolkit.dist.future.integration_with_statistical_accumulators"></a><h5>
-<a name="id1050505"></a>
+<a name="id1159512"></a>
         <a class="link" href="future.html#math_toolkit.dist.future.integration_with_statistical_accumulators">Integration
         With Statistical Accumulators</a>
       </h5>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,110 +24,112 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h3 class="title">
-<a name="math_toolkit.dist.stat_tut"></a><a class="link" href="stat_tut.html" title="Statistical Distributions Tutorial">Statistical Distributions
+<a name="math_toolkit.dist.stat_tut"></a><a class="link" href="stat_tut.html" title="Statistical Distributions Tutorial"> Statistical Distributions
       Tutorial</a>
 </h3></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section">Overview of Distributions</span></dt>
+<dt><span class="section"> Overview of Distributions</span></dt>
 <dd><dl>
-<dt><span class="section"><a href="stat_tut/overview/headers.html">Headers
+<dt><span class="section"><a href="stat_tut/overview/headers.html"> Headers
           and Namespaces</a></span></dt>
-<dt><span class="section"><a href="stat_tut/overview/objects.html">Distributions
+<dt><span class="section"><a href="stat_tut/overview/objects.html"> Distributions
           are Objects</a></span></dt>
-<dt><span class="section"><a href="stat_tut/overview/generic.html">Generic
+<dt><span class="section"><a href="stat_tut/overview/generic.html"> Generic
           operations common to all distributions are non-member functions</a></span></dt>
-<dt><span class="section"><a href="stat_tut/overview/complements.html">Complements
- are supported too - and when to use them</a></span></dt>
-<dt><span class="section"><a href="stat_tut/overview/parameters.html">Parameters
- can be calculated</a></span></dt>
-<dt><span class="section">Summary</span></dt>
-</dl></dd>
-<dt><span class="section">Worked Examples</span></dt>
-<dd><dl>
-<dt><span class="section"><a href="stat_tut/weg/dist_construct_eg.html">Distribution
- Construction Example</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/st_eg.html">Student's t
- Distribution Examples</a></span></dt>
-<dd><dl>
-<dt><span class="section"><a href="stat_tut/weg/st_eg/tut_mean_intervals.html">Calculating
- confidence intervals on the mean with the Students-t distribution</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/st_eg/tut_mean_test.html">Testing
- a sample mean for difference from a "true" mean</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/st_eg/tut_mean_size.html">Estimating
- how large a sample size would have to become in order to give a significant
- Students-t test result with a single sample test</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/st_eg/two_sample_students_t.html">Comparing
- the means of two samples with the Students-t test</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/st_eg/paired_st.html">Comparing
- two paired samples with the Student's t distribution</a></span></dt>
+<dt><span class="section"><a href="stat_tut/overview/complements.html">
+ Complements are supported too - and when to use them</a></span></dt>
+<dt><span class="section"><a href="stat_tut/overview/parameters.html">
+ Parameters can be calculated</a></span></dt>
+<dt><span class="section"> Summary</span></dt>
+</dl></dd>
+<dt><span class="section"> Worked Examples</span></dt>
+<dd><dl>
+<dt><span class="section"><a href="stat_tut/weg/dist_construct_eg.html">
+ Distribution Construction Example</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/st_eg.html"> Student's
+ t Distribution Examples</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="stat_tut/weg/st_eg/tut_mean_intervals.html">
+ Calculating confidence intervals on the mean with the Students-t distribution</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/st_eg/tut_mean_test.html">
+ Testing a sample mean for difference from a "true" mean</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/st_eg/tut_mean_size.html">
+ Estimating how large a sample size would have to become in order to give
+ a significant Students-t test result with a single sample test</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/st_eg/two_sample_students_t.html">
+ Comparing the means of two samples with the Students-t test</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/st_eg/paired_st.html">
+ Comparing two paired samples with the Student's t distribution</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="stat_tut/weg/cs_eg.html">Chi Squared
+<dt><span class="section"><a href="stat_tut/weg/cs_eg.html"> Chi Squared
           Distribution Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="stat_tut/weg/cs_eg/chi_sq_intervals.html">Confidence
- Intervals on the Standard Deviation</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/cs_eg/chi_sq_test.html">Chi-Square
- Test for the Standard Deviation</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/cs_eg/chi_sq_size.html">Estimating
- the Required Sample Sizes for a Chi-Square Test for the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/cs_eg/chi_sq_intervals.html">
+ Confidence Intervals on the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/cs_eg/chi_sq_test.html">
+ Chi-Square Test for the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/cs_eg/chi_sq_size.html">
+ Estimating the Required Sample Sizes for a Chi-Square Test for the Standard
+ Deviation</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="stat_tut/weg/f_eg.html">F Distribution
+<dt><span class="section"><a href="stat_tut/weg/f_eg.html"> F Distribution
           Examples</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/binom_eg.html">Binomial
+<dt><span class="section"><a href="stat_tut/weg/binom_eg.html"> Binomial
           Distribution Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="stat_tut/weg/binom_eg/binomial_coinflip_example.html">Binomial
- Coin-Flipping Example</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/binom_eg/binomial_quiz_example.html">Binomial
- Quiz Example</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/binom_eg/binom_conf.html">Calculating
- Confidence Limits on the Frequency of Occurrence for a Binomial Distribution</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/binom_eg/binom_size_eg.html">Estimating
- Sample Sizes for a Binomial Distribution.</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/binom_eg/binomial_coinflip_example.html">
+ Binomial Coin-Flipping Example</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/binom_eg/binomial_quiz_example.html">
+ Binomial Quiz Example</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/binom_eg/binom_conf.html">
+ Calculating Confidence Limits on the Frequency of Occurrence for a Binomial
+ Distribution</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/binom_eg/binom_size_eg.html">
+ Estimating Sample Sizes for a Binomial Distribution.</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="stat_tut/weg/geometric_eg.html">Geometric
+<dt><span class="section"><a href="stat_tut/weg/geometric_eg.html"> Geometric
           Distribution Examples</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/neg_binom_eg.html">Negative
+<dt><span class="section"><a href="stat_tut/weg/neg_binom_eg.html"> Negative
           Binomial Distribution Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="stat_tut/weg/neg_binom_eg/neg_binom_conf.html">Calculating
- Confidence Limits on the Frequency of Occurrence for the Negative Binomial
- Distribution</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/neg_binom_eg/neg_binom_size_eg.html">Estimating
- Sample Sizes for the Negative Binomial.</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/neg_binom_eg/negative_binomial_example1.html">Negative
- Binomial Sales Quota Example.</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/neg_binom_eg/negative_binomial_example2.html">Negative
- Binomial Table Printing Example.</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/neg_binom_eg/neg_binom_conf.html">
+ Calculating Confidence Limits on the Frequency of Occurrence for the
+ Negative Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/neg_binom_eg/neg_binom_size_eg.html">
+ Estimating Sample Sizes for the Negative Binomial.</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/neg_binom_eg/negative_binomial_example1.html">
+ Negative Binomial Sales Quota Example.</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/neg_binom_eg/negative_binomial_example2.html">
+ Negative Binomial Table Printing Example.</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="stat_tut/weg/normal_example.html">Normal
+<dt><span class="section"><a href="stat_tut/weg/normal_example.html"> Normal
           Distribution Examples</a></span></dt>
-<dd><dl><dt><span class="section"><a href="stat_tut/weg/normal_example/normal_misc.html">Some
- Miscellaneous Examples of the Normal (Gaussian) Distribution</a></span></dt></dl></dd>
-<dt><span class="section"><a href="stat_tut/weg/nccs_eg.html">Non Central
+<dd><dl><dt><span class="section"><a href="stat_tut/weg/normal_example/normal_misc.html">
+ Some Miscellaneous Examples of the Normal (Gaussian) Distribution</a></span></dt></dl></dd>
+<dt><span class="section"><a href="stat_tut/weg/nccs_eg.html"> Non Central
           Chi Squared Example</a></span></dt>
-<dd><dl><dt><span class="section"><a href="stat_tut/weg/nccs_eg/nccs_power_eg.html">Tables
- of the power function of the &#967;<sup>2</sup> test.</a></span></dt></dl></dd>
-<dt><span class="section"><a href="stat_tut/weg/error_eg.html">Error Handling
+<dd><dl><dt><span class="section"><a href="stat_tut/weg/nccs_eg/nccs_power_eg.html">
+ Tables of the power function of the &#967;<sup>2</sup> test.</a></span></dt></dl></dd>
+<dt><span class="section"><a href="stat_tut/weg/error_eg.html"> Error Handling
           Example</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/find_eg.html">Find Location
+<dt><span class="section"><a href="stat_tut/weg/find_eg.html"> Find Location
           and Scale Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="stat_tut/weg/find_eg/find_location_eg.html">Find
- Location (Mean) Example</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/find_eg/find_scale_eg.html">Find
- Scale (Standard Deviation) Example</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/find_eg/find_mean_and_sd_eg.html">Find
- mean and standard deviation example</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/find_eg/find_location_eg.html">
+ Find Location (Mean) Example</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/find_eg/find_scale_eg.html">
+ Find Scale (Standard Deviation) Example</a></span></dt>
+<dt><span class="section"><a href="stat_tut/weg/find_eg/find_mean_and_sd_eg.html">
+ Find mean and standard deviation example</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="stat_tut/weg/nag_library.html">Comparison
+<dt><span class="section"><a href="stat_tut/weg/nag_library.html"> Comparison
           with C, R, FORTRAN-style Free Functions</a></span></dt>
-<dt><span class="section"><a href="stat_tut/weg/c_sharp.html">Using the
+<dt><span class="section"><a href="stat_tut/weg/c_sharp.html"> Using the
           Distributions from Within C#</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="stat_tut/variates.html">Random Variates
+<dt><span class="section"><a href="stat_tut/variates.html"> Random Variates
         and Distribution Parameters</a></span></dt>
-<dt><span class="section"><a href="stat_tut/dist_params.html">Discrete Probability
+<dt><span class="section"><a href="stat_tut/dist_params.html"> Discrete Probability
         Distributions</a></span></dt>
 </dl></div>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/dist_params.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/dist_params.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/dist_params.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="math_toolkit.dist.stat_tut.dist_params"></a><a class="link" href="dist_params.html" title="Discrete Probability Distributions">Discrete Probability
+<a name="math_toolkit.dist.stat_tut.dist_params"></a><a class="link" href="dist_params.html" title="Discrete Probability Distributions"> Discrete Probability
         Distributions</a>
 </h4></div></div></div>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,22 +24,23 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="math_toolkit.dist.stat_tut.overview"></a><a class="link" href="overview.html" title="Overview of Distributions">Overview of Distributions</a>
+<a name="math_toolkit.dist.stat_tut.overview"></a><a class="link" href="overview.html" title="Overview of Distributions"> Overview of Distributions</a>
 </h4></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="overview/headers.html">Headers
+<dt><span class="section"><a href="overview/headers.html"> Headers
           and Namespaces</a></span></dt>
-<dt><span class="section"><a href="overview/objects.html">Distributions
+<dt><span class="section"><a href="overview/objects.html"> Distributions
           are Objects</a></span></dt>
-<dt><span class="section"><a href="overview/generic.html">Generic
+<dt><span class="section"><a href="overview/generic.html"> Generic
           operations common to all distributions are non-member functions</a></span></dt>
-<dt><span class="section"><a href="overview/complements.html">Complements
- are supported too - and when to use them</a></span></dt>
-<dt><span class="section"><a href="overview/parameters.html">Parameters
- can be calculated</a></span></dt>
-<dt><span class="section">Summary</span></dt>
+<dt><span class="section"><a href="overview/complements.html">
+ Complements are supported too - and when to use them</a></span></dt>
+<dt><span class="section"><a href="overview/parameters.html">
+ Parameters can be calculated</a></span></dt>
+<dt><span class="section"> Summary</span></dt>
 </dl></div>
-<a name="complements"></a>
+<a name="complements"></a><p>
+ </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
 <td align="left"></td>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/complements.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/complements.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/complements.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.overview.complements"></a><a class="link" href="complements.html" title="Complements are supported too - and when to use them">Complements
- are supported too - and when to use them</a>
+<a name="math_toolkit.dist.stat_tut.overview.complements"></a><a class="link" href="complements.html" title="Complements are supported too - and when to use them">
+ Complements are supported too - and when to use them</a>
 </h5></div></div></div>
 <p>
             Often you don't want the value of the CDF, but its complement, which
@@ -70,6 +70,8 @@
 </tr>
 <tr><td align="left" valign="top">
 <p>
+ </p>
+<p>
               <span class="bold"><strong>Critical values are just quantiles</strong></span>
             </p>
 <p>
@@ -103,13 +105,17 @@
             </p>
 </td></tr>
 </table></div>
-<a name="why_complements"></a><div class="tip"><table border="0" summary="Tip">
+<a name="why_complements"></a><p>
+ </p>
+<div class="tip"><table border="0" summary="Tip">
 <tr>
 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../../../../../../doc/src/images/tip.png"></td>
 <th align="left">Tip</th>
 </tr>
 <tr><td align="left" valign="top">
 <p>
+ </p>
+<p>
               <span class="bold"><strong>Why bother with complements anyway?</strong></span>
             </p>
 <p>
@@ -180,6 +186,8 @@
               This assumes that the 0.00001 value is either a constant, or can be
               computed by some manner other than subtracting 0.99999 from 1.
             </p>
+<p>
+ </p>
 </td></tr>
 </table></div>
 </div>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/generic.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/generic.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/generic.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.overview.generic"></a><a class="link" href="generic.html" title="Generic operations common to all distributions are non-member functions">Generic
+<a name="math_toolkit.dist.stat_tut.overview.generic"></a><a class="link" href="generic.html" title="Generic operations common to all distributions are non-member functions"> Generic
           operations common to all distributions are non-member functions</a>
 </h5></div></div></div>
 <p>
@@ -59,6 +59,8 @@
 </tr>
 <tr><td align="left" valign="top">
 <p>
+ </p>
+<p>
               <span class="bold"><strong>Random numbers that approximate Quantiles of
               Distributions</strong></span>
             </p>
@@ -100,6 +102,8 @@
 </tr>
 <tr><td align="left" valign="top">
 <p>
+ </p>
+<p>
               <span class="bold"><strong>Random Variates and Distribution Parameters</strong></span>
             </p>
 <p>
@@ -190,6 +194,8 @@
 </tr>
 <tr><td align="left" valign="top">
 <p>
+ </p>
+<p>
               <span class="bold"><strong>Discrete Probability Distributions</strong></span>
             </p>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/headers.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/headers.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/headers.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.overview.headers"></a><a class="link" href="headers.html" title="Headers and Namespaces">Headers
+<a name="math_toolkit.dist.stat_tut.overview.headers"></a><a class="link" href="headers.html" title="Headers and Namespaces"> Headers
           and Namespaces</a>
 </h5></div></div></div>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/objects.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/objects.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/objects.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.overview.objects"></a><a class="link" href="objects.html" title="Distributions are Objects">Distributions
+<a name="math_toolkit.dist.stat_tut.overview.objects"></a><a class="link" href="objects.html" title="Distributions are Objects"> Distributions
           are Objects</a>
 </h5></div></div></div>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/parameters.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/parameters.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/parameters.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.overview.parameters"></a><a class="link" href="parameters.html" title="Parameters can be calculated">Parameters
- can be calculated</a>
+<a name="math_toolkit.dist.stat_tut.overview.parameters"></a><a class="link" href="parameters.html" title="Parameters can be calculated">
+ Parameters can be calculated</a>
 </h5></div></div></div>
 <p>
             Sometimes it's the parameters that define the distribution that you need

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/summary.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/summary.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/overview/summary.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.overview.summary"></a><a class="link" href="summary.html" title="Summary">Summary</a>
+<a name="math_toolkit.dist.stat_tut.overview.summary"></a><a class="link" href="summary.html" title="Summary"> Summary</a>
 </h5></div></div></div>
 <div class="itemizedlist"><ul type="disc">
 <li>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/variates.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/variates.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/variates.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="math_toolkit.dist.stat_tut.variates"></a><a class="link" href="variates.html" title="Random Variates and Distribution Parameters">Random Variates
+<a name="math_toolkit.dist.stat_tut.variates"></a><a class="link" href="variates.html" title="Random Variates and Distribution Parameters"> Random Variates
         and Distribution Parameters</a>
 </h4></div></div></div>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,90 +24,96 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h4 class="title">
-<a name="math_toolkit.dist.stat_tut.weg"></a><a class="link" href="weg.html" title="Worked Examples">Worked Examples</a>
+<a name="math_toolkit.dist.stat_tut.weg"></a><a class="link" href="weg.html" title="Worked Examples"> Worked Examples</a>
 </h4></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="weg/dist_construct_eg.html">Distribution
- Construction Example</a></span></dt>
-<dt><span class="section"><a href="weg/st_eg.html">Student's t
- Distribution Examples</a></span></dt>
+<dt><span class="section"><a href="weg/dist_construct_eg.html">
+ Distribution Construction Example</a></span></dt>
+<dt><span class="section"><a href="weg/st_eg.html"> Student's
+ t Distribution Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="weg/st_eg/tut_mean_intervals.html">Calculating
- confidence intervals on the mean with the Students-t distribution</a></span></dt>
-<dt><span class="section"><a href="weg/st_eg/tut_mean_test.html">Testing
- a sample mean for difference from a "true" mean</a></span></dt>
-<dt><span class="section"><a href="weg/st_eg/tut_mean_size.html">Estimating
- how large a sample size would have to become in order to give a significant
- Students-t test result with a single sample test</a></span></dt>
-<dt><span class="section"><a href="weg/st_eg/two_sample_students_t.html">Comparing
- the means of two samples with the Students-t test</a></span></dt>
-<dt><span class="section"><a href="weg/st_eg/paired_st.html">Comparing
- two paired samples with the Student's t distribution</a></span></dt>
+<dt><span class="section"><a href="weg/st_eg/tut_mean_intervals.html">
+ Calculating confidence intervals on the mean with the Students-t distribution</a></span></dt>
+<dt><span class="section"><a href="weg/st_eg/tut_mean_test.html">
+ Testing a sample mean for difference from a "true" mean</a></span></dt>
+<dt><span class="section"><a href="weg/st_eg/tut_mean_size.html">
+ Estimating how large a sample size would have to become in order to give
+ a significant Students-t test result with a single sample test</a></span></dt>
+<dt><span class="section"><a href="weg/st_eg/two_sample_students_t.html">
+ Comparing the means of two samples with the Students-t test</a></span></dt>
+<dt><span class="section"><a href="weg/st_eg/paired_st.html">
+ Comparing two paired samples with the Student's t distribution</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="weg/cs_eg.html">Chi Squared
+<dt><span class="section"><a href="weg/cs_eg.html"> Chi Squared
           Distribution Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="weg/cs_eg/chi_sq_intervals.html">Confidence
- Intervals on the Standard Deviation</a></span></dt>
-<dt><span class="section"><a href="weg/cs_eg/chi_sq_test.html">Chi-Square
- Test for the Standard Deviation</a></span></dt>
-<dt><span class="section"><a href="weg/cs_eg/chi_sq_size.html">Estimating
- the Required Sample Sizes for a Chi-Square Test for the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="weg/cs_eg/chi_sq_intervals.html">
+ Confidence Intervals on the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="weg/cs_eg/chi_sq_test.html">
+ Chi-Square Test for the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="weg/cs_eg/chi_sq_size.html">
+ Estimating the Required Sample Sizes for a Chi-Square Test for the Standard
+ Deviation</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="weg/f_eg.html">F Distribution
+<dt><span class="section"><a href="weg/f_eg.html"> F Distribution
           Examples</a></span></dt>
-<dt><span class="section"><a href="weg/binom_eg.html">Binomial
+<dt><span class="section"><a href="weg/binom_eg.html"> Binomial
           Distribution Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="weg/binom_eg/binomial_coinflip_example.html">Binomial
- Coin-Flipping Example</a></span></dt>
-<dt><span class="section"><a href="weg/binom_eg/binomial_quiz_example.html">Binomial
- Quiz Example</a></span></dt>
-<dt><span class="section"><a href="weg/binom_eg/binom_conf.html">Calculating
- Confidence Limits on the Frequency of Occurrence for a Binomial Distribution</a></span></dt>
-<dt><span class="section"><a href="weg/binom_eg/binom_size_eg.html">Estimating
- Sample Sizes for a Binomial Distribution.</a></span></dt>
+<dt><span class="section"><a href="weg/binom_eg/binomial_coinflip_example.html">
+ Binomial Coin-Flipping Example</a></span></dt>
+<dt><span class="section"><a href="weg/binom_eg/binomial_quiz_example.html">
+ Binomial Quiz Example</a></span></dt>
+<dt><span class="section"><a href="weg/binom_eg/binom_conf.html">
+ Calculating Confidence Limits on the Frequency of Occurrence for a Binomial
+ Distribution</a></span></dt>
+<dt><span class="section"><a href="weg/binom_eg/binom_size_eg.html">
+ Estimating Sample Sizes for a Binomial Distribution.</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="weg/geometric_eg.html">Geometric
+<dt><span class="section"><a href="weg/geometric_eg.html"> Geometric
           Distribution Examples</a></span></dt>
-<dt><span class="section"><a href="weg/neg_binom_eg.html">Negative
+<dt><span class="section"><a href="weg/neg_binom_eg.html"> Negative
           Binomial Distribution Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="weg/neg_binom_eg/neg_binom_conf.html">Calculating
- Confidence Limits on the Frequency of Occurrence for the Negative Binomial
- Distribution</a></span></dt>
-<dt><span class="section"><a href="weg/neg_binom_eg/neg_binom_size_eg.html">Estimating
- Sample Sizes for the Negative Binomial.</a></span></dt>
-<dt><span class="section"><a href="weg/neg_binom_eg/negative_binomial_example1.html">Negative
- Binomial Sales Quota Example.</a></span></dt>
-<dt><span class="section"><a href="weg/neg_binom_eg/negative_binomial_example2.html">Negative
- Binomial Table Printing Example.</a></span></dt>
+<dt><span class="section"><a href="weg/neg_binom_eg/neg_binom_conf.html">
+ Calculating Confidence Limits on the Frequency of Occurrence for the
+ Negative Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="weg/neg_binom_eg/neg_binom_size_eg.html">
+ Estimating Sample Sizes for the Negative Binomial.</a></span></dt>
+<dt><span class="section"><a href="weg/neg_binom_eg/negative_binomial_example1.html">
+ Negative Binomial Sales Quota Example.</a></span></dt>
+<dt><span class="section"><a href="weg/neg_binom_eg/negative_binomial_example2.html">
+ Negative Binomial Table Printing Example.</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="weg/normal_example.html">Normal
+<dt><span class="section"><a href="weg/normal_example.html"> Normal
           Distribution Examples</a></span></dt>
-<dd><dl><dt><span class="section"><a href="weg/normal_example/normal_misc.html">Some
- Miscellaneous Examples of the Normal (Gaussian) Distribution</a></span></dt></dl></dd>
-<dt><span class="section"><a href="weg/nccs_eg.html">Non Central
+<dd><dl><dt><span class="section"><a href="weg/normal_example/normal_misc.html">
+ Some Miscellaneous Examples of the Normal (Gaussian) Distribution</a></span></dt></dl></dd>
+<dt><span class="section"><a href="weg/nccs_eg.html"> Non Central
           Chi Squared Example</a></span></dt>
-<dd><dl><dt><span class="section"><a href="weg/nccs_eg/nccs_power_eg.html">Tables
- of the power function of the &#967;<sup>2</sup> test.</a></span></dt></dl></dd>
-<dt><span class="section"><a href="weg/error_eg.html">Error Handling
+<dd><dl><dt><span class="section"><a href="weg/nccs_eg/nccs_power_eg.html">
+ Tables of the power function of the &#967;<sup>2</sup> test.</a></span></dt></dl></dd>
+<dt><span class="section"><a href="weg/error_eg.html"> Error Handling
           Example</a></span></dt>
-<dt><span class="section"><a href="weg/find_eg.html">Find Location
+<dt><span class="section"><a href="weg/find_eg.html"> Find Location
           and Scale Examples</a></span></dt>
 <dd><dl>
-<dt><span class="section"><a href="weg/find_eg/find_location_eg.html">Find
- Location (Mean) Example</a></span></dt>
-<dt><span class="section"><a href="weg/find_eg/find_scale_eg.html">Find
- Scale (Standard Deviation) Example</a></span></dt>
-<dt><span class="section"><a href="weg/find_eg/find_mean_and_sd_eg.html">Find
- mean and standard deviation example</a></span></dt>
+<dt><span class="section"><a href="weg/find_eg/find_location_eg.html">
+ Find Location (Mean) Example</a></span></dt>
+<dt><span class="section"><a href="weg/find_eg/find_scale_eg.html">
+ Find Scale (Standard Deviation) Example</a></span></dt>
+<dt><span class="section"><a href="weg/find_eg/find_mean_and_sd_eg.html">
+ Find mean and standard deviation example</a></span></dt>
 </dl></dd>
-<dt><span class="section"><a href="weg/nag_library.html">Comparison
+<dt><span class="section"><a href="weg/nag_library.html"> Comparison
           with C, R, FORTRAN-style Free Functions</a></span></dt>
-<dt><span class="section"><a href="weg/c_sharp.html">Using the
+<dt><span class="section"><a href="weg/c_sharp.html"> Using the
           Distributions from Within C#</a></span></dt>
 </dl></div>
+<p>
+ </p>
+<p>
+ </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
 <td align="left"></td>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,18 +24,19 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.binom_eg"></a><a class="link" href="binom_eg.html" title="Binomial Distribution Examples">Binomial
+<a name="math_toolkit.dist.stat_tut.weg.binom_eg"></a><a class="link" href="binom_eg.html" title="Binomial Distribution Examples"> Binomial
           Distribution Examples</a>
 </h5></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="binom_eg/binomial_coinflip_example.html">Binomial
- Coin-Flipping Example</a></span></dt>
-<dt><span class="section"><a href="binom_eg/binomial_quiz_example.html">Binomial
- Quiz Example</a></span></dt>
-<dt><span class="section"><a href="binom_eg/binom_conf.html">Calculating
- Confidence Limits on the Frequency of Occurrence for a Binomial Distribution</a></span></dt>
-<dt><span class="section"><a href="binom_eg/binom_size_eg.html">Estimating
- Sample Sizes for a Binomial Distribution.</a></span></dt>
+<dt><span class="section"><a href="binom_eg/binomial_coinflip_example.html">
+ Binomial Coin-Flipping Example</a></span></dt>
+<dt><span class="section"><a href="binom_eg/binomial_quiz_example.html">
+ Binomial Quiz Example</a></span></dt>
+<dt><span class="section"><a href="binom_eg/binom_conf.html">
+ Calculating Confidence Limits on the Frequency of Occurrence for a Binomial
+ Distribution</a></span></dt>
+<dt><span class="section"><a href="binom_eg/binom_size_eg.html">
+ Estimating Sample Sizes for a Binomial Distribution.</a></span></dt>
 </dl></div>
 <p>
             See also the reference documentation for the <a class="link" href="../../dist_ref/dists/binomial_dist.html" title="Binomial Distribution">Binomial

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binom_conf.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binom_conf.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binom_conf.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,9 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binom_conf"></a><a class="link" href="binom_conf.html" title="Calculating Confidence Limits on the Frequency of Occurrence for a Binomial Distribution">Calculating
- Confidence Limits on the Frequency of Occurrence for a Binomial Distribution</a>
+<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binom_conf"></a><a class="link" href="binom_conf.html" title="Calculating Confidence Limits on the Frequency of Occurrence for a Binomial Distribution">
+ Calculating Confidence Limits on the Frequency of Occurrence for a Binomial
+ Distribution</a>
 </h6></div></div></div>
 <p>
               Imagine you have a process that follows a binomial distribution: for

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binom_size_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binom_size_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binom_size_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binom_size_eg"></a><a class="link" href="binom_size_eg.html" title="Estimating Sample Sizes for a Binomial Distribution.">Estimating
- Sample Sizes for a Binomial Distribution.</a>
+<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binom_size_eg"></a><a class="link" href="binom_size_eg.html" title="Estimating Sample Sizes for a Binomial Distribution.">
+ Estimating Sample Sizes for a Binomial Distribution.</a>
 </h6></div></div></div>
 <p>
               Imagine you have a critical component that you know will fail in 1

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binomial_coinflip_example.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binomial_coinflip_example.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binomial_coinflip_example.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,36 +24,48 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_coinflip_example"></a><a class="link" href="binomial_coinflip_example.html" title="Binomial Coin-Flipping Example">Binomial
- Coin-Flipping Example</a>
+<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_coinflip_example"></a><a class="link" href="binomial_coinflip_example.html" title="Binomial Coin-Flipping Example">
+ Binomial Coin-Flipping Example</a>
 </h6></div></div></div>
 <p>
- An example of a <a href="http://en.wikipedia.org/wiki/Bernoulli_process" target="_top">Bernoulli
- process</a> is coin flipping. A variable in such a sequence may
- be called a Bernoulli variable.
- </p>
+ </p>
 <p>
- This example shows using the Binomial distribution to predict the probability
- of heads and tails when throwing a coin.
- </p>
+ An example of a <a href="http://en.wikipedia.org/wiki/Bernoulli_process" target="_top">Bernoulli
+ process</a> is coin flipping. A variable in such a sequence may
+ be called a Bernoulli variable.
+ </p>
 <p>
- The number of correct answers (say heads), X, is distributed as a binomial
- random variable with binomial distribution parameters number of trials
- (flips) n = 10 and probability (success_fraction) of getting a head
- p = 0.5 (a 'fair' coin).
- </p>
+ </p>
 <p>
- (Our coin is assumed fair, but we could easily change the success_fraction
- parameter p from 0.5 to some other value to simulate an unfair coin,
- say 0.6 for one with chewing gum on the tail, so it is more likely
- to fall tails down and heads up).
- </p>
+ This example shows using the Binomial distribution to predict the
+ probability of heads and tails when throwing a coin.
+ </p>
 <p>
- First we need some includes and using statements to be able to use
- the binomial distribution, some std input and output, and get started:
- </p>
+ </p>
 <p>
-
+ The number of correct answers (say heads), X, is distributed as a
+ binomial random variable with binomial distribution parameters number
+ of trials (flips) n = 10 and probability (success_fraction) of getting
+ a head p = 0.5 (a 'fair' coin).
+ </p>
+<p>
+ </p>
+<p>
+ (Our coin is assumed fair, but we could easily change the success_fraction
+ parameter p from 0.5 to some other value to simulate an unfair coin,
+ say 0.6 for one with chewing gum on the tail, so it is more likely
+ to fall tails down and heads up).
+ </p>
+<p>
+ </p>
+<p>
+ First we need some includes and using statements to be able to use
+ the binomial distribution, some std input and output, and get started:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">binomial</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
   <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">binomial</span><span class="special">;</span>
@@ -69,17 +81,23 @@
   <span class="keyword">try</span>
   <span class="special">{</span></pre>
 <p>
- </p>
+ </p>
 <p>
- See note <a class="link" href="binomial_coinflip_example.html#coinflip_eg_catch">with the catch block</a>
- about why a try and catch block is always a good idea.
- </p>
+ </p>
 <p>
- First, construct a binomial distribution with parameters success_fraction
- 1/2, and how many flips.
- </p>
+ See note <a class="link" href="binomial_coinflip_example.html#coinflip_eg_catch">with the catch block</a>
+ about why a try and catch block is always a good idea.
+ </p>
 <p>
-
+ </p>
+<p>
+ First, construct a binomial distribution with parameters success_fraction
+ 1/2, and how many flips.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">const</span> <span class="keyword">double</span> <span class="identifier">success_fraction</span> <span class="special">=</span> <span class="number">0.5</span><span class="special">;</span> <span class="comment">// = 50% = 1/2 for a 'fair' coin.
 </span><span class="keyword">int</span> <span class="identifier">flips</span> <span class="special">=</span> <span class="number">10</span><span class="special">;</span>
@@ -87,12 +105,16 @@
 
 <span class="identifier">cout</span><span class="special">.</span><span class="identifier">precision</span><span class="special">(</span><span class="number">4</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Then some examples of using Binomial moments (and echoing the parameters).
- </p>
+ </p>
 <p>
-
+ Then some examples of using Binomial moments (and echoing the parameters).
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"From "</span> <span class="special">&lt;&lt;</span> <span class="identifier">flips</span> <span class="special">&lt;&lt;</span> <span class="string">" one can expect to get on average "</span>
   <span class="special">&lt;&lt;</span> <span class="identifier">mean</span><span class="special">(</span><span class="identifier">flip</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="string">" heads (or tails)."</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -108,104 +130,141 @@
 </span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Skewness if success_fraction is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">flip</span><span class="special">.</span><span class="identifier">success_fraction</span><span class="special">()</span>
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">skewness</span><span class="special">(</span><span class="identifier">flip</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// Expect zero for a 'fair' coin.</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Now we show a variety of predictions on the probability of heads:
- </p>
+ </p>
 <p>
-
+ Now we show a variety of predictions on the probability of heads:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"For "</span> <span class="special">&lt;&lt;</span> <span class="identifier">flip</span><span class="special">.</span><span class="identifier">trials</span><span class="special">()</span> <span class="special">&lt;&lt;</span> <span class="string">" coin flips: "</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting no heads is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting at least one head is "</span> <span class="special">&lt;&lt;</span> <span class="number">1.</span> <span class="special">-</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- When we want to calculate the probability for a range or values we
- can sum the PDF's:
- </p>
+ </p>
 <p>
-
+ When we want to calculate the probability for a range or values we
+ can sum the PDF's:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting 0 or 1 heads is "</span>
   <span class="special">&lt;&lt;</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span> <span class="special">+</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">1</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// sum of exactly == probabilities</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Or we can use the cdf.
- </p>
+ </p>
 <p>
-
+ Or we can use the cdf.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting 0 or 1 (&lt;= 1) heads is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">1</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting 9 or 10 heads is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">9</span><span class="special">)</span> <span class="special">+</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Note that using
- </p>
+ </p>
 <p>
-
+ Note that using
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting 9 or 10 heads is "</span> <span class="special">&lt;&lt;</span> <span class="number">1.</span> <span class="special">-</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">8</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- is less accurate than using the complement
- </p>
+ </p>
 <p>
-
+ is less accurate than using the complement
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting 9 or 10 heads is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">8</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Since the subtraction may involve <a href="http://docs.sun.com/source/806-3568/ncg_goldberg.html" target="_top">cancellation
- error</a>, where as <code class="computeroutput"><span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">8</span><span class="special">))</span></code>
- does not use such a subtraction internally, and so does not exhibit
- the problem.
- </p>
+ </p>
 <p>
- To get the probability for a range of heads, we can either add the
- pdfs for each number of heads
- </p>
+ Since the subtraction may involve <a href="http://docs.sun.com/source/806-3568/ncg_goldberg.html" target="_top">cancellation
+ error</a>, where as <code class="computeroutput"><span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">8</span><span class="special">))</span></code> does not use such a subtraction
+ internally, and so does not exhibit the problem.
+ </p>
 <p>
-
+ </p>
+<p>
+ To get the probability for a range of heads, we can either add the
+ pdfs for each number of heads
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of between 4 and 6 heads (4 or 5 or 6) is "</span>
   <span class="comment">// P(X == 4) + P(X == 5) + P(X == 6)
 </span> <span class="special">&lt;&lt;</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">4</span><span class="special">)</span> <span class="special">+</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">5</span><span class="special">)</span> <span class="special">+</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">6</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- But this is probably less efficient than using the cdf
- </p>
+ </p>
 <p>
-
+ But this is probably less efficient than using the cdf
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of between 4 and 6 heads (4 or 5 or 6) is "</span>
   <span class="comment">// P(X &lt;= 6) - P(X &lt;= 3) == P(X &lt; 4)
 </span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">6</span><span class="special">)</span> <span class="special">-</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">3</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Certainly for a bigger range like, 3 to 7
- </p>
+ </p>
 <p>
-
+ Certainly for a bigger range like, 3 to 7
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of between 3 and 7 heads (3, 4, 5, 6 or 7) is "</span>
   <span class="comment">// P(X &lt;= 7) - P(X &lt;= 2) == P(X &lt; 3)
 </span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">7</span><span class="special">)</span> <span class="special">-</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">flip</span><span class="special">,</span> <span class="number">2</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Finally, print two tables of probability for the <span class="emphasis"><em>exactly</em></span>
- and <span class="emphasis"><em>at least</em></span> a number of heads.
- </p>
+ </p>
 <p>
-
+ Finally, print two tables of probability for the <span class="emphasis"><em>exactly</em></span>
+ and <span class="emphasis"><em>at least</em></span> a number of heads.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="comment">// Print a table of probability for the exactly a number of heads.
 </span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting exactly (==) heads"</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -229,42 +288,58 @@
     <span class="special">&lt;&lt;</span> <span class="identifier">probability</span> <span class="special">*</span> <span class="number">100.</span> <span class="special">&lt;&lt;</span> <span class="string">"%"</span><span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="special">}</span> <span class="comment">// for i</span></pre>
 <p>
- </p>
+ </p>
 <p>
- The last (0 to 10 heads) must, of course, be 100% probability.
- </p>
+ </p>
 <p>
-
+ The last (0 to 10 heads) must, of course, be 100% probability.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="special">}</span>
 <span class="keyword">catch</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">exception</span><span class="special">&amp;</span> <span class="identifier">e</span><span class="special">)</span>
 <span class="special">{</span>
   <span class="comment">//</span></pre>
 <p>
- </p>
-<a name="coinflip_eg_catch"></a><p>
- It is always essential to include try &amp; catch blocks because default
- policies are to throw exceptions on arguments that are out of domain
- or cause errors like numeric-overflow.
- </p>
+ </p>
 <p>
- Lacking try &amp; catch blocks, the program will abort, whereas the
- message below from the thrown exception will give some helpful clues
- as to the cause of the problem.
- </p>
+ <a name="coinflip_eg_catch"></a>
+ </p>
 <p>
-
+ It is always essential to include try &amp; catch blocks because
+ default policies are to throw exceptions on arguments that are out
+ of domain or cause errors like numeric-overflow.
+ </p>
+<p>
+ </p>
+<p>
+ Lacking try &amp; catch blocks, the program will abort, whereas the
+ message below from the thrown exception will give some helpful clues
+ as to the cause of the problem.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span>
     <span class="string">"\n"</span><span class="string">"Message from thrown exception was:\n "</span> <span class="special">&lt;&lt;</span> <span class="identifier">e</span><span class="special">.</span><span class="identifier">what</span><span class="special">()</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
 <span class="special">}</span>
 </pre>
 <p>
+ </p>
+<p>
             </p>
 <p>
               See binomial_coinflip_example.cpp
               for full source code, the program output looks like this:
             </p>
+<p>
+
+</p>
 <pre class="programlisting">Using Binomial distribution to predict how many heads and tails.
 From 10 one can expect to get on average 5 heads (or tails).
 Mode is 5
@@ -311,6 +386,8 @@
 9 0.999 or 1 in 1.001, or 99.9%
 10 1 or 1 in 1, or 100%
 </pre>
+<p>
+ </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
 <td align="left"></td>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binomial_quiz_example.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binomial_quiz_example.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binomial_quiz_example.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,27 +24,33 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example"></a><a class="link" href="binomial_quiz_example.html" title="Binomial Quiz Example">Binomial
- Quiz Example</a>
+<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example"></a><a class="link" href="binomial_quiz_example.html" title="Binomial Quiz Example">
+ Binomial Quiz Example</a>
 </h6></div></div></div>
 <p>
- A multiple choice test has four possible answers to each of 16 questions.
- A student guesses the answer to each question, so the probability of
- getting a correct answer on any given question is one in four, a quarter,
- 1/4, 25% or fraction 0.25. The conditions of the binomial experiment
- are assumed to be met: n = 16 questions constitute the trials; each
- question results in one of two possible outcomes (correct or incorrect);
- the probability of being correct is 0.25 and is constant if no knowledge
- about the subject is assumed; the questions are answered independently
- if the student's answer to a question in no way influences his/her
- answer to another question.
- </p>
+ </p>
 <p>
- First, we need to be able to use the binomial distribution constructor
- (and some std input/output, of course).
- </p>
+ A multiple choice test has four possible answers to each of 16 questions.
+ A student guesses the answer to each question, so the probability
+ of getting a correct answer on any given question is one in four,
+ a quarter, 1/4, 25% or fraction 0.25. The conditions of the binomial
+ experiment are assumed to be met: n = 16 questions constitute the
+ trials; each question results in one of two possible outcomes (correct
+ or incorrect); the probability of being correct is 0.25 and is constant
+ if no knowledge about the subject is assumed; the questions are answered
+ independently if the student's answer to a question in no way influences
+ his/her answer to another question.
+ </p>
+<p>
+ </p>
+<p>
+ First, we need to be able to use the binomial distribution constructor
+ (and some std input/output, of course).
+ </p>
 <p>
-
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">binomial</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
   <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">binomial</span><span class="special">;</span>
@@ -60,38 +66,50 @@
 
 </pre>
 <p>
- </p>
+ </p>
 <p>
- The number of correct answers, X, is distributed as a binomial random
- variable with binomial distribution parameters: questions n and success
- fraction probability p. So we construct a binomial distribution:
- </p>
+ </p>
 <p>
-
+ The number of correct answers, X, is distributed as a binomial random
+ variable with binomial distribution parameters: questions n and success
+ fraction probability p. So we construct a binomial distribution:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">questions</span> <span class="special">=</span> <span class="number">16</span><span class="special">;</span> <span class="comment">// All the questions in the quiz.
 </span><span class="keyword">int</span> <span class="identifier">answers</span> <span class="special">=</span> <span class="number">4</span><span class="special">;</span> <span class="comment">// Possible answers to each question.
 </span><span class="keyword">double</span> <span class="identifier">success_fraction</span> <span class="special">=</span> <span class="number">1.</span> <span class="special">/</span> <span class="identifier">answers</span><span class="special">;</span> <span class="comment">// If a random guess, p = 1/4 = 0.25.
 </span><span class="identifier">binomial</span> <span class="identifier">quiz</span><span class="special">(</span><span class="identifier">questions</span><span class="special">,</span> <span class="identifier">success_fraction</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- and display the distribution parameters we used thus:
- </p>
+ </p>
 <p>
-
+ and display the distribution parameters we used thus:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"In a quiz with "</span> <span class="special">&lt;&lt;</span> <span class="identifier">quiz</span><span class="special">.</span><span class="identifier">trials</span><span class="special">()</span>
   <span class="special">&lt;&lt;</span> <span class="string">" questions and with a probability of guessing right of "</span>
   <span class="special">&lt;&lt;</span> <span class="identifier">quiz</span><span class="special">.</span><span class="identifier">success_fraction</span><span class="special">()</span> <span class="special">*</span> <span class="number">100</span> <span class="special">&lt;&lt;</span> <span class="string">" %"</span>
   <span class="special">&lt;&lt;</span> <span class="string">" or 1 in "</span> <span class="special">&lt;&lt;</span> <span class="keyword">static_cast</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;(</span><span class="number">1.</span> <span class="special">/</span> <span class="identifier">quiz</span><span class="special">.</span><span class="identifier">success_fraction</span><span class="special">())</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Show a few probabilities of just guessing:
- </p>
+ </p>
 <p>
-
+ Show a few probabilities of just guessing:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting none right is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.010023
 </span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting exactly one right is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">1</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -102,7 +120,10 @@
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting all "</span> <span class="special">&lt;&lt;</span> <span class="identifier">questions</span> <span class="special">&lt;&lt;</span> <span class="string">" answers right by chance is "</span>
   <span class="special">&lt;&lt;</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="identifier">questions</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Probability of getting none right is 0.0100226
 Probability of getting exactly one right is 0.0534538
 Probability of getting exactly two right is 0.133635
@@ -110,13 +131,20 @@
 Probability of getting exactly all 16 answers right by chance is 2.32831e-010
 </pre>
 <p>
- These don't give any encouragement to guessers!
- </p>
+ </p>
 <p>
- We can tabulate the 'getting exactly right' ( == ) probabilities thus:
- </p>
+ These don't give any encouragement to guessers!
+ </p>
 <p>
-
+ </p>
+<p>
+ We can tabulate the 'getting exactly right' ( == ) probabilities
+ thus:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"\n"</span> <span class="string">"Guessed Probability"</span> <span class="special">&lt;&lt;</span> <span class="identifier">right</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">successes</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">successes</span> <span class="special">&lt;=</span> <span class="identifier">questions</span><span class="special">;</span> <span class="identifier">successes</span><span class="special">++)</span>
@@ -126,7 +154,10 @@
 <span class="special">}</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Guessed Probability
  0 0.0100226
  1 0.0534538
@@ -147,101 +178,152 @@
 16 2.32831e-010
 </pre>
 <p>
- Then we can add the probabilities of some 'exactly right' like this:
- </p>
+ </p>
 <p>
-
+ Then we can add the probabilities of some 'exactly right' like this:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting none or one right is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span> <span class="special">+</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">1</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Probability of getting none or one right is 0.0634764
 </pre>
 <p>
- But if more than a couple of scores are involved, it is more convenient
- (and may be more accurate) to use the Cumulative Distribution Function
- (cdf) instead:
- </p>
+ </p>
 <p>
-
+ But if more than a couple of scores are involved, it is more convenient
+ (and may be more accurate) to use the Cumulative Distribution Function
+ (cdf) instead:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting none or one right is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">1</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Probability of getting none or one right is 0.0634764
 </pre>
 <p>
- Since the cdf is inclusive, we can get the probability of getting up
- to 10 right ( &lt;= )
- </p>
+ </p>
 <p>
-
+ Since the cdf is inclusive, we can get the probability of getting
+ up to 10 right ( &lt;= )
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting &lt;= 10 right (to fail) is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Probability of getting &lt;= 10 right (to fail) is 0.999715
 </pre>
 <p>
- To get the probability of getting 11 or more right (to pass), it is
- tempting to use
+ </p>
+<p>
+ To get the probability of getting 11 or more right (to pass), it
+ is tempting to use
 </p>
 <pre class="programlisting"><span class="number">1</span> <span class="special">-</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span></pre>
 <p>
- to get the probability of &gt; 10
- </p>
+ to get the probability of &gt; 10
+ </p>
 <p>
-
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting &gt; 10 right (to pass) is "</span> <span class="special">&lt;&lt;</span> <span class="number">1</span> <span class="special">-</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Probability of getting &gt; 10 right (to pass) is 0.000285239
 </pre>
 <p>
- But this should be resisted in favor of using the complement function.
- <a class="link" href="../../overview/complements.html#why_complements">Why complements?</a>
- </p>
+ </p>
 <p>
-
+ But this should be resisted in favor of using the complement function.
+ <a class="link" href="../../overview/complements.html#why_complements">Why complements?</a>
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting &gt; 10 right (to pass) is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">10</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Probability of getting &gt; 10 right (to pass) is 0.000285239
 </pre>
 <p>
- And we can check that these two, &lt;= 10 and &gt; 10, add up to unity.
- </p>
+ </p>
 <p>
-
+ And we can check that these two, &lt;= 10 and &gt; 10, add up to
+ unity.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">BOOST_ASSERT</span><span class="special">((</span><span class="identifier">cdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">10</span><span class="special">)</span> <span class="special">+</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">10</span><span class="special">)))</span> <span class="special">==</span> <span class="number">1.</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- If we want a &lt; rather than a &lt;= test, because the CDF is inclusive,
- we must subtract one from the score.
- </p>
+ </p>
 <p>
-
+ If we want a &lt; rather than a &lt;= test, because the CDF is inclusive,
+ we must subtract one from the score.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting less than "</span> <span class="special">&lt;&lt;</span> <span class="identifier">pass_score</span>
   <span class="special">&lt;&lt;</span> <span class="string">" (&lt; "</span> <span class="special">&lt;&lt;</span> <span class="identifier">pass_score</span> <span class="special">&lt;&lt;</span> <span class="string">") answers right by guessing is "</span>
   <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="identifier">pass_score</span> <span class="special">-</span><span class="number">1</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Probability of getting less than 11 (&lt; 11) answers right by guessing is 0.999715
 </pre>
 <p>
- and similarly to get a &gt;= rather than a &gt; test we also need to
- subtract one from the score (and can again check the sum is unity).
- This is because if the cdf is <span class="emphasis"><em>inclusive</em></span>, then
- its complement must be <span class="emphasis"><em>exclusive</em></span> otherwise there
- would be one possible outcome counted twice!
- </p>
+ </p>
 <p>
-
+ and similarly to get a &gt;= rather than a &gt; test we also need
+ to subtract one from the score (and can again check the sum is unity).
+ This is because if the cdf is <span class="emphasis"><em>inclusive</em></span>, then
+ its complement must be <span class="emphasis"><em>exclusive</em></span> otherwise there
+ would be one possible outcome counted twice!
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting at least "</span> <span class="special">&lt;&lt;</span> <span class="identifier">pass_score</span>
   <span class="special">&lt;&lt;</span> <span class="string">"(&gt;= "</span> <span class="special">&lt;&lt;</span> <span class="identifier">pass_score</span> <span class="special">&lt;&lt;</span> <span class="string">") answers right by guessing is "</span>
@@ -250,14 +332,21 @@
 
 <span class="identifier">BOOST_ASSERT</span><span class="special">((</span><span class="identifier">cdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="identifier">pass_score</span> <span class="special">-</span><span class="number">1</span><span class="special">)</span> <span class="special">+</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="identifier">pass_score</span><span class="special">-</span><span class="number">1</span><span class="special">)))</span> <span class="special">==</span> <span class="number">1</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Probability of getting at least 11 (&gt;= 11) answers right by guessing is 0.000285239, only 1 in 3505.83
 </pre>
 <p>
- Finally we can tabulate some probabilities:
- </p>
+ </p>
 <p>
-
+ Finally we can tabulate some probabilities:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"\n"</span> <span class="string">"At most (&lt;=)"</span><span class="string">"\n"</span><span class="string">"Guessed OK Probability"</span> <span class="special">&lt;&lt;</span> <span class="identifier">right</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">score</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">score</span> <span class="special">&lt;=</span> <span class="identifier">questions</span><span class="special">;</span> <span class="identifier">score</span><span class="special">++)</span>
@@ -267,7 +356,10 @@
 <span class="special">}</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">At most (&lt;=)
 Guessed OK Probability
  0 0.01002259576
@@ -289,7 +381,9 @@
 16 1
 </pre>
 <p>
-
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"\n"</span> <span class="string">"At least (&gt;)"</span><span class="string">"\n"</span><span class="string">"Guessed OK Probability"</span> <span class="special">&lt;&lt;</span> <span class="identifier">right</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="keyword">for</span> <span class="special">(</span><span class="keyword">int</span> <span class="identifier">score</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">score</span> <span class="special">&lt;=</span> <span class="identifier">questions</span><span class="special">;</span> <span class="identifier">score</span><span class="special">++)</span>
@@ -298,7 +392,10 @@
     <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="identifier">score</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="special">}</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">At least (&gt;)
 Guessed OK Probability
  0 0.9899774042
@@ -320,15 +417,21 @@
 16 0
 </pre>
 <p>
- We now consider the probabilities of <span class="bold"><strong>ranges</strong></span>
- of correct guesses.
- </p>
+ </p>
 <p>
- First, calculate the probability of getting a range of guesses right,
- by adding the exact probabilities of each from low ... high.
- </p>
+ We now consider the probabilities of <span class="bold"><strong>ranges</strong></span>
+ of correct guesses.
+ </p>
 <p>
-
+ </p>
+<p>
+ First, calculate the probability of getting a range of guesses right,
+ by adding the exact probabilities of each from low ... high.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">low</span> <span class="special">=</span> <span class="number">3</span><span class="special">;</span> <span class="comment">// Getting at least 3 right.
 </span><span class="keyword">int</span> <span class="identifier">high</span> <span class="special">=</span> <span class="number">5</span><span class="special">;</span> <span class="comment">// Getting as most 5 right.
@@ -342,26 +445,40 @@
   <span class="special">&lt;&lt;</span> <span class="identifier">low</span> <span class="special">&lt;&lt;</span> <span class="string">" and "</span> <span class="special">&lt;&lt;</span> <span class="identifier">high</span> <span class="special">&lt;&lt;</span> <span class="string">" answers right by guessing is "</span>
   <span class="special">&lt;&lt;</span> <span class="identifier">sum</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.61323</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Probability of getting between 3 and 5 answers right by guessing is 0.6132
 </pre>
 <p>
- Or, usually better, we can use the difference of cdfs instead:
- </p>
+ </p>
 <p>
-
+ Or, usually better, we can use the difference of cdfs instead:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting between "</span> <span class="special">&lt;&lt;</span> <span class="identifier">low</span> <span class="special">&lt;&lt;</span> <span class="string">" and "</span> <span class="special">&lt;&lt;</span> <span class="identifier">high</span> <span class="special">&lt;&lt;</span> <span class="string">" answers right by guessing is "</span>
   <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="identifier">high</span><span class="special">)</span> <span class="special">-</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="identifier">low</span> <span class="special">-</span> <span class="number">1</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.61323</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Probability of getting between 3 and 5 answers right by guessing is 0.6132
 </pre>
 <p>
- And we can also try a few more combinations of high and low choices:
- </p>
+ </p>
 <p>
-
+ And we can also try a few more combinations of high and low choices:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">low</span> <span class="special">=</span> <span class="number">1</span><span class="special">;</span> <span class="identifier">high</span> <span class="special">=</span> <span class="number">6</span><span class="special">;</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting between "</span> <span class="special">&lt;&lt;</span> <span class="identifier">low</span> <span class="special">&lt;&lt;</span> <span class="string">" and "</span> <span class="special">&lt;&lt;</span> <span class="identifier">high</span> <span class="special">&lt;&lt;</span> <span class="string">" answers right by guessing is "</span>
@@ -373,22 +490,32 @@
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Probability of getting between "</span> <span class="special">&lt;&lt;</span> <span class="identifier">low</span> <span class="special">&lt;&lt;</span> <span class="string">" and "</span> <span class="special">&lt;&lt;</span> <span class="identifier">high</span> <span class="special">&lt;&lt;</span> <span class="string">" answers right by guessing is "</span>
   <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="identifier">high</span><span class="special">)</span> <span class="special">-</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="identifier">low</span> <span class="special">-</span> <span class="number">1</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 4 &lt;= x 4 P = 0.22520</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Probability of getting between 1 and 6 answers right by guessing is 0.9104
 Probability of getting between 1 and 8 answers right by guessing is 0.9825
 Probability of getting between 4 and 4 answers right by guessing is 0.2252
 </pre>
-<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.using_binomial_distribution_moments"></a><h5>
-<a name="id924547"></a>
- <a class="link" href="binomial_quiz_example.html#math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.using_binomial_distribution_moments">Using
- Binomial distribution moments</a>
- </h5>
 <p>
- Using moments of the distribution, we can say more about the spread
- of results from guessing.
- </p>
+ <a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.using_binomial_distribution_moments"></a>
+ </p>
+<h5>
+<a name="id1033847"></a>
+ <a class="link" href="binomial_quiz_example.html#math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.using_binomial_distribution_moments">Using
+ Binomial distribution moments</a>
+ </h5>
+<p>
+ </p>
+<p>
+ Using moments of the distribution, we can say more about the spread
+ of results from guessing.
+ </p>
 <p>
-
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"By guessing, on average, one can expect to get "</span> <span class="special">&lt;&lt;</span> <span class="identifier">mean</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="string">" correct answers."</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Standard deviation is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">standard_deviation</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -398,23 +525,33 @@
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Mode (the most frequent) is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">mode</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Skewness is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">skewness</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">By guessing, on average, one can expect to get 4 correct answers.
 Standard deviation is 1.732
 So about 2/3 will lie within 1 standard deviation and get between 3 and 5 correct.
 Mode (the most frequent) is 4
 Skewness is 0.2887
 </pre>
-<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.quantiles"></a><h5>
-<a name="id924919"></a>
- <a class="link" href="binomial_quiz_example.html#math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.quantiles">Quantiles</a>
- </h5>
 <p>
- The quantiles (percentiles or percentage points) for a few probability
- levels:
- </p>
+ <a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.quantiles"></a>
+ </p>
+<h5>
+<a name="id1034282"></a>
+ <a class="link" href="binomial_quiz_example.html#math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.quantiles">Quantiles</a>
+ </h5>
+<p>
+ </p>
+<p>
+ The quantiles (percentiles or percentage points) for a few probability
+ levels:
+ </p>
 <p>
-
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Quartiles "</span> <span class="special">&lt;&lt;</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">0.25</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="string">" to "</span>
   <span class="special">&lt;&lt;</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">0.25</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// Quartiles
@@ -432,11 +569,16 @@
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"If guessing then percentiles 1 to 99% will get "</span> <span class="special">&lt;&lt;</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">0.01</span><span class="special">)</span>
   <span class="special">&lt;&lt;</span> <span class="string">" to "</span> <span class="special">&lt;&lt;</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">0.01</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="string">" right."</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Notice that these output integral values because the default policy
- is <code class="computeroutput"><span class="identifier">integer_round_outwards</span></code>.
- </p>
+ </p>
+<p>
+ Notice that these output integral values because the default policy
+ is <code class="computeroutput"><span class="identifier">integer_round_outwards</span></code>.
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Quartiles 2 to 5
 1 standard deviation 2 to 5
 Deciles 1 to 6
@@ -445,74 +587,111 @@
 2 to 98% 0 to 8
 </pre>
 <p>
- Quantiles values are controlled by the <a class="link" href="../../../../policy/pol_ref/discrete_quant_ref.html" title="Discrete Quantile Policies">discrete
- quantile policy</a> chosen. The default is <code class="computeroutput"><span class="identifier">integer_round_outwards</span></code>,
- so the lower quantile is rounded down, and the upper quantile is rounded
- up.
- </p>
+ </p>
 <p>
- But we might believe that the real values tell us a little more - see
- <a class="link" href="../../../../policy/pol_tutorial/understand_dis_quant.html" title="Understanding Quantiles of Discrete Distributions">Understanding
- Discrete Quantile Policy</a>.
- </p>
+ Quantiles values are controlled by the <a class="link" href="../../../../policy/pol_ref/discrete_quant_ref.html" title="Discrete Quantile Policies">discrete
+ quantile policy</a> chosen. The default is <code class="computeroutput"><span class="identifier">integer_round_outwards</span></code>,
+ so the lower quantile is rounded down, and the upper quantile is
+ rounded up.
+ </p>
+<p>
+ </p>
+<p>
+ But we might believe that the real values tell us a little more -
+ see <a class="link" href="../../../../policy/pol_tutorial/understand_dis_quant.html" title="Understanding Quantiles of Discrete Distributions">Understanding
+ Discrete Quantile Policy</a>.
+ </p>
+<p>
+ </p>
+<p>
+ We could control the policy for <span class="bold"><strong>all</strong></span>
+ distributions by
+ </p>
 <p>
- We could control the policy for <span class="bold"><strong>all</strong></span>
- distributions by
- </p>
+
+</p>
 <pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_DISCRETE_QUANTILE_POLICY</span> <span class="identifier">real</span>
 
 <span class="identifier">at</span> <span class="identifier">the</span> <span class="identifier">head</span> <span class="identifier">of</span> <span class="identifier">the</span> <span class="identifier">program</span> <span class="identifier">would</span> <span class="identifier">make</span> <span class="keyword">this</span> <span class="identifier">policy</span> <span class="identifier">apply</span>
 </pre>
 <p>
- to this <span class="bold"><strong>one, and only</strong></span>, translation
- unit.
- </p>
+ </p>
 <p>
- Or we can now create a (typedef for) policy that has discrete quantiles
- real (here avoiding any 'using namespaces ...' statements):
- </p>
+ #define BOOST_MATH_DISCRETE_QUANTILE_POLICY real
+ </p>
 <p>
               
 </p>
+<pre class="programlisting"><span class="identifier">at</span> <span class="identifier">the</span> <span class="identifier">head</span> <span class="identifier">of</span> <span class="identifier">the</span> <span class="identifier">program</span> <span class="identifier">would</span> <span class="identifier">make</span> <span class="keyword">this</span> <span class="identifier">policy</span> <span class="identifier">apply</span>
+</pre>
+<p>
+ </p>
+<p>
+ at the head of the program would make this policy apply to this
+ <span class="bold"><strong>one, and only</strong></span>, translation unit.
+ </p>
+<p>
+ </p>
+<p>
+ Or we can now create a (typedef for) policy that has discrete quantiles
+ real (here avoiding any 'using namespaces ...' statements):
+ </p>
+<p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">policies</span><span class="special">::</span><span class="identifier">policy</span><span class="special">;</span>
 <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">policies</span><span class="special">::</span><span class="identifier">discrete_quantile</span><span class="special">;</span>
 <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">policies</span><span class="special">::</span><span class="identifier">real</span><span class="special">;</span>
 <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">policies</span><span class="special">::</span><span class="identifier">integer_round_outwards</span><span class="special">;</span> <span class="comment">// Default.
 </span><span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">policies</span><span class="special">::</span><span class="identifier">policy</span><span class="special">&lt;</span><span class="identifier">discrete_quantile</span><span class="special">&lt;</span><span class="identifier">real</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">real_quantile_policy</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Add a custom binomial distribution called
+ </p>
+<p>
+ Add a custom binomial distribution called
 </p>
 <pre class="programlisting"><span class="identifier">real_quantile_binomial</span></pre>
 <p>
- that uses
+ that uses
 </p>
 <pre class="programlisting"><span class="identifier">real_quantile_policy</span></pre>
 <p>
- </p>
+ </p>
 <p>
-
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">binomial_distribution</span><span class="special">;</span>
 <span class="keyword">typedef</span> <span class="identifier">binomial_distribution</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">real_quantile_policy</span><span class="special">&gt;</span> <span class="identifier">real_quantile_binomial</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Construct an object of this custom distribution:
- </p>
+ </p>
 <p>
-
+ Construct an object of this custom distribution:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">real_quantile_binomial</span> <span class="identifier">quiz_real</span><span class="special">(</span><span class="identifier">questions</span><span class="special">,</span> <span class="identifier">success_fraction</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- And use this to show some quantiles - that now have real rather than
- integer values.
- </p>
+ </p>
 <p>
-
+ And use this to show some quantiles - that now have real rather than
+ integer values.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Quartiles "</span> <span class="special">&lt;&lt;</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">,</span> <span class="number">0.25</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="string">" to "</span>
   <span class="special">&lt;&lt;</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">quiz_real</span><span class="special">,</span> <span class="number">0.25</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// Quartiles 2 to 4.6212
@@ -530,7 +709,10 @@
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"If guessing, then percentiles 1 to 99% will get "</span> <span class="special">&lt;&lt;</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">quiz_real</span><span class="special">,</span> <span class="number">0.01</span><span class="special">)</span>
   <span class="special">&lt;&lt;</span> <span class="string">" to "</span> <span class="special">&lt;&lt;</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">quiz_real</span><span class="special">,</span> <span class="number">0.01</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="string">" right."</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Real Quantiles
 Quartiles 2 to 4.621
 1 standard deviation 2.665 to 4.194
@@ -541,6 +723,8 @@
 If guessing then percentiles 1 to 99% will get 0 to 7.788 right.
 </pre>
 <p>
+ </p>
+<p>
               See binomial_quiz_example.cpp
               for full source code and output.
             </p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/c_sharp.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/c_sharp.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/c_sharp.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.c_sharp"></a><a class="link" href="c_sharp.html" title="Using the Distributions from Within C#">Using the
+<a name="math_toolkit.dist.stat_tut.weg.c_sharp"></a><a class="link" href="c_sharp.html" title="Using the Distributions from Within C#"> Using the
           Distributions from Within C#</a>
 </h5></div></div></div>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,16 +24,17 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.cs_eg"></a><a class="link" href="cs_eg.html" title="Chi Squared Distribution Examples">Chi Squared
+<a name="math_toolkit.dist.stat_tut.weg.cs_eg"></a><a class="link" href="cs_eg.html" title="Chi Squared Distribution Examples"> Chi Squared
           Distribution Examples</a>
 </h5></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="cs_eg/chi_sq_intervals.html">Confidence
- Intervals on the Standard Deviation</a></span></dt>
-<dt><span class="section"><a href="cs_eg/chi_sq_test.html">Chi-Square
- Test for the Standard Deviation</a></span></dt>
-<dt><span class="section"><a href="cs_eg/chi_sq_size.html">Estimating
- the Required Sample Sizes for a Chi-Square Test for the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="cs_eg/chi_sq_intervals.html">
+ Confidence Intervals on the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="cs_eg/chi_sq_test.html">
+ Chi-Square Test for the Standard Deviation</a></span></dt>
+<dt><span class="section"><a href="cs_eg/chi_sq_size.html">
+ Estimating the Required Sample Sizes for a Chi-Square Test for the Standard
+ Deviation</a></span></dt>
 </dl></div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_intervals.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_intervals.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_intervals.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.cs_eg.chi_sq_intervals"></a><a class="link" href="chi_sq_intervals.html" title="Confidence Intervals on the Standard Deviation">Confidence
- Intervals on the Standard Deviation</a>
+<a name="math_toolkit.dist.stat_tut.weg.cs_eg.chi_sq_intervals"></a><a class="link" href="chi_sq_intervals.html" title="Confidence Intervals on the Standard Deviation">
+ Confidence Intervals on the Standard Deviation</a>
 </h6></div></div></div>
 <p>
               Once you have calculated the standard deviation for your data, a legitimate
@@ -139,7 +139,7 @@
               is between 0.00551 and 0.00729.
             </p>
 <a name="math_toolkit.dist.stat_tut.weg.cs_eg.chi_sq_intervals.confidence_intervals_as_a_function_of_the_number_of_observations"></a><h5>
-<a name="id908116"></a>
+<a name="id1018612"></a>
               <a class="link" href="chi_sq_intervals.html#math_toolkit.dist.stat_tut.weg.cs_eg.chi_sq_intervals.confidence_intervals_as_a_function_of_the_number_of_observations">Confidence
               intervals as a function of the number of observations</a>
             </h5>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_size.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_size.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_size.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,9 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.cs_eg.chi_sq_size"></a><a class="link" href="chi_sq_size.html" title="Estimating the Required Sample Sizes for a Chi-Square Test for the Standard Deviation">Estimating
- the Required Sample Sizes for a Chi-Square Test for the Standard Deviation</a>
+<a name="math_toolkit.dist.stat_tut.weg.cs_eg.chi_sq_size"></a><a class="link" href="chi_sq_size.html" title="Estimating the Required Sample Sizes for a Chi-Square Test for the Standard Deviation">
+ Estimating the Required Sample Sizes for a Chi-Square Test for the Standard
+ Deviation</a>
 </h6></div></div></div>
 <p>
               Suppose we conduct a Chi Squared test for standard deviation and the

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_test.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_test.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/cs_eg/chi_sq_test.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.cs_eg.chi_sq_test"></a><a class="link" href="chi_sq_test.html" title="Chi-Square Test for the Standard Deviation">Chi-Square
- Test for the Standard Deviation</a>
+<a name="math_toolkit.dist.stat_tut.weg.cs_eg.chi_sq_test"></a><a class="link" href="chi_sq_test.html" title="Chi-Square Test for the Standard Deviation">
+ Chi-Square Test for the Standard Deviation</a>
 </h6></div></div></div>
 <p>
               We use this test to determine whether the standard deviation of a sample

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/dist_construct_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/dist_construct_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/dist_construct_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,28 +24,34 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.dist_construct_eg"></a><a class="link" href="dist_construct_eg.html" title="Distribution Construction Example">Distribution
- Construction Example</a>
+<a name="math_toolkit.dist.stat_tut.weg.dist_construct_eg"></a><a class="link" href="dist_construct_eg.html" title="Distribution Construction Example">
+ Distribution Construction Example</a>
 </h5></div></div></div>
 <p>
             See distribution_construction.cpp
             for full source code.
           </p>
 <p>
- The structure of distributions is rather different from some other statistical
- libraries, for example in less object-oriented language like FORTRAN
- and C, that provide a few arguments to each free function. This library
- provides each distribution as a template C++ class. A distribution is
- constructed with a few arguments, and then member and non-member functions
- are used to find values of the distribution, often a function of a random
- variate.
- </p>
+ </p>
 <p>
- First we need some includes to access the negative binomial distribution
- (and the binomial, beta and gamma too).
- </p>
+ The structure of distributions is rather different from some other
+ statistical libraries, for example in less object-oriented language
+ like FORTRAN and C, that provide a few arguments to each free function.
+ This library provides each distribution as a template C++ class. A
+ distribution is constructed with a few arguments, and then member and
+ non-member functions are used to find values of the distribution, often
+ a function of a random variate.
+ </p>
+<p>
+ </p>
+<p>
+ First we need some includes to access the negative binomial distribution
+ (and the binomial, beta and gamma too).
+ </p>
 <p>
-
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">negative_binomial</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="comment">// for negative_binomial_distribution
 </span> <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">negative_binomial_distribution</span><span class="special">;</span> <span class="comment">// default type is double.
@@ -55,167 +61,240 @@
 </span><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="comment">// for gamma_distribution.
 </span><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="comment">// for normal_distribution.</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Several examples of constructing distributions follow:
- </p>
+ </p>
 <p>
- First, a negative binomial distribution with 8 successes and a success
- fraction 0.25, 25% or 1 in 4, is constructed like this:
- </p>
+ Several examples of constructing distributions follow:
+ </p>
 <p>
-
+ </p>
+<p>
+ First, a negative binomial distribution with 8 successes and a success
+ fraction 0.25, 25% or 1 in 4, is constructed like this:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">negative_binomial_distribution</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">mydist0</span><span class="special">(</span><span class="number">8.</span><span class="special">,</span> <span class="number">0.25</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- But this is inconveniently long, so we might be tempted to write
- </p>
+ </p>
 <p>
-
+ But this is inconveniently long, so we might be tempted to write
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- but this might risk ambiguity with names in std random so *much better
- is explicit <code class="computeroutput"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span> </code> * ... statements like
- </p>
+ </p>
 <p>
-
+ but this might risk ambiguity with names in std random so *much better
+ is explicit <code class="computeroutput"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span> </code> * ... statements like
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">negative_binomial_distribution</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- and we can still reduce typing.
- </p>
+ </p>
 <p>
- Since the vast majority of applications use will be using double precision,
- the template argument to the distribution (RealType) defaults to type
- double, so we can also write:
- </p>
+ and we can still reduce typing.
+ </p>
 <p>
-
+ </p>
+<p>
+ Since the vast majority of applications use will be using double precision,
+ the template argument to the distribution (RealType) defaults to type
+ double, so we can also write:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">negative_binomial_distribution</span><span class="special">&lt;&gt;</span> <span class="identifier">mydist9</span><span class="special">(</span><span class="number">8.</span><span class="special">,</span> <span class="number">0.25</span><span class="special">);</span> <span class="comment">// Uses default RealType = double.</span></pre>
 <p>
- </p>
+ </p>
 <p>
- But the name "negative_binomial_distribution" is still inconveniently
- long, so for most distributions, a convenience typedef is provided, for
- example:
- </p>
+ </p>
+<p>
+ But the name "negative_binomial_distribution" is still inconveniently
+ long, so for most distributions, a convenience typedef is provided,
+ for example:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">negative_binomial_distribution</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">negative_binomial</span><span class="special">;</span> <span class="comment">// Reserved name of type double.
 </span></pre>
+<p>
+ </p>
 <div class="caution"><table border="0" summary="Caution">
 <tr>
 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Caution]" src="../../../../../../../../../doc/src/images/caution.png"></td>
 <th align="left">Caution</th>
 </tr>
 <tr><td align="left" valign="top"><p>
- This convenience typedef is <span class="emphasis"><em>not</em></span> provided if a
- clash would occur with the name of a function: currently only "beta"
- and "gamma" fall into this category.
- </p></td></tr>
+ This convenience typedef is <span class="emphasis"><em>not</em></span> provided if
+ a clash would occur with the name of a function: currently only "beta"
+ and "gamma" fall into this category.
+ </p></td></tr>
 </table></div>
 <p>
- So, after a using statement,
- </p>
+ </p>
 <p>
-
+ So, after a using statement,
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">negative_binomial</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- we have a convenient typedef to <code class="computeroutput"><span class="identifier">negative_binomial_distribution</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span></code>:
- </p>
+ </p>
 <p>
-
+ we have a convenient typedef to <code class="computeroutput"><span class="identifier">negative_binomial_distribution</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span></code>:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">negative_binomial</span> <span class="identifier">mydist</span><span class="special">(</span><span class="number">8.</span><span class="special">,</span> <span class="number">0.25</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Some more examples using the convenience typedef:
- </p>
+ </p>
 <p>
-
+ Some more examples using the convenience typedef:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">negative_binomial</span> <span class="identifier">mydist10</span><span class="special">(</span><span class="number">5.</span><span class="special">,</span> <span class="number">0.4</span><span class="special">);</span> <span class="comment">// Both arguments double.</span></pre>
 <p>
- </p>
+ </p>
 <p>
- And automatic conversion takes place, so you can use integers and floats:
- </p>
+ </p>
 <p>
-
+ And automatic conversion takes place, so you can use integers and floats:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">negative_binomial</span> <span class="identifier">mydist11</span><span class="special">(</span><span class="number">5</span><span class="special">,</span> <span class="number">0.4</span><span class="special">);</span> <span class="comment">// Using provided typedef double, int and double arguments.</span></pre>
 <p>
- </p>
+ </p>
 <p>
- This is probably the most common usage.
- </p>
+ </p>
 <p>
-
+ This is probably the most common usage.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">negative_binomial</span> <span class="identifier">mydist12</span><span class="special">(</span><span class="number">5.</span><span class="special">,</span> <span class="number">0.4F</span><span class="special">);</span> <span class="comment">// Double and float arguments.
 </span><span class="identifier">negative_binomial</span> <span class="identifier">mydist13</span><span class="special">(</span><span class="number">5</span><span class="special">,</span> <span class="number">1</span><span class="special">);</span> <span class="comment">// Both arguments integer.</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Similarly for most other distributions like the binomial.
- </p>
+ </p>
 <p>
-
+ Similarly for most other distributions like the binomial.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">binomial</span> <span class="identifier">mybinomial</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">0.5</span><span class="special">);</span> <span class="comment">// is more concise than
 </span><span class="identifier">binomial_distribution</span><span class="special">&lt;&gt;</span> <span class="identifier">mybinomd1</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">0.5</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- For cases when the typdef distribution name would clash with a math special
- function (currently only beta and gamma) the typedef is deliberately
- not provided, and the longer version of the name must be used. For example
- do not use:
- </p>
+ </p>
+<p>
+ For cases when the typdef distribution name would clash with a math
+ special function (currently only beta and gamma) the typedef is deliberately
+ not provided, and the longer version of the name must be used. For
+ example do not use:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">beta</span><span class="special">;</span>
 <span class="identifier">beta</span> <span class="identifier">mybetad0</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">0.5</span><span class="special">);</span> <span class="comment">// Error beta is a math FUNCTION!
 </span></pre>
 <p>
- Which produces the error messages:
- </p>
+ </p>
+<p>
+ Which produces the error messages:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">error C2146: syntax error : missing ';' before identifier 'mybetad0'
 warning C4551: function call missing argument list
 error C3861: 'mybetad0': identifier not found
 </pre>
 <p>
- Instead you should use:
- </p>
+ </p>
 <p>
-
+ Instead you should use:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">beta_distribution</span><span class="special">;</span>
 <span class="identifier">beta_distribution</span><span class="special">&lt;&gt;</span> <span class="identifier">mybetad1</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">0.5</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- or for the gamma distribution:
- </p>
+ </p>
 <p>
-
+ or for the gamma distribution:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">gamma_distribution</span><span class="special">&lt;&gt;</span> <span class="identifier">mygammad1</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">0.5</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- We can, of course, still provide the type explicitly thus:
- </p>
+ </p>
 <p>
-
+ We can, of course, still provide the type explicitly thus:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="comment">// Explicit double precision:
 </span><span class="identifier">negative_binomial_distribution</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">mydist1</span><span class="special">(</span><span class="number">8.</span><span class="special">,</span> <span class="number">0.25</span><span class="special">);</span>
@@ -238,40 +317,65 @@
 <span class="comment">// Explicit long double precision:
 </span><span class="identifier">negative_binomial_distribution</span><span class="special">&lt;</span><span class="keyword">long</span> <span class="keyword">double</span><span class="special">&gt;</span> <span class="identifier">mydist7</span><span class="special">(</span><span class="number">8.</span><span class="special">,</span> <span class="number">0.25</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- And if you have your own RealType called MyFPType, for example NTL RR
- (an arbitrary precision type), then we can write:
- </p>
+ </p>
+<p>
+ And if you have your own RealType called MyFPType, for example NTL
+ RR (an arbitrary precision type), then we can write:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="identifier">negative_binomial_distribution</span><span class="special">&lt;</span><span class="identifier">MyFPType</span><span class="special">&gt;</span> <span class="identifier">mydist6</span><span class="special">(</span><span class="number">8</span><span class="special">,</span> <span class="number">1</span><span class="special">);</span> <span class="comment">// Integer arguments -&gt; MyFPType.
 </span></pre>
-<a name="math_toolkit.dist.stat_tut.weg.dist_construct_eg.default_arguments_to_distribution_constructors_"></a><h6>
-<a name="id898706"></a>
- <a class="link" href="dist_construct_eg.html#math_toolkit.dist.stat_tut.weg.dist_construct_eg.default_arguments_to_distribution_constructors_">Default
- arguments to distribution constructors.</a>
- </h6>
-<p>
- Note that default constructor arguments are only provided for some distributions.
- So if you wrongly assume a default argument you will get an error message,
- for example:
- </p>
+<p>
+ <a name="math_toolkit.dist.stat_tut.weg.dist_construct_eg.default_arguments_to_distribution_constructors_"></a>
+ </p>
+<h6>
+<a name="id1007733"></a>
+ <a class="link" href="dist_construct_eg.html#math_toolkit.dist.stat_tut.weg.dist_construct_eg.default_arguments_to_distribution_constructors_">Default
+ arguments to distribution constructors.</a>
+ </h6>
+<p>
+ </p>
+<p>
+ Note that default constructor arguments are only provided for some
+ distributions. So if you wrongly assume a default argument you will
+ get an error message, for example:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="identifier">negative_binomial_distribution</span><span class="special">&lt;&gt;</span> <span class="identifier">mydist8</span><span class="special">;</span>
 </pre>
+<p>
+
+</p>
 <pre class="programlisting">error C2512 no appropriate default constructor available.</pre>
 <p>
- No default constructors are provided for the negative binomial, because
- it is difficult to chose any sensible default values for this distribution.
- For other distributions, like the normal distribution, it is obviously
- very useful to provide 'standard' defaults for the mean and standard
- deviation thus:
- </p>
+ </p>
+<p>
+ No default constructors are provided for the negative binomial, because
+ it is difficult to chose any sensible default values for this distribution.
+ For other distributions, like the normal distribution, it is obviously
+ very useful to provide 'standard' defaults for the mean and standard
+ deviation thus:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="identifier">normal_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">mean</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">sd</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
 </pre>
 <p>
- So in this case we can write:
- </p>
+ </p>
 <p>
-
+ So in this case we can write:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"> <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">normal</span><span class="special">;</span>
 
@@ -282,9 +386,13 @@
   <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
 <span class="special">}</span> <span class="comment">// int main()</span></pre>
 <p>
- </p>
+ </p>
+<p>
+ </p>
+<p>
+ There is no useful output from this program, of course.
+ </p>
 <p>
- There is no useful output from this program, of course.
           </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/error_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/error_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/error_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.error_eg"></a><a class="link" href="error_eg.html" title="Error Handling Example">Error Handling
+<a name="math_toolkit.dist.stat_tut.weg.error_eg"></a><a class="link" href="error_eg.html" title="Error Handling Example"> Error Handling
           Example</a>
 </h5></div></div></div>
 <p>
@@ -43,44 +43,69 @@
             the policy.
           </p>
 <p>
- The following example demonstrates the effect of setting the macro BOOST_MATH_DOMAIN_ERROR_POLICY
- when an invalid argument is encountered. For the purposes of this example,
- we'll pass a negative degrees of freedom parameter to the student's t
- distribution.
- </p>
+ </p>
 <p>
- Since we know that this is a single file program we could just add:
- </p>
+ The following example demonstrates the effect of setting the macro
+ BOOST_MATH_DOMAIN_ERROR_POLICY when an invalid argument is encountered.
+ For the purposes of this example, we'll pass a negative degrees of
+ freedom parameter to the student's t distribution.
+ </p>
+<p>
+ </p>
+<p>
+ Since we know that this is a single file program we could just add:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_DOMAIN_ERROR_POLICY</span> <span class="identifier">ignore_error</span>
 </pre>
 <p>
- to the top of the source file to change the default policy to one that
- simply returns a NaN when a domain error occurs. Alternatively we could
- use:
- </p>
+ </p>
+<p>
+ to the top of the source file to change the default policy to one that
+ simply returns a NaN when a domain error occurs. Alternatively we could
+ use:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_DOMAIN_ERROR_POLICY</span> <span class="identifier">errno_on_error</span>
 </pre>
 <p>
- To ensure the <code class="computeroutput"><span class="special">::</span><span class="identifier">errno</span></code>
- is set when a domain error occurs as well as returning a NaN.
- </p>
+ </p>
 <p>
- This is safe provided the program consists of a single translation unit
- <span class="emphasis"><em>and</em></span> we place the define <span class="emphasis"><em>before</em></span>
- any #includes. Note that should we add the define after the includes
- then it will have no effect! A warning such as:
- </p>
-<pre class="programlisting">warning C4005: 'BOOST_MATH_OVERFLOW_ERROR_POLICY' : macro redefinition</pre>
+ To ensure the <code class="computeroutput"><span class="special">::</span><span class="identifier">errno</span></code>
+ is set when a domain error occurs as well as returning a NaN.
+ </p>
 <p>
- is a certain sign that it will <span class="emphasis"><em>not</em></span> have the desired
- effect.
- </p>
+ </p>
 <p>
- We'll begin our sample program with the needed includes:
- </p>
+ This is safe provided the program consists of a single translation
+ unit <span class="emphasis"><em>and</em></span> we place the define <span class="emphasis"><em>before</em></span>
+ any #includes. Note that should we add the define after the includes
+ then it will have no effect! A warning such as:
+ </p>
 <p>
             
 </p>
+<pre class="programlisting">warning C4005: 'BOOST_MATH_OVERFLOW_ERROR_POLICY' : macro redefinition</pre>
+<p>
+ </p>
+<p>
+ is a certain sign that it will <span class="emphasis"><em>not</em></span> have the desired
+ effect.
+ </p>
+<p>
+ </p>
+<p>
+ We'll begin our sample program with the needed includes:
+ </p>
+<p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="comment">// Boost
 </span><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">students_t</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
    <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">students_t</span><span class="special">;</span> <span class="comment">// Probability of students_t(df, t).
@@ -96,14 +121,18 @@
 <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">cstddef</span><span class="special">&gt;</span>
    <span class="comment">// using ::errno</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Next we'll define the program's main() to call the student's t distribution
- with an invalid degrees of freedom parameter, the program is set up to
- handle either an exception or a NaN:
- </p>
+ </p>
 <p>
-
+ Next we'll define the program's main() to call the student's t distribution
+ with an invalid degrees of freedom parameter, the program is set up
+ to handle either an exception or a NaN:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
 <span class="special">{</span>
@@ -139,11 +168,16 @@
    <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
 <span class="special">}</span> <span class="comment">// int main()</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Here's what the program output looks like with a default build (one that
- <span class="bold"><strong>does throw exceptions</strong></span>):
- </p>
+ </p>
+<p>
+ Here's what the program output looks like with a default build (one
+ that <span class="bold"><strong>does throw exceptions</strong></span>):
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Example error handling using Student's t function.
 BOOST_MATH_DOMAIN_ERROR_POLICY is set to: throw_on_error
 
@@ -152,30 +186,52 @@
    Degrees of freedom argument is -1, but must be &gt; 0 !
 </pre>
 <p>
- Alternatively let's build with:
- </p>
+ </p>
+<p>
+ Alternatively let's build with:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_DOMAIN_ERROR_POLICY</span> <span class="identifier">ignore_error</span>
 </pre>
 <p>
- Now the program output is:
- </p>
+ </p>
+<p>
+ Now the program output is:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Example error handling using Student's t function.
 BOOST_MATH_DOMAIN_ERROR_POLICY is set to: ignore_error
 cdf returned a NaN!
 </pre>
 <p>
- And finally let's build with:
- </p>
+ </p>
+<p>
+ And finally let's build with:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_DOMAIN_ERROR_POLICY</span> <span class="identifier">errno_on_error</span>
 </pre>
 <p>
- Which gives the output show errno:
- </p>
+ </p>
+<p>
+ Which gives the output show errno:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Example error handling using Student's t function.
 BOOST_MATH_DOMAIN_ERROR_POLICY is set to: errno_on_error
 cdf returned a NaN!
 errno is set to: 33
 </pre>
+<p>
+ </p>
 <div class="caution"><table border="0" summary="Caution">
 <tr>
 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Caution]" src="../../../../../../../../../doc/src/images/caution.png"></td>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/f_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/f_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/f_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.f_eg"></a><a class="link" href="f_eg.html" title="F Distribution Examples">F Distribution
+<a name="math_toolkit.dist.stat_tut.weg.f_eg"></a><a class="link" href="f_eg.html" title="F Distribution Examples"> F Distribution
           Examples</a>
 </h5></div></div></div>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,16 +24,16 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.find_eg"></a><a class="link" href="find_eg.html" title="Find Location and Scale Examples">Find Location
+<a name="math_toolkit.dist.stat_tut.weg.find_eg"></a><a class="link" href="find_eg.html" title="Find Location and Scale Examples"> Find Location
           and Scale Examples</a>
 </h5></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="find_eg/find_location_eg.html">Find
- Location (Mean) Example</a></span></dt>
-<dt><span class="section"><a href="find_eg/find_scale_eg.html">Find
- Scale (Standard Deviation) Example</a></span></dt>
-<dt><span class="section"><a href="find_eg/find_mean_and_sd_eg.html">Find
- mean and standard deviation example</a></span></dt>
+<dt><span class="section"><a href="find_eg/find_location_eg.html">
+ Find Location (Mean) Example</a></span></dt>
+<dt><span class="section"><a href="find_eg/find_scale_eg.html">
+ Find Scale (Standard Deviation) Example</a></span></dt>
+<dt><span class="section"><a href="find_eg/find_mean_and_sd_eg.html">
+ Find mean and standard deviation example</a></span></dt>
 </dl></div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_location_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_location_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_location_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,15 +24,19 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_location_eg"></a><a class="link" href="find_location_eg.html" title="Find Location (Mean) Example">Find
- Location (Mean) Example</a>
+<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_location_eg"></a><a class="link" href="find_location_eg.html" title="Find Location (Mean) Example">
+ Find Location (Mean) Example</a>
 </h6></div></div></div>
 <p>
- First we need some includes to access the normal distribution, the
- algorithms to find location (and some std output of course).
- </p>
+ </p>
 <p>
-
+ First we need some includes to access the normal distribution, the
+ algorithms to find location (and some std output of course).
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="comment">// for normal_distribution
 </span> <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">normal</span><span class="special">;</span> <span class="comment">// typedef provides default type is double.
@@ -54,26 +58,34 @@
 
 </pre>
 <p>
- </p>
+ </p>
 <p>
- For this example, we will use the standard normal distribution, with
- mean (location) zero and standard deviation (scale) unity. This is
- also the default for this implementation.
- </p>
+ </p>
 <p>
-
+ For this example, we will use the standard normal distribution, with
+ mean (location) zero and standard deviation (scale) unity. This is
+ also the default for this implementation.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">normal</span> <span class="identifier">N01</span><span class="special">;</span> <span class="comment">// Default 'standard' normal distribution with zero mean and
 </span><span class="keyword">double</span> <span class="identifier">sd</span> <span class="special">=</span> <span class="number">1.</span><span class="special">;</span> <span class="comment">// normal default standard deviation is 1.</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Suppose we want to find a different normal distribution whose mean
- is shifted so that only fraction p (here 0.001 or 0.1%) are below a
- certain chosen limit (here -2, two standard deviations).
- </p>
+ </p>
 <p>
-
+ Suppose we want to find a different normal distribution whose mean
+ is shifted so that only fraction p (here 0.001 or 0.1%) are below
+ a certain chosen limit (here -2, two standard deviations).
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">z</span> <span class="special">=</span> <span class="special">-</span><span class="number">2.</span><span class="special">;</span> <span class="comment">// z to give prob p
 </span><span class="keyword">double</span> <span class="identifier">p</span> <span class="special">=</span> <span class="number">0.001</span><span class="special">;</span> <span class="comment">// only 0.1% below z
@@ -87,44 +99,66 @@
   <span class="special">&lt;&lt;</span> <span class="string">", has "</span> <span class="special">&lt;&lt;</span> <span class="string">"fraction &gt; "</span> <span class="special">&lt;&lt;</span> <span class="identifier">z</span>
   <span class="special">&lt;&lt;</span> <span class="string">", p = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">N01</span><span class="special">,</span> <span class="identifier">z</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// Note: uses complement.</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Normal distribution with mean = 0, standard deviation 1, has fraction &lt;= -2, p = 0.0227501
 Normal distribution with mean = 0, standard deviation 1, has fraction &gt; -2, p = 0.97725
 </pre>
 <p>
- We can now use ''find_location'' to give a new offset mean.
- </p>
+ </p>
 <p>
-
+ We can now use ''find_location'' to give a new offset mean.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">l</span> <span class="special">=</span> <span class="identifier">find_location</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">z</span><span class="special">,</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">sd</span><span class="special">);</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"offset location (mean) = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">l</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- that outputs:
- </p>
+ </p>
+<p>
+ that outputs:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">offset location (mean) = 1.09023
 </pre>
 <p>
- showing that we need to shift the mean just over one standard deviation
- from its previous value of zero.
- </p>
+ </p>
 <p>
- Then we can check that we have achieved our objective by constructing
- a new distribution with the offset mean (but same standard deviation):
- </p>
+ showing that we need to shift the mean just over one standard deviation
+ from its previous value of zero.
+ </p>
 <p>
-
+ </p>
+<p>
+ Then we can check that we have achieved our objective by constructing
+ a new distribution with the offset mean (but same standard deviation):
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">normal</span> <span class="identifier">np001pc</span><span class="special">(</span><span class="identifier">l</span><span class="special">,</span> <span class="identifier">sd</span><span class="special">);</span> <span class="comment">// Same standard_deviation (scale) but with mean (location) shifted.</span></pre>
 <p>
- </p>
+ </p>
 <p>
- And re-calculating the fraction below our chosen limit.
- </p>
+ </p>
 <p>
-
+ And re-calculating the fraction below our chosen limit.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Normal distribution with mean = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">l</span>
     <span class="special">&lt;&lt;</span> <span class="string">" has "</span> <span class="special">&lt;&lt;</span> <span class="string">"fraction &lt;= "</span> <span class="special">&lt;&lt;</span> <span class="identifier">z</span>
@@ -133,37 +167,53 @@
     <span class="special">&lt;&lt;</span> <span class="string">" has "</span> <span class="special">&lt;&lt;</span> <span class="string">"fraction &gt; "</span> <span class="special">&lt;&lt;</span> <span class="identifier">z</span>
     <span class="special">&lt;&lt;</span> <span class="string">", p = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">np001pc</span><span class="special">,</span> <span class="identifier">z</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Normal distribution with mean = 1.09023 has fraction &lt;= -2, p = 0.001
 Normal distribution with mean = 1.09023 has fraction &gt; -2, p = 0.999
 </pre>
-<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_location_eg.controlling_error_handling_from_find_location"></a><h5>
-<a name="id965461"></a>
- <a class="link" href="find_location_eg.html#math_toolkit.dist.stat_tut.weg.find_eg.find_location_eg.controlling_error_handling_from_find_location">Controlling
- Error Handling from find_location</a>
- </h5>
-<p>
- We can also control the policy for handling various errors. For example,
- we can define a new (possibly unwise) policy to ignore domain errors
- ('bad' arguments).
- </p>
 <p>
- Unless we are using the boost::math namespace, we will need:
- </p>
+ <a name="math_toolkit.dist.stat_tut.weg.find_eg.find_location_eg.controlling_error_handling_from_find_location"></a>
+ </p>
+<h5>
+<a name="id1073980"></a>
+ <a class="link" href="find_location_eg.html#math_toolkit.dist.stat_tut.weg.find_eg.find_location_eg.controlling_error_handling_from_find_location">Controlling
+ Error Handling from find_location</a>
+ </h5>
 <p>
-
+ </p>
+<p>
+ We can also control the policy for handling various errors. For example,
+ we can define a new (possibly unwise) policy to ignore domain errors
+ ('bad' arguments).
+ </p>
+<p>
+ </p>
+<p>
+ Unless we are using the boost::math namespace, we will need:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">policies</span><span class="special">::</span><span class="identifier">policy</span><span class="special">;</span>
 <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">policies</span><span class="special">::</span><span class="identifier">domain_error</span><span class="special">;</span>
 <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">policies</span><span class="special">::</span><span class="identifier">ignore_error</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Using a typedef is often convenient, especially if it is re-used, although
- it is not required, as the various examples below show.
- </p>
+ </p>
 <p>
-
+ Using a typedef is often convenient, especially if it is re-used,
+ although it is not required, as the various examples below show.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">policy</span><span class="special">&lt;</span><span class="identifier">domain_error</span><span class="special">&lt;</span><span class="identifier">ignore_error</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">ignore_domain_policy</span><span class="special">;</span>
 <span class="comment">// find_location with new policy, using typedef.
@@ -175,15 +225,19 @@
 <span class="comment">// A new policy, ignoring domain errors, without using a typedef.
 </span><span class="identifier">l</span> <span class="special">=</span> <span class="identifier">find_location</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">z</span><span class="special">,</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">sd</span><span class="special">,</span> <span class="identifier">policy</span><span class="special">&lt;</span><span class="identifier">domain_error</span><span class="special">&lt;</span><span class="identifier">ignore_error</span><span class="special">&gt;</span> <span class="special">&gt;());</span></pre>
 <p>
- </p>
+ </p>
 <p>
- If we want to use a probability that is the <a class="link" href="../../overview.html#complements">complement
- of our probability</a>, we should not even think of writing <code class="computeroutput"><span class="identifier">find_location</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">z</span><span class="special">,</span> <span class="number">1</span> <span class="special">-</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">sd</span><span class="special">)</span></code>,
- but, <a class="link" href="../../overview/complements.html#why_complements">to avoid loss of accuracy</a>,
- use the complement version.
- </p>
+ </p>
 <p>
-
+ If we want to use a probability that is the <a class="link" href="../../overview.html#complements">complement
+ of our probability</a>, we should not even think of writing <code class="computeroutput"><span class="identifier">find_location</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">z</span><span class="special">,</span> <span class="number">1</span> <span class="special">-</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">sd</span><span class="special">)</span></code>,
+ but, <a class="link" href="../../overview/complements.html#why_complements">to avoid loss of accuracy</a>,
+ use the complement version.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">z</span> <span class="special">=</span> <span class="number">2.</span><span class="special">;</span>
 <span class="keyword">double</span> <span class="identifier">q</span> <span class="special">=</span> <span class="number">0.95</span><span class="special">;</span> <span class="comment">// = 1 - p; // complement.
@@ -196,11 +250,11 @@
   <span class="special">&lt;&lt;</span> <span class="string">"fraction &gt; "</span> <span class="special">&lt;&lt;</span> <span class="identifier">z</span> <span class="special">&lt;&lt;</span> <span class="string">" = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">np95pc</span><span class="special">,</span> <span class="identifier">z</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 </pre>
 <p>
- </p>
+ </p>
 <p>
               See find_location_example.cpp
- for full source code: the program output looks like this:
- </p>
+ for full source code: the program output looks like this:
+</p>
 <pre class="programlisting">Example: Find location (mean).
 Normal distribution with mean = 0, standard deviation 1, has fraction &lt;= -2, p = 0.0227501
 Normal distribution with mean = 0, standard deviation 1, has fraction &gt; -2, p = 0.97725
@@ -210,6 +264,8 @@
 Normal distribution with mean = 0.355146 has fraction &lt;= 2 = 0.95
 Normal distribution with mean = 0.355146 has fraction &gt; 2 = 0.05
 </pre>
+<p>
+ </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
 <td align="left"></td>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_mean_and_sd_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_mean_and_sd_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_mean_and_sd_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,15 +24,19 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg"></a><a class="link" href="find_mean_and_sd_eg.html" title="Find mean and standard deviation example">Find
- mean and standard deviation example</a>
+<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg"></a><a class="link" href="find_mean_and_sd_eg.html" title="Find mean and standard deviation example">
+ Find mean and standard deviation example</a>
 </h6></div></div></div>
 <p>
- First we need some includes to access the normal distribution, the
- algorithms to find location and scale (and some std output of course).
- </p>
+ </p>
 <p>
-
+ First we need some includes to access the normal distribution, the
+ algorithms to find location and scale (and some std output of course).
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="comment">// for normal_distribution
 </span> <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">normal</span><span class="special">;</span> <span class="comment">// typedef provides default type is double.
@@ -55,78 +59,108 @@
   <span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">exception</span><span class="special">;</span>
 </pre>
 <p>
- </p>
-<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.using_find_location_and_find_scale_to_meet_dispensing_and_measurement_specifications"></a><h5>
-<a name="id973322"></a>
- <a class="link" href="find_mean_and_sd_eg.html#math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.using_find_location_and_find_scale_to_meet_dispensing_and_measurement_specifications">Using
- find_location and find_scale to meet dispensing and measurement specifications</a>
- </h5>
-<p>
- Consider an example from K Krishnamoorthy, Handbook of Statistical
- Distributions with Applications, ISBN 1-58488-635-8, (2006) p 126,
- example 10.3.7.
- </p>
+ </p>
 <p>
- "A machine is set to pack 3 kg of ground beef per pack. Over a
- long period of time it is found that the average packed was 3 kg with
- a standard deviation of 0.1 kg. Assume the packing is normally distributed."
- </p>
+ <a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.using_find_location_and_find_scale_to_meet_dispensing_and_measurement_specifications"></a>
+ </p>
+<h5>
+<a name="id1081208"></a>
+ <a class="link" href="find_mean_and_sd_eg.html#math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.using_find_location_and_find_scale_to_meet_dispensing_and_measurement_specifications">Using
+ find_location and find_scale to meet dispensing and measurement specifications</a>
+ </h5>
 <p>
- We start by constructing a normal distribution with the given parameters:
- </p>
+ </p>
 <p>
-
+ Consider an example from K Krishnamoorthy, Handbook of Statistical
+ Distributions with Applications, ISBN 1-58488-635-8, (2006) p 126,
+ example 10.3.7.
+ </p>
+<p>
+ </p>
+<p>
+ "A machine is set to pack 3 kg of ground beef per pack. Over
+ a long period of time it is found that the average packed was 3 kg
+ with a standard deviation of 0.1 kg. Assume the packing is normally
+ distributed."
+ </p>
+<p>
+ </p>
+<p>
+ We start by constructing a normal distribution with the given parameters:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">mean</span> <span class="special">=</span> <span class="number">3.</span><span class="special">;</span> <span class="comment">// kg
 </span><span class="keyword">double</span> <span class="identifier">standard_deviation</span> <span class="special">=</span> <span class="number">0.1</span><span class="special">;</span> <span class="comment">// kg
 </span><span class="identifier">normal</span> <span class="identifier">packs</span><span class="special">(</span><span class="identifier">mean</span><span class="special">,</span> <span class="identifier">standard_deviation</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- We can then find the fraction (or %) of packages that weigh more than
- 3.1 kg.
- </p>
+ </p>
 <p>
-
+ We can then find the fraction (or %) of packages that weigh more
+ than 3.1 kg.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">max_weight</span> <span class="special">=</span> <span class="number">3.1</span><span class="special">;</span> <span class="comment">// kg
 </span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Percentage of packs &gt; "</span> <span class="special">&lt;&lt;</span> <span class="identifier">max_weight</span> <span class="special">&lt;&lt;</span> <span class="string">" is "</span>
 <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">packs</span><span class="special">,</span> <span class="identifier">max_weight</span><span class="special">))</span> <span class="special">*</span> <span class="number">100.</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// P(X &gt; 3.1)</span></pre>
 <p>
- </p>
+ </p>
 <p>
- We might want to ensure that 95% of packs are over a minimum weight
- specification, then we want the value of the mean such that P(X &lt;
- 2.9) = 0.05.
- </p>
+ </p>
 <p>
- Using the mean of 3 kg, we can estimate the fraction of packs that
- fail to meet the specification of 2.9 kg.
- </p>
+ We might want to ensure that 95% of packs are over a minimum weight
+ specification, then we want the value of the mean such that P(X &lt;
+ 2.9) = 0.05.
+ </p>
 <p>
-
+ </p>
+<p>
+ Using the mean of 3 kg, we can estimate the fraction of packs that
+ fail to meet the specification of 2.9 kg.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">minimum_weight</span> <span class="special">=</span> <span class="number">2.9</span><span class="special">;</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span><span class="string">"Fraction of packs &lt;= "</span> <span class="special">&lt;&lt;</span> <span class="identifier">minimum_weight</span> <span class="special">&lt;&lt;</span> <span class="string">" with a mean of "</span> <span class="special">&lt;&lt;</span> <span class="identifier">mean</span>
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">packs</span><span class="special">,</span> <span class="identifier">minimum_weight</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// fraction of packs &lt;= 2.9 with a mean of 3 is 0.841345</span></pre>
 <p>
- </p>
+ </p>
 <p>
- This is 0.84 - more than the target fraction of 0.95. If we want 95%
- to be over the minimum weight, what should we set the mean weight to
- be?
- </p>
+ </p>
 <p>
- Using the KK StatCalc program supplied with the book and the method
- given on page 126 gives 3.06449.
- </p>
+ This is 0.84 - more than the target fraction of 0.95. If we want
+ 95% to be over the minimum weight, what should we set the mean weight
+ to be?
+ </p>
 <p>
- We can confirm this by constructing a new distribution which we call
- 'xpacks' with a safety margin mean of 3.06449 thus:
- </p>
+ </p>
 <p>
-
+ Using the KK StatCalc program supplied with the book and the method
+ given on page 126 gives 3.06449.
+ </p>
+<p>
+ </p>
+<p>
+ We can confirm this by constructing a new distribution which we call
+ 'xpacks' with a safety margin mean of 3.06449 thus:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">over_mean</span> <span class="special">=</span> <span class="number">3.06449</span><span class="special">;</span>
 <span class="identifier">normal</span> <span class="identifier">xpacks</span><span class="special">(</span><span class="identifier">over_mean</span><span class="special">,</span> <span class="identifier">standard_deviation</span><span class="special">);</span>
@@ -135,13 +169,17 @@
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">xpacks</span><span class="special">,</span> <span class="identifier">minimum_weight</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// fraction of packs &gt;= 2.9 with a mean of 3.06449 is 0.950005</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Using this Math Toolkit, we can calculate the required mean directly
- thus:
- </p>
+ </p>
 <p>
-
+ Using this Math Toolkit, we can calculate the required mean directly
+ thus:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">under_fraction</span> <span class="special">=</span> <span class="number">0.05</span><span class="special">;</span> <span class="comment">// so 95% are above the minimum weight mean - sd = 2.9
 </span><span class="keyword">double</span> <span class="identifier">low_limit</span> <span class="special">=</span> <span class="identifier">standard_deviation</span><span class="special">;</span>
@@ -155,69 +193,94 @@
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">nominal_packs</span><span class="special">,</span> <span class="identifier">minimum_weight</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// Setting the packer to 3.06449 will mean that fraction of packs &gt;= 2.9 is 0.95</span></pre>
 <p>
- </p>
+ </p>
 <p>
- This calculation is generalized as the free function called <a class="link" href="../../../dist_ref/dist_algorithms.html" title="Distribution Algorithms">find_location</a>.
- </p>
+ </p>
 <p>
- To use this we will need to
- </p>
+ This calculation is generalized as the free function called <a class="link" href="../../../dist_ref/dist_algorithms.html" title="Distribution Algorithms">find_location</a>.
+ </p>
 <p>
-
+ </p>
+<p>
+ To use this we will need to
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">find_location</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
   <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">find_location</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- and then use find_location function to find safe_mean, &amp; construct
- a new normal distribution called 'goodpacks'.
- </p>
+ </p>
 <p>
-
+ and then use find_location function to find safe_mean, &amp; construct
+ a new normal distribution called 'goodpacks'.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">safe_mean</span> <span class="special">=</span> <span class="identifier">find_location</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">minimum_weight</span><span class="special">,</span> <span class="identifier">under_fraction</span><span class="special">,</span> <span class="identifier">standard_deviation</span><span class="special">);</span>
 <span class="identifier">normal</span> <span class="identifier">good_packs</span><span class="special">(</span><span class="identifier">safe_mean</span><span class="special">,</span> <span class="identifier">standard_deviation</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- with the same confirmation as before:
- </p>
+ </p>
 <p>
-
+ with the same confirmation as before:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Setting the packer to "</span> <span class="special">&lt;&lt;</span> <span class="identifier">nominal_mean</span> <span class="special">&lt;&lt;</span> <span class="string">" will mean that "</span>
   <span class="special">&lt;&lt;</span> <span class="string">"fraction of packs &gt;= "</span> <span class="special">&lt;&lt;</span> <span class="identifier">minimum_weight</span>
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">good_packs</span><span class="special">,</span> <span class="identifier">minimum_weight</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// Setting the packer to 3.06449 will mean that fraction of packs &gt;= 2.9 is 0.95</span></pre>
 <p>
- </p>
-<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.using_cauchy_lorentz_instead_of_normal_distribution"></a><h5>
-<a name="id974503"></a>
- <a class="link" href="find_mean_and_sd_eg.html#math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.using_cauchy_lorentz_instead_of_normal_distribution">Using
- Cauchy-Lorentz instead of normal distribution</a>
- </h5>
-<p>
- After examining the weight distribution of a large number of packs,
- we might decide that, after all, the assumption of a normal distribution
- is not really justified. We might find that the fit is better to a
- <a class="link" href="../../../dist_ref/dists/cauchy_dist.html" title="Cauchy-Lorentz Distribution">Cauchy
- Distribution</a>. This distribution has wider 'wings', so that whereas
- most of the values are closer to the mean than the normal, there are
- also more values than 'normal' that lie further from the mean than
- the normal.
- </p>
+ </p>
 <p>
- This might happen because a larger than normal lump of meat is either
- included or excluded.
- </p>
+ <a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.using_cauchy_lorentz_instead_of_normal_distribution"></a>
+ </p>
+<h5>
+<a name="id1082421"></a>
+ <a class="link" href="find_mean_and_sd_eg.html#math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.using_cauchy_lorentz_instead_of_normal_distribution">Using
+ Cauchy-Lorentz instead of normal distribution</a>
+ </h5>
+<p>
+ </p>
+<p>
+ After examining the weight distribution of a large number of packs,
+ we might decide that, after all, the assumption of a normal distribution
+ is not really justified. We might find that the fit is better to
+ a <a class="link" href="../../../dist_ref/dists/cauchy_dist.html" title="Cauchy-Lorentz Distribution">Cauchy
+ Distribution</a>. This distribution has wider 'wings', so that
+ whereas most of the values are closer to the mean than the normal,
+ there are also more values than 'normal' that lie further from the
+ mean than the normal.
+ </p>
+<p>
+ </p>
+<p>
+ This might happen because a larger than normal lump of meat is either
+ included or excluded.
+ </p>
+<p>
+ </p>
+<p>
+ We first create a <a class="link" href="../../../dist_ref/dists/cauchy_dist.html" title="Cauchy-Lorentz Distribution">Cauchy
+ Distribution</a> with the original mean and standard deviation,
+ and estimate the fraction that lie below our minimum weight specification.
+ </p>
 <p>
- We first create a <a class="link" href="../../../dist_ref/dists/cauchy_dist.html" title="Cauchy-Lorentz Distribution">Cauchy
- Distribution</a> with the original mean and standard deviation,
- and estimate the fraction that lie below our minimum weight specification.
- </p>
+ </p>
 <p>
-
+
 </p>
 <pre class="programlisting"><span class="identifier">cauchy</span> <span class="identifier">cpacks</span><span class="special">(</span><span class="identifier">mean</span><span class="special">,</span> <span class="identifier">standard_deviation</span><span class="special">);</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Cauchy Setting the packer to "</span> <span class="special">&lt;&lt;</span> <span class="identifier">mean</span> <span class="special">&lt;&lt;</span> <span class="string">" will mean that "</span>
@@ -225,29 +288,39 @@
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">cpacks</span><span class="special">,</span> <span class="identifier">minimum_weight</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// Cauchy Setting the packer to 3 will mean that fraction of packs &gt;= 2.9 is 0.75</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Note that far fewer of the packs meet the specification, only 75% instead
- of 95%. Now we can repeat the find_location, using the cauchy distribution
- as template parameter, in place of the normal used above.
- </p>
+ </p>
 <p>
-
+ Note that far fewer of the packs meet the specification, only 75%
+ instead of 95%. Now we can repeat the find_location, using the cauchy
+ distribution as template parameter, in place of the normal used above.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">lc</span> <span class="special">=</span> <span class="identifier">find_location</span><span class="special">&lt;</span><span class="identifier">cauchy</span><span class="special">&gt;(</span><span class="identifier">minimum_weight</span><span class="special">,</span> <span class="identifier">under_fraction</span><span class="special">,</span> <span class="identifier">standard_deviation</span><span class="special">);</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"find_location&lt;cauchy&gt;(minimum_weight, over fraction, standard_deviation); "</span> <span class="special">&lt;&lt;</span> <span class="identifier">lc</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// find_location&lt;cauchy&gt;(minimum_weight, over fraction, packs.standard_deviation()); 3.53138</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Note that the safe_mean setting needs to be much higher, 3.53138 instead
- of 3.06449, so we will make rather less profit.
- </p>
+ </p>
 <p>
- And again confirm that the fraction meeting specification is as expected.
- </p>
+ Note that the safe_mean setting needs to be much higher, 3.53138
+ instead of 3.06449, so we will make rather less profit.
+ </p>
 <p>
-
+ </p>
+<p>
+ And again confirm that the fraction meeting specification is as expected.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cauchy</span> <span class="identifier">goodcpacks</span><span class="special">(</span><span class="identifier">lc</span><span class="special">,</span> <span class="identifier">standard_deviation</span><span class="special">);</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Cauchy Setting the packer to "</span> <span class="special">&lt;&lt;</span> <span class="identifier">lc</span> <span class="special">&lt;&lt;</span> <span class="string">" will mean that "</span>
@@ -255,13 +328,17 @@
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">goodcpacks</span><span class="special">,</span> <span class="identifier">minimum_weight</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// Cauchy Setting the packer to 3.53138 will mean that fraction of packs &gt;= 2.9 is 0.95</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Finally we could estimate the effect of a much tighter specification,
- that 99% of packs met the specification.
- </p>
+ </p>
 <p>
-
+ Finally we could estimate the effect of a much tighter specification,
+ that 99% of packs met the specification.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Cauchy Setting the packer to "</span>
   <span class="special">&lt;&lt;</span> <span class="identifier">find_location</span><span class="special">&lt;</span><span class="identifier">cauchy</span><span class="special">&gt;(</span><span class="identifier">minimum_weight</span><span class="special">,</span> <span class="number">0.99</span><span class="special">,</span> <span class="identifier">standard_deviation</span><span class="special">)</span>
@@ -269,81 +346,114 @@
   <span class="special">&lt;&lt;</span> <span class="string">"fraction of packs &gt;= "</span> <span class="special">&lt;&lt;</span> <span class="identifier">minimum_weight</span>
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">goodcpacks</span><span class="special">,</span> <span class="identifier">minimum_weight</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Setting the packer to 3.13263 will mean that fraction of packs &gt;=
- 2.9 is 0.99, but will more than double the mean loss from 0.0644 to
- 0.133 kg per pack.
- </p>
+ </p>
 <p>
- Of course, this calculation is not limited to packs of meat, it applies
- to dispensing anything, and it also applies to a 'virtual' material
- like any measurement.
- </p>
+ Setting the packer to 3.13263 will mean that fraction of packs &gt;=
+ 2.9 is 0.99, but will more than double the mean loss from 0.0644
+ to 0.133 kg per pack.
+ </p>
 <p>
- The only caveat is that the calculation assumes that the standard deviation
- (scale) is known with a reasonably low uncertainty, something that
- is not so easy to ensure in practice. And that the distribution is
- well defined, <a class="link" href="../../../dist_ref/dists/normal_dist.html" title="Normal (Gaussian) Distribution">Normal
- Distribution</a> or <a class="link" href="../../../dist_ref/dists/cauchy_dist.html" title="Cauchy-Lorentz Distribution">Cauchy
- Distribution</a>, or some other.
- </p>
+ </p>
 <p>
- If one is simply dispensing a very large number of packs, then it may
- be feasible to measure the weight of hundreds or thousands of packs.
- With a healthy 'degrees of freedom', the confidence intervals for the
- standard deviation are not too wide, typically about + and - 10% for
- hundreds of observations.
- </p>
+ Of course, this calculation is not limited to packs of meat, it applies
+ to dispensing anything, and it also applies to a 'virtual' material
+ like any measurement.
+ </p>
 <p>
- For other applications, where it is more difficult or expensive to
- make many observations, the confidence intervals are depressingly wide.
- </p>
+ </p>
 <p>
- See <a class="link" href="../cs_eg/chi_sq_intervals.html" title="Confidence Intervals on the Standard Deviation">Confidence
- Intervals on the standard deviation</a> for a worked example chi_square_std_dev_test.cpp
- of estimating these intervals.
- </p>
-<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.changing_the_scale_or_standard_deviation"></a><h5>
-<a name="id975151"></a>
- <a class="link" href="find_mean_and_sd_eg.html#math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.changing_the_scale_or_standard_deviation">Changing
- the scale or standard deviation</a>
- </h5>
+ The only caveat is that the calculation assumes that the standard
+ deviation (scale) is known with a reasonably low uncertainty, something
+ that is not so easy to ensure in practice. And that the distribution
+ is well defined, <a class="link" href="../../../dist_ref/dists/normal_dist.html" title="Normal (Gaussian) Distribution">Normal
+ Distribution</a> or <a class="link" href="../../../dist_ref/dists/cauchy_dist.html" title="Cauchy-Lorentz Distribution">Cauchy
+ Distribution</a>, or some other.
+ </p>
 <p>
- Alternatively, we could invest in a better (more precise) packer (or
- measuring device) with a lower standard deviation, or scale.
- </p>
+ </p>
 <p>
- This might cost more, but would reduce the amount we have to 'give
- away' in order to meet the specification.
- </p>
+ If one is simply dispensing a very large number of packs, then it
+ may be feasible to measure the weight of hundreds or thousands of
+ packs. With a healthy 'degrees of freedom', the confidence intervals
+ for the standard deviation are not too wide, typically about + and
+ - 10% for hundreds of observations.
+ </p>
 <p>
- To estimate how much better (how much smaller standard deviation) it
- would have to be, we need to get the 5% quantile to be located at the
- under_weight limit, 2.9
- </p>
+ </p>
 <p>
-
+ For other applications, where it is more difficult or expensive to
+ make many observations, the confidence intervals are depressingly
+ wide.
+ </p>
+<p>
+ </p>
+<p>
+ See <a class="link" href="../cs_eg/chi_sq_intervals.html" title="Confidence Intervals on the Standard Deviation">Confidence
+ Intervals on the standard deviation</a> for a worked example
+ chi_square_std_dev_test.cpp
+ of estimating these intervals.
+ </p>
+<p>
+ <a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.changing_the_scale_or_standard_deviation"></a>
+ </p>
+<h5>
+<a name="id1083069"></a>
+ <a class="link" href="find_mean_and_sd_eg.html#math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.changing_the_scale_or_standard_deviation">Changing
+ the scale or standard deviation</a>
+ </h5>
+<p>
+ </p>
+<p>
+ Alternatively, we could invest in a better (more precise) packer
+ (or measuring device) with a lower standard deviation, or scale.
+ </p>
+<p>
+ </p>
+<p>
+ This might cost more, but would reduce the amount we have to 'give
+ away' in order to meet the specification.
+ </p>
+<p>
+ </p>
+<p>
+ To estimate how much better (how much smaller standard deviation)
+ it would have to be, we need to get the 5% quantile to be located
+ at the under_weight limit, 2.9
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">p</span> <span class="special">=</span> <span class="number">0.05</span><span class="special">;</span> <span class="comment">// wanted p th quantile.
 </span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Quantile of "</span> <span class="special">&lt;&lt;</span> <span class="identifier">p</span> <span class="special">&lt;&lt;</span> <span class="string">" = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">packs</span><span class="special">,</span> <span class="identifier">p</span><span class="special">)</span>
   <span class="special">&lt;&lt;</span> <span class="string">", mean = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">packs</span><span class="special">.</span><span class="identifier">mean</span><span class="special">()</span> <span class="special">&lt;&lt;</span> <span class="string">", sd = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">packs</span><span class="special">.</span><span class="identifier">standard_deviation</span><span class="special">()</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Quantile of 0.05 = 2.83551, mean = 3, sd = 0.1
- </p>
+ </p>
 <p>
- With the current packer (mean = 3, sd = 0.1), the 5% quantile is at
- 2.8551 kg, a little below our target of 2.9 kg. So we know that the
- standard deviation is going to have to be smaller.
- </p>
+ Quantile of 0.05 = 2.83551, mean = 3, sd = 0.1
+ </p>
 <p>
- Let's start by guessing that it (now 0.1) needs to be halved, to a
- standard deviation of 0.05 kg.
- </p>
+ </p>
 <p>
-
+ With the current packer (mean = 3, sd = 0.1), the 5% quantile is
+ at 2.8551 kg, a little below our target of 2.9 kg. So we know that
+ the standard deviation is going to have to be smaller.
+ </p>
+<p>
+ </p>
+<p>
+ Let's start by guessing that it (now 0.1) needs to be halved, to
+ a standard deviation of 0.05 kg.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">normal</span> <span class="identifier">pack05</span><span class="special">(</span><span class="identifier">mean</span><span class="special">,</span> <span class="number">0.05</span><span class="special">);</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Quantile of "</span> <span class="special">&lt;&lt;</span> <span class="identifier">p</span> <span class="special">&lt;&lt;</span> <span class="string">" = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">pack05</span><span class="special">,</span> <span class="identifier">p</span><span class="special">)</span>
@@ -355,15 +465,20 @@
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">pack05</span><span class="special">,</span> <span class="identifier">minimum_weight</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// Fraction of packs &gt;= 2.9 with a mean of 3 and standard deviation of 0.05 is 0.97725</span></pre>
 <p>
- </p>
+ </p>
 <p>
- So 0.05 was quite a good guess, but we are a little over the 2.9 target,
- so the standard deviation could be a tiny bit more. So we could do
- some more guessing to get closer, say by increasing standard deviation
- to 0.06 kg, constructing another new distribution called pack06.
- </p>
+ </p>
 <p>
-
+ So 0.05 was quite a good guess, but we are a little over the 2.9
+ target, so the standard deviation could be a tiny bit more. So we
+ could do some more guessing to get closer, say by increasing standard
+ deviation to 0.06 kg, constructing another new distribution called
+ pack06.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">normal</span> <span class="identifier">pack06</span><span class="special">(</span><span class="identifier">mean</span><span class="special">,</span> <span class="number">0.06</span><span class="special">);</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Quantile of "</span> <span class="special">&lt;&lt;</span> <span class="identifier">p</span> <span class="special">&lt;&lt;</span> <span class="string">" = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">pack06</span><span class="special">,</span> <span class="identifier">p</span><span class="special">)</span>
@@ -375,34 +490,46 @@
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">pack06</span><span class="special">,</span> <span class="identifier">minimum_weight</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// Fraction of packs &gt;= 2.9 with a mean of 3 and standard deviation of 0.06 is 0.95221</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Now we are getting really close, but to do the job properly, we might
- need to use root finding method, for example the tools provided, and
- used elsewhere, in the Math Toolkit, see <a class="link" href="../../../../toolkit/internals1/roots2.html" title="Root Finding Without Derivatives: Bisection, Bracket and TOMS748">Root
- Finding Without Derivatives</a>.
- </p>
+ </p>
 <p>
- But in this (normal) distribution case, we can and should be even smarter
- and make a direct calculation.
- </p>
+ Now we are getting really close, but to do the job properly, we might
+ need to use root finding method, for example the tools provided,
+ and used elsewhere, in the Math Toolkit, see <a class="link" href="../../../../toolkit/internals1/roots2.html" title="Root Finding Without Derivatives: Bisection, Bracket and TOMS748">Root
+ Finding Without Derivatives</a>.
+ </p>
 <p>
- Our required limit is minimum_weight = 2.9 kg, often called the random
- variate z. For a standard normal distribution, then probability p =
- N((minimum_weight - mean) / sd).
- </p>
+ </p>
 <p>
- We want to find the standard deviation that would be required to meet
- this limit, so that the p th quantile is located at z (minimum_weight).
- In this case, the 0.05 (5%) quantile is at 2.9 kg pack weight, when
- the mean is 3 kg, ensuring that 0.95 (95%) of packs are above the minimum
- weight.
- </p>
+ But in this (normal) distribution case, we can and should be even
+ smarter and make a direct calculation.
+ </p>
 <p>
- Rearranging, we can directly calculate the required standard deviation:
- </p>
+ </p>
 <p>
-
+ Our required limit is minimum_weight = 2.9 kg, often called the random
+ variate z. For a standard normal distribution, then probability p
+ = N((minimum_weight - mean) / sd).
+ </p>
+<p>
+ </p>
+<p>
+ We want to find the standard deviation that would be required to
+ meet this limit, so that the p th quantile is located at z (minimum_weight).
+ In this case, the 0.05 (5%) quantile is at 2.9 kg pack weight, when
+ the mean is 3 kg, ensuring that 0.95 (95%) of packs are above the
+ minimum weight.
+ </p>
+<p>
+ </p>
+<p>
+ Rearranging, we can directly calculate the required standard deviation:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">normal</span> <span class="identifier">N01</span><span class="special">;</span> <span class="comment">// standard normal distribution with meamn zero and unit standard deviation.
 </span><span class="identifier">p</span> <span class="special">=</span> <span class="number">0.05</span><span class="special">;</span>
@@ -413,13 +540,17 @@
   <span class="special">&lt;&lt;</span> <span class="identifier">minimum_weight</span> <span class="special">&lt;&lt;</span> <span class="string">", would need a standard deviation of "</span> <span class="special">&lt;&lt;</span> <span class="identifier">sd95</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// For the 0.05th quantile to be located at 2.9, would need a standard deviation of 0.0607957</span></pre>
 <p>
- </p>
+ </p>
 <p>
- We can now construct a new (normal) distribution pack95 for the 'better'
- packer, and check that our distribution will meet the specification.
- </p>
+ </p>
 <p>
-
+ We can now construct a new (normal) distribution pack95 for the 'better'
+ packer, and check that our distribution will meet the specification.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">normal</span> <span class="identifier">pack95</span><span class="special">(</span><span class="identifier">mean</span><span class="special">,</span> <span class="identifier">sd95</span><span class="special">);</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span><span class="string">"Fraction of packs &gt;= "</span> <span class="special">&lt;&lt;</span> <span class="identifier">minimum_weight</span> <span class="special">&lt;&lt;</span> <span class="string">" with a mean of "</span> <span class="special">&lt;&lt;</span> <span class="identifier">mean</span>
@@ -427,75 +558,108 @@
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">pack95</span><span class="special">,</span> <span class="identifier">minimum_weight</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// Fraction of packs &gt;= 2.9 with a mean of 3 and standard deviation of 0.0607957 is 0.95</span></pre>
 <p>
- </p>
+ </p>
 <p>
- This calculation is generalized in the free function find_scale, as
- shown below, giving the same standard deviation.
- </p>
+ </p>
 <p>
-
+ This calculation is generalized in the free function find_scale,
+ as shown below, giving the same standard deviation.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">ss</span> <span class="special">=</span> <span class="identifier">find_scale</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">minimum_weight</span><span class="special">,</span> <span class="identifier">under_fraction</span><span class="special">,</span> <span class="identifier">packs</span><span class="special">.</span><span class="identifier">mean</span><span class="special">());</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"find_scale&lt;normal&gt;(minimum_weight, under_fraction, packs.mean()); "</span> <span class="special">&lt;&lt;</span> <span class="identifier">ss</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// find_scale&lt;normal&gt;(minimum_weight, under_fraction, packs.mean()); 0.0607957</span></pre>
 <p>
- </p>
+ </p>
 <p>
- If we had defined an over_fraction, or percentage that must pass specification
- </p>
+ </p>
 <p>
-
+ If we had defined an over_fraction, or percentage that must pass
+ specification
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">over_fraction</span> <span class="special">=</span> <span class="number">0.95</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- And (wrongly) written
- </p>
+ </p>
+<p>
+ And (wrongly) written
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">sso</span> <span class="special">=</span> <span class="identifier">find_scale</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">minimum_weight</span><span class="special">,</span> <span class="identifier">over_fraction</span><span class="special">,</span> <span class="identifier">packs</span><span class="special">.</span><span class="identifier">mean</span><span class="special">());</span>
 </pre>
 <p>
- With the default policy, we would get a message like
- </p>
+ </p>
+<p>
+ With the default policy, we would get a message like
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Message from thrown exception was:
    Error in function boost::math::find_scale&lt;Dist, Policy&gt;(double, double, double, Policy):
    Computed scale (-0.060795683191176959) is &lt;= 0! Was the complement intended?
 </pre>
 <p>
- But this would return a <span class="bold"><strong>negative</strong></span> standard
- deviation - obviously impossible. The probability should be 1 - over_fraction,
- not over_fraction, thus:
- </p>
+ </p>
 <p>
-
+ But this would return a <span class="bold"><strong>negative</strong></span>
+ standard deviation - obviously impossible. The probability should
+ be 1 - over_fraction, not over_fraction, thus:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">ss1o</span> <span class="special">=</span> <span class="identifier">find_scale</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">minimum_weight</span><span class="special">,</span> <span class="number">1</span> <span class="special">-</span> <span class="identifier">over_fraction</span><span class="special">,</span> <span class="identifier">packs</span><span class="special">.</span><span class="identifier">mean</span><span class="special">());</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"find_scale&lt;normal&gt;(minimum_weight, under_fraction, packs.mean()); "</span> <span class="special">&lt;&lt;</span> <span class="identifier">ss1o</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// find_scale&lt;normal&gt;(minimum_weight, under_fraction, packs.mean()); 0.0607957</span></pre>
 <p>
- </p>
+ </p>
 <p>
- But notice that using '1 - over_fraction' - will lead to a <a class="link" href="../../overview/complements.html#why_complements">loss
- of accuracy, especially if over_fraction was close to unity.</a>
- In this (very common) case, we should instead use the <a class="link" href="../../overview.html#complements">complements</a>,
- giving the most accurate result.
- </p>
+ </p>
 <p>
-
+ But notice that using '1 - over_fraction' - will lead to a <a class="link" href="../../overview/complements.html#why_complements">loss of accuracy, especially if over_fraction
+ was close to unity.</a> In this (very common) case, we should
+ instead use the <a class="link" href="../../overview.html#complements">complements</a>, giving
+ the most accurate result.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">ssc</span> <span class="special">=</span> <span class="identifier">find_scale</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">minimum_weight</span><span class="special">,</span> <span class="identifier">over_fraction</span><span class="special">,</span> <span class="identifier">packs</span><span class="special">.</span><span class="identifier">mean</span><span class="special">()));</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"find_scale&lt;normal&gt;(complement(minimum_weight, over_fraction, packs.mean())); "</span> <span class="special">&lt;&lt;</span> <span class="identifier">ssc</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// find_scale&lt;normal&gt;(complement(minimum_weight, over_fraction, packs.mean())); 0.0607957</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Note that our guess of 0.06 was close to the accurate value of 0.060795683191176959.
- </p>
+ </p>
 <p>
- We can again confirm our prediction thus:
- </p>
+ Note that our guess of 0.06 was close to the accurate value of 0.060795683191176959.
+ </p>
 <p>
-
+ </p>
+<p>
+ We can again confirm our prediction thus:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">normal</span> <span class="identifier">pack95c</span><span class="special">(</span><span class="identifier">mean</span><span class="special">,</span> <span class="identifier">ssc</span><span class="special">);</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span><span class="string">"Fraction of packs &gt;= "</span> <span class="special">&lt;&lt;</span> <span class="identifier">minimum_weight</span> <span class="special">&lt;&lt;</span> <span class="string">" with a mean of "</span> <span class="special">&lt;&lt;</span> <span class="identifier">mean</span>
@@ -503,31 +667,45 @@
   <span class="special">&lt;&lt;</span> <span class="string">" is "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">pack95c</span><span class="special">,</span> <span class="identifier">minimum_weight</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="comment">// Fraction of packs &gt;= 2.9 with a mean of 3 and standard deviation of 0.0607957 is 0.95</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Notice that these two deceptively simple questions:
- </p>
+ </p>
+<p>
+ Notice that these two deceptively simple questions:
+ </p>
+<p>
+ </p>
 <div class="itemizedlist"><ul type="disc"><li>
- Do we over-fill to make sure we meet a minimum specification (or
- under-fill to avoid an overdose)?
- </li></ul></div>
+ Do we over-fill to make sure we meet a minimum specification
+ (or under-fill to avoid an overdose)?
+ </li></ul></div>
 <p>
- and/or
- </p>
+ </p>
+<p>
+ and/or
+ </p>
+<p>
+ </p>
 <div class="itemizedlist"><ul type="disc"><li>
- Do we measure better?
- </li></ul></div>
+ Do we measure better?
+ </li></ul></div>
 <p>
- are actually extremely common.
- </p>
+ </p>
 <p>
- The weight of beef might be replaced by a measurement of more or less
- anything, from drug tablet content, Apollo landing rocket firing, X-ray
- treatment doses...
- </p>
+ are actually extremely common.
+ </p>
 <p>
- The scale can be variation in dispensing or uncertainty in measurement.
- </p>
+ </p>
+<p>
+ The weight of beef might be replaced by a measurement of more or
+ less anything, from drug tablet content, Apollo landing rocket firing,
+ X-ray treatment doses...
+ </p>
+<p>
+ </p>
+<p>
+ The scale can be variation in dispensing or uncertainty in measurement.
+ </p>
 <p>
               See find_mean_and_sd_normal.cpp
               for full source code &amp; appended program output.

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_scale_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_scale_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_scale_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,16 +24,20 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_scale_eg"></a><a class="link" href="find_scale_eg.html" title="Find Scale (Standard Deviation) Example">Find
- Scale (Standard Deviation) Example</a>
+<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_scale_eg"></a><a class="link" href="find_scale_eg.html" title="Find Scale (Standard Deviation) Example">
+ Find Scale (Standard Deviation) Example</a>
 </h6></div></div></div>
 <p>
- First we need some includes to access the <a class="link" href="../../../dist_ref/dists/normal_dist.html" title="Normal (Gaussian) Distribution">Normal
- Distribution</a>, the algorithms to find scale (and some std output
- of course).
- </p>
+ </p>
 <p>
-
+ First we need some includes to access the <a class="link" href="../../../dist_ref/dists/normal_dist.html" title="Normal (Gaussian) Distribution">Normal
+ Distribution</a>, the algorithms to find scale (and some std output
+ of course).
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span> <span class="comment">// for normal_distribution
 </span> <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">normal</span><span class="special">;</span> <span class="comment">// typedef provides default type is double.
@@ -50,27 +54,35 @@
   <span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">;</span>
 </pre>
 <p>
- </p>
+ </p>
 <p>
- For this example, we will use the standard <a class="link" href="../../../dist_ref/dists/normal_dist.html" title="Normal (Gaussian) Distribution">Normal
- Distribution</a>, with location (mean) zero and standard deviation
- (scale) unity. Conveniently, this is also the default for this implementation's
- constructor.
- </p>
+ </p>
 <p>
-
+ For this example, we will use the standard <a class="link" href="../../../dist_ref/dists/normal_dist.html" title="Normal (Gaussian) Distribution">Normal
+ Distribution</a>, with location (mean) zero and standard deviation
+ (scale) unity. Conveniently, this is also the default for this implementation's
+ constructor.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">normal</span> <span class="identifier">N01</span><span class="special">;</span> <span class="comment">// Default 'standard' normal distribution with zero mean
 </span><span class="keyword">double</span> <span class="identifier">sd</span> <span class="special">=</span> <span class="number">1.</span><span class="special">;</span> <span class="comment">// and standard deviation is 1.</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Suppose we want to find a different normal distribution with standard
- deviation so that only fraction p (here 0.001 or 0.1%) are below a
- certain chosen limit (here -2. standard deviations).
- </p>
+ </p>
 <p>
-
+ Suppose we want to find a different normal distribution with standard
+ deviation so that only fraction p (here 0.001 or 0.1%) are below
+ a certain chosen limit (here -2. standard deviations).
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">z</span> <span class="special">=</span> <span class="special">-</span><span class="number">2.</span><span class="special">;</span> <span class="comment">// z to give prob p
 </span><span class="keyword">double</span> <span class="identifier">p</span> <span class="special">=</span> <span class="number">0.001</span><span class="special">;</span> <span class="comment">// only 0.1% below z = -2
@@ -84,46 +96,70 @@
   <span class="special">&lt;&lt;</span> <span class="string">", has "</span> <span class="special">&lt;&lt;</span> <span class="string">"fraction &gt; "</span> <span class="special">&lt;&lt;</span> <span class="identifier">z</span>
   <span class="special">&lt;&lt;</span> <span class="string">", p = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">N01</span><span class="special">,</span> <span class="identifier">z</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// Note: uses complement.</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Normal distribution with mean = 0 has fraction &lt;= -2, p = 0.0227501
 Normal distribution with mean = 0 has fraction &gt; -2, p = 0.97725
 </pre>
 <p>
- Noting that p = 0.02 instead of our target of 0.001, we can now use
- <code class="computeroutput"><span class="identifier">find_scale</span></code> to give
- a new standard deviation.
- </p>
+ </p>
 <p>
-
+ Noting that p = 0.02 instead of our target of 0.001, we can now use
+ <code class="computeroutput"><span class="identifier">find_scale</span></code> to give
+ a new standard deviation.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">l</span> <span class="special">=</span> <span class="identifier">N01</span><span class="special">.</span><span class="identifier">location</span><span class="special">();</span>
 <span class="keyword">double</span> <span class="identifier">s</span> <span class="special">=</span> <span class="identifier">find_scale</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">z</span><span class="special">,</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">l</span><span class="special">);</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"scale (standard deviation) = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">s</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- that outputs:
- </p>
+ </p>
+<p>
+ that outputs:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">scale (standard deviation) = 0.647201
 </pre>
 <p>
- showing that we need to reduce the standard deviation from 1. to 0.65.
- </p>
+ </p>
 <p>
- Then we can check that we have achieved our objective by constructing
- a new distribution with the new standard deviation (but same zero mean):
- </p>
+ showing that we need to reduce the standard deviation from 1. to
+ 0.65.
+ </p>
 <p>
-
+ </p>
+<p>
+ Then we can check that we have achieved our objective by constructing
+ a new distribution with the new standard deviation (but same zero
+ mean):
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">normal</span> <span class="identifier">np001pc</span><span class="special">(</span><span class="identifier">N01</span><span class="special">.</span><span class="identifier">location</span><span class="special">(),</span> <span class="identifier">s</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- And re-calculating the fraction below (and above) our chosen limit.
- </p>
+ </p>
 <p>
-
+ And re-calculating the fraction below (and above) our chosen limit.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Normal distribution with mean = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">l</span>
   <span class="special">&lt;&lt;</span> <span class="string">" has "</span> <span class="special">&lt;&lt;</span> <span class="string">"fraction &lt;= "</span> <span class="special">&lt;&lt;</span> <span class="identifier">z</span>
@@ -132,37 +168,53 @@
   <span class="special">&lt;&lt;</span> <span class="string">" has "</span> <span class="special">&lt;&lt;</span> <span class="string">"fraction &gt; "</span> <span class="special">&lt;&lt;</span> <span class="identifier">z</span>
   <span class="special">&lt;&lt;</span> <span class="string">", p = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">np001pc</span><span class="special">,</span> <span class="identifier">z</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Normal distribution with mean = 0 has fraction &lt;= -2, p = 0.001
 Normal distribution with mean = 0 has fraction &gt; -2, p = 0.999
 </pre>
-<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_scale_eg.controlling_how_errors_from_find_scale_are_handled"></a><h5>
-<a name="id967664"></a>
- <a class="link" href="find_scale_eg.html#math_toolkit.dist.stat_tut.weg.find_eg.find_scale_eg.controlling_how_errors_from_find_scale_are_handled">Controlling
- how Errors from find_scale are handled</a>
- </h5>
-<p>
- We can also control the policy for handling various errors. For example,
- we can define a new (possibly unwise) policy to ignore domain errors
- ('bad' arguments).
- </p>
 <p>
- Unless we are using the boost::math namespace, we will need:
- </p>
+ <a name="math_toolkit.dist.stat_tut.weg.find_eg.find_scale_eg.controlling_how_errors_from_find_scale_are_handled"></a>
+ </p>
+<h5>
+<a name="id1078521"></a>
+ <a class="link" href="find_scale_eg.html#math_toolkit.dist.stat_tut.weg.find_eg.find_scale_eg.controlling_how_errors_from_find_scale_are_handled">Controlling
+ how Errors from find_scale are handled</a>
+ </h5>
 <p>
-
+ </p>
+<p>
+ We can also control the policy for handling various errors. For example,
+ we can define a new (possibly unwise) policy to ignore domain errors
+ ('bad' arguments).
+ </p>
+<p>
+ </p>
+<p>
+ Unless we are using the boost::math namespace, we will need:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">policies</span><span class="special">::</span><span class="identifier">policy</span><span class="special">;</span>
 <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">policies</span><span class="special">::</span><span class="identifier">domain_error</span><span class="special">;</span>
 <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">policies</span><span class="special">::</span><span class="identifier">ignore_error</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Using a typedef is convenient, especially if it is re-used, although
- it is not required, as the various examples below show.
- </p>
+ </p>
 <p>
-
+ Using a typedef is convenient, especially if it is re-used, although
+ it is not required, as the various examples below show.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">policy</span><span class="special">&lt;</span><span class="identifier">domain_error</span><span class="special">&lt;</span><span class="identifier">ignore_error</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">ignore_domain_policy</span><span class="special">;</span>
 <span class="comment">// find_scale with new policy, using typedef.
@@ -175,16 +227,20 @@
 <span class="comment">// New policy, without typedef.
 </span><span class="identifier">l</span> <span class="special">=</span> <span class="identifier">find_scale</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">z</span><span class="special">,</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">l</span><span class="special">,</span> <span class="identifier">policy</span><span class="special">&lt;</span><span class="identifier">domain_error</span><span class="special">&lt;</span><span class="identifier">ignore_error</span><span class="special">&gt;</span> <span class="special">&gt;());</span></pre>
 <p>
- </p>
+ </p>
 <p>
- If we want to express a probability, say 0.999, that is a complement,
- <code class="computeroutput"><span class="number">1</span> <span class="special">-</span>
- <span class="identifier">p</span></code> we should not even think
- of writing <code class="computeroutput"><span class="identifier">find_scale</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">z</span><span class="special">,</span> <span class="number">1</span> <span class="special">-</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">l</span><span class="special">)</span></code>, but <a class="link" href="../../overview/complements.html#why_complements">instead</a>,
- use the <a class="link" href="../../overview.html#complements">complements</a> version.
- </p>
+ </p>
 <p>
-
+ If we want to express a probability, say 0.999, that is a complement,
+ <code class="computeroutput"><span class="number">1</span> <span class="special">-</span>
+ <span class="identifier">p</span></code> we should not even think
+ of writing <code class="computeroutput"><span class="identifier">find_scale</span><span class="special">&lt;</span><span class="identifier">normal</span><span class="special">&gt;(</span><span class="identifier">z</span><span class="special">,</span> <span class="number">1</span> <span class="special">-</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">l</span><span class="special">)</span></code>, but <a class="link" href="../../overview/complements.html#why_complements">instead</a>,
+ use the <a class="link" href="../../overview.html#complements">complements</a> version.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="identifier">z</span> <span class="special">=</span> <span class="special">-</span><span class="number">2.</span><span class="special">;</span>
 <span class="keyword">double</span> <span class="identifier">q</span> <span class="special">=</span> <span class="number">0.999</span><span class="special">;</span> <span class="comment">// = 1 - p; // complement of 0.001.
@@ -196,24 +252,31 @@
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"Normal distribution with mean = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">l</span> <span class="special">&lt;&lt;</span> <span class="string">" has "</span>
   <span class="special">&lt;&lt;</span> <span class="string">"fraction &gt; "</span> <span class="special">&lt;&lt;</span> <span class="identifier">z</span> <span class="special">&lt;&lt;</span> <span class="string">" = "</span> <span class="special">&lt;&lt;</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">np95pc</span><span class="special">,</span> <span class="identifier">z</span><span class="special">))</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Sadly, it is all too easy to get probabilities the wrong way round,
- when you may get a warning like this:
- </p>
+ </p>
+<p>
+ Sadly, it is all too easy to get probabilities the wrong way round,
+ when you may get a warning like this:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting">Message from thrown exception was:
    Error in function boost::math::find_scale&lt;Dist, Policy&gt;(complement(double, double, double, Policy)):
    Computed scale (-0.48043523852179076) is &lt;= 0! Was the complement intended?
 </pre>
 <p>
- The default error handling policy is to throw an exception with this
- message, but if you chose a policy to ignore the error, the (impossible)
- negative scale is quietly returned.
- </p>
+ </p>
+<p>
+ The default error handling policy is to throw an exception with this
+ message, but if you chose a policy to ignore the error, the (impossible)
+ negative scale is quietly returned.
+ </p>
 <p>
               See find_scale_example.cpp
- for full source code: the program output looks like this:
- </p>
+ for full source code: the program output looks like this:
+</p>
 <pre class="programlisting">Example: Find scale (standard deviation).
 Normal distribution with mean = 0, standard deviation 1, has fraction &lt;= -2, p = 0.0227501
 Normal distribution with mean = 0, standard deviation 1, has fraction &gt; -2, p = 0.97725
@@ -223,6 +286,8 @@
 Normal distribution with mean = 0.946339 has fraction &lt;= -2 = 0.001
 Normal distribution with mean = 0.946339 has fraction &gt; -2 = 0.999
 </pre>
+<p>
+ </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
 <td align="left"></td>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nag_library.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nag_library.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nag_library.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,7 +24,7 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.nag_library"></a><a class="link" href="nag_library.html" title="Comparison with C, R, FORTRAN-style Free Functions">Comparison
+<a name="math_toolkit.dist.stat_tut.weg.nag_library"></a><a class="link" href="nag_library.html" title="Comparison with C, R, FORTRAN-style Free Functions"> Comparison
           with C, R, FORTRAN-style Free Functions</a>
 </h5></div></div></div>
 <p>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nccs_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nccs_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nccs_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,11 +24,11 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.nccs_eg"></a><a class="link" href="nccs_eg.html" title="Non Central Chi Squared Example">Non Central
+<a name="math_toolkit.dist.stat_tut.weg.nccs_eg"></a><a class="link" href="nccs_eg.html" title="Non Central Chi Squared Example"> Non Central
           Chi Squared Example</a>
 </h5></div></div></div>
-<div class="toc"><dl><dt><span class="section"><a href="nccs_eg/nccs_power_eg.html">Tables
- of the power function of the &#967;<sup>2</sup> test.</a></span></dt></dl></div>
+<div class="toc"><dl><dt><span class="section"><a href="nccs_eg/nccs_power_eg.html">
+ Tables of the power function of the &#967;<sup>2</sup> test.</a></span></dt></dl></div>
 <p>
             (See also the reference documentation for the <a class="link" href="../../dist_ref/dists/nc_chi_squared_dist.html" title="Noncentral Chi-Squared Distribution">Noncentral
             Chi Squared Distribution</a>.)

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nccs_eg/nccs_power_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nccs_eg/nccs_power_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nccs_eg/nccs_power_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,23 +24,29 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.nccs_eg.nccs_power_eg"></a><a class="link" href="nccs_power_eg.html" title="Tables of the power function of the &#967;2 test.">Tables
- of the power function of the &#967;<sup>2</sup> test.</a>
+<a name="math_toolkit.dist.stat_tut.weg.nccs_eg.nccs_power_eg"></a><a class="link" href="nccs_power_eg.html" title="Tables of the power function of the &#967;2 test.">
+ Tables of the power function of the &#967;<sup>2</sup> test.</a>
 </h6></div></div></div>
 <p>
- This example computes a table of the power of the &#967;<sup>2</sup>
-test at the 5% significance
- level, for various degrees of freedom and non-centrality parameters.
- The table is deliberately the same as Table 6 from "The Non-Central
- &#967;<sup>2</sup> and F-Distributions and their applications.", P. B. Patnaik,
- Biometrika, Vol. 36, No. 1/2 (June 1949), 202-232.
- </p>
+ </p>
 <p>
- First we need some includes to access the non-central chi squared distribution
- (and some basic std output of course).
- </p>
+ This example computes a table of the power of the &#967;<sup>2</sup>
+test at the 5%
+ significance level, for various degrees of freedom and non-centrality
+ parameters. The table is deliberately the same as Table 6 from "The
+ Non-Central &#967;<sup>2</sup> and F-Distributions and their applications.", P.
+ B. Patnaik, Biometrika, Vol. 36, No. 1/2 (June 1949), 202-232.
+ </p>
+<p>
+ </p>
+<p>
+ First we need some includes to access the non-central chi squared
+ distribution (and some basic std output of course).
+ </p>
+<p>
+ </p>
 <p>
-
+
 </p>
 <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">non_central_chi_squared</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
 <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">chi_squared</span><span class="special">;</span>
@@ -53,13 +59,17 @@
 <span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
 <span class="special">{</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Create a table of the power of the &#967;<sup>2</sup> test at 5% significance level,
- start with a table header:
- </p>
+ </p>
+<p>
+ Create a table of the power of the &#967;<sup>2</sup> test at 5% significance level,
+ start with a table header:
+ </p>
+<p>
+ </p>
 <p>
-
+
 </p>
 <pre class="programlisting"><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"[table\n[[[nu]]"</span><span class="special">;</span>
 <span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">lam</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="identifier">lam</span> <span class="special">&lt;=</span> <span class="number">20</span><span class="special">;</span> <span class="identifier">lam</span> <span class="special">+=</span> <span class="number">2</span><span class="special">)</span>
@@ -68,16 +78,22 @@
 <span class="special">}</span>
 <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"]\n"</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- (Note: the enclosing [] brackets are to format as a table in Boost.Quickbook).
- </p>
+ </p>
 <p>
- Enumerate the rows and columns and print the power of the test for
- each table cell:
- </p>
+ (Note: the enclosing [] brackets are to format as a table in Boost.Quickbook).
+ </p>
+<p>
+ </p>
+<p>
+ Enumerate the rows and columns and print the power of the test for
+ each table cell:
+ </p>
 <p>
-
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">n</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="identifier">n</span> <span class="special">&lt;=</span> <span class="number">20</span><span class="special">;</span> <span class="special">++</span><span class="identifier">n</span><span class="special">)</span>
 <span class="special">{</span>
@@ -85,31 +101,43 @@
    <span class="keyword">for</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">lam</span> <span class="special">=</span> <span class="number">2</span><span class="special">;</span> <span class="identifier">lam</span> <span class="special">&lt;=</span> <span class="number">20</span><span class="special">;</span> <span class="identifier">lam</span> <span class="special">+=</span> <span class="number">2</span><span class="special">)</span>
    <span class="special">{</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Calculate the &#967;<sup>2</sup> statistic for a 5% significance:
- </p>
+ </p>
+<p>
+ Calculate the &#967;<sup>2</sup> statistic for a 5% significance:
+ </p>
 <p>
-
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">cs</span> <span class="special">=</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">chi_squared</span><span class="special">(</span><span class="identifier">n</span><span class="special">),</span> <span class="number">0.05</span><span class="special">));</span></pre>
 <p>
- </p>
+ </p>
 <p>
- The power of the test is given by the complement of the CDF of the
- non-central &#967;<sup>2</sup> distribution:
- </p>
+ </p>
+<p>
+ The power of the test is given by the complement of the CDF of the
+ non-central &#967;<sup>2</sup> distribution:
+ </p>
+<p>
+ </p>
 <p>
-
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">beta</span> <span class="special">=</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">non_central_chi_squared</span><span class="special">(</span><span class="identifier">n</span><span class="special">,</span> <span class="identifier">lam</span><span class="special">),</span> <span class="identifier">cs</span><span class="special">));</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Then output the cell value:
- </p>
+ </p>
+<p>
+ Then output the cell value:
+ </p>
+<p>
+ </p>
 <p>
-
+
 </p>
 <pre class="programlisting"> <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"["</span> <span class="special">&lt;&lt;</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="number">3</span><span class="special">)</span> <span class="special">&lt;&lt;</span> <span class="identifier">beta</span> <span class="special">&lt;&lt;</span> <span class="string">"]"</span><span class="special">;</span>
       <span class="special">}</span>
@@ -118,18 +146,24 @@
    <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"]"</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="special">}</span></pre>
 <p>
- </p>
+ </p>
 <p>
- The output from this program is a table in Boost.Quickbook format as
- shown below.
- </p>
+ </p>
 <p>
- We can interpret this as follows - for example if &#957;=10 and &#955;=10 then
- the power of the test is 0.542 - so we have only a 54% chance of correctly
- detecting that our null hypothesis is false, and a 46% chance of incurring
- a type II error (failing to reject the null hypothesis when it is in
- fact false):
- </p>
+ The output from this program is a table in Boost.Quickbook format
+ as shown below.
+ </p>
+<p>
+ </p>
+<p>
+ We can interpret this as follows - for example if &#957;=10 and &#955;=10 then
+ the power of the test is 0.542 - so we have only a 54% chance of
+ correctly detecting that our null hypothesis is false, and a 46%
+ chance of incurring a type II error (failing to reject the null hypothesis
+ when it is in fact false):
+ </p>
+<p>
+ </p>
 <div class="informaltable"><table class="table">
 <colgroup>
 <col>
@@ -146,1150 +180,1154 @@
 </colgroup>
 <thead><tr>
 <th>
- <p>
- &#957;
- </p>
- </th>
+ <p>
+ &#957;
+ </p>
+ </th>
 <th>
- <p>
- &#955;=2
- </p>
- </th>
+ <p>
+ &#955;=2
+ </p>
+ </th>
 <th>
- <p>
- &#955;=4
- </p>
- </th>
+ <p>
+ &#955;=4
+ </p>
+ </th>
 <th>
- <p>
- &#955;=6
- </p>
- </th>
+ <p>
+ &#955;=6
+ </p>
+ </th>
 <th>
- <p>
- &#955;=8
- </p>
- </th>
+ <p>
+ &#955;=8
+ </p>
+ </th>
 <th>
- <p>
- &#955;=10
- </p>
- </th>
+ <p>
+ &#955;=10
+ </p>
+ </th>
 <th>
- <p>
- &#955;=12
- </p>
- </th>
+ <p>
+ &#955;=12
+ </p>
+ </th>
 <th>
- <p>
- &#955;=14
- </p>
- </th>
+ <p>
+ &#955;=14
+ </p>
+ </th>
 <th>
- <p>
- &#955;=16
- </p>
- </th>
+ <p>
+ &#955;=16
+ </p>
+ </th>
 <th>
- <p>
- &#955;=18
- </p>
- </th>
+ <p>
+ &#955;=18
+ </p>
+ </th>
 <th>
- <p>
- &#955;=20
- </p>
- </th>
+ <p>
+ &#955;=20
+ </p>
+ </th>
 </tr></thead>
 <tbody>
 <tr>
 <td>
- <p>
- 2
- </p>
- </td>
-<td>
- <p>
- 0.226
- </p>
- </td>
-<td>
- <p>
- 0.415
- </p>
- </td>
-<td>
- <p>
- 0.584
- </p>
- </td>
-<td>
- <p>
- 0.718
- </p>
- </td>
-<td>
- <p>
- 0.815
- </p>
- </td>
-<td>
- <p>
- 0.883
- </p>
- </td>
-<td>
- <p>
- 0.928
- </p>
- </td>
-<td>
- <p>
- 0.957
- </p>
- </td>
-<td>
- <p>
- 0.974
- </p>
- </td>
-<td>
- <p>
- 0.985
- </p>
- </td>
+ <p>
+ 2
+ </p>
+ </td>
+<td>
+ <p>
+ 0.226
+ </p>
+ </td>
+<td>
+ <p>
+ 0.415
+ </p>
+ </td>
+<td>
+ <p>
+ 0.584
+ </p>
+ </td>
+<td>
+ <p>
+ 0.718
+ </p>
+ </td>
+<td>
+ <p>
+ 0.815
+ </p>
+ </td>
+<td>
+ <p>
+ 0.883
+ </p>
+ </td>
+<td>
+ <p>
+ 0.928
+ </p>
+ </td>
+<td>
+ <p>
+ 0.957
+ </p>
+ </td>
+<td>
+ <p>
+ 0.974
+ </p>
+ </td>
+<td>
+ <p>
+ 0.985
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 3
- </p>
- </td>
-<td>
- <p>
- 0.192
- </p>
- </td>
-<td>
- <p>
- 0.359
- </p>
- </td>
-<td>
- <p>
- 0.518
- </p>
- </td>
-<td>
- <p>
- 0.654
- </p>
- </td>
-<td>
- <p>
- 0.761
- </p>
- </td>
-<td>
- <p>
- 0.84
- </p>
- </td>
-<td>
- <p>
- 0.896
- </p>
- </td>
-<td>
- <p>
- 0.934
- </p>
- </td>
-<td>
- <p>
- 0.959
- </p>
- </td>
-<td>
- <p>
- 0.975
- </p>
- </td>
+ <p>
+ 3
+ </p>
+ </td>
+<td>
+ <p>
+ 0.192
+ </p>
+ </td>
+<td>
+ <p>
+ 0.359
+ </p>
+ </td>
+<td>
+ <p>
+ 0.518
+ </p>
+ </td>
+<td>
+ <p>
+ 0.654
+ </p>
+ </td>
+<td>
+ <p>
+ 0.761
+ </p>
+ </td>
+<td>
+ <p>
+ 0.84
+ </p>
+ </td>
+<td>
+ <p>
+ 0.896
+ </p>
+ </td>
+<td>
+ <p>
+ 0.934
+ </p>
+ </td>
+<td>
+ <p>
+ 0.959
+ </p>
+ </td>
+<td>
+ <p>
+ 0.975
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 4
- </p>
- </td>
-<td>
- <p>
- 0.171
- </p>
- </td>
-<td>
- <p>
- 0.32
- </p>
- </td>
-<td>
- <p>
- 0.47
- </p>
- </td>
-<td>
- <p>
- 0.605
- </p>
- </td>
-<td>
- <p>
- 0.716
- </p>
- </td>
-<td>
- <p>
- 0.802
- </p>
- </td>
-<td>
- <p>
- 0.866
- </p>
- </td>
-<td>
- <p>
- 0.912
- </p>
- </td>
-<td>
- <p>
- 0.943
- </p>
- </td>
-<td>
- <p>
- 0.964
- </p>
- </td>
+ <p>
+ 4
+ </p>
+ </td>
+<td>
+ <p>
+ 0.171
+ </p>
+ </td>
+<td>
+ <p>
+ 0.32
+ </p>
+ </td>
+<td>
+ <p>
+ 0.47
+ </p>
+ </td>
+<td>
+ <p>
+ 0.605
+ </p>
+ </td>
+<td>
+ <p>
+ 0.716
+ </p>
+ </td>
+<td>
+ <p>
+ 0.802
+ </p>
+ </td>
+<td>
+ <p>
+ 0.866
+ </p>
+ </td>
+<td>
+ <p>
+ 0.912
+ </p>
+ </td>
+<td>
+ <p>
+ 0.943
+ </p>
+ </td>
+<td>
+ <p>
+ 0.964
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 5
- </p>
- </td>
-<td>
- <p>
- 0.157
- </p>
- </td>
-<td>
- <p>
- 0.292
- </p>
- </td>
-<td>
- <p>
- 0.433
- </p>
- </td>
-<td>
- <p>
- 0.564
- </p>
- </td>
-<td>
- <p>
- 0.677
- </p>
- </td>
-<td>
- <p>
- 0.769
- </p>
- </td>
-<td>
- <p>
- 0.839
- </p>
- </td>
-<td>
- <p>
- 0.89
- </p>
- </td>
-<td>
- <p>
- 0.927
- </p>
- </td>
-<td>
- <p>
- 0.952
- </p>
- </td>
+ <p>
+ 5
+ </p>
+ </td>
+<td>
+ <p>
+ 0.157
+ </p>
+ </td>
+<td>
+ <p>
+ 0.292
+ </p>
+ </td>
+<td>
+ <p>
+ 0.433
+ </p>
+ </td>
+<td>
+ <p>
+ 0.564
+ </p>
+ </td>
+<td>
+ <p>
+ 0.677
+ </p>
+ </td>
+<td>
+ <p>
+ 0.769
+ </p>
+ </td>
+<td>
+ <p>
+ 0.839
+ </p>
+ </td>
+<td>
+ <p>
+ 0.89
+ </p>
+ </td>
+<td>
+ <p>
+ 0.927
+ </p>
+ </td>
+<td>
+ <p>
+ 0.952
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 6
- </p>
- </td>
-<td>
- <p>
- 0.146
- </p>
- </td>
-<td>
- <p>
- 0.27
- </p>
- </td>
-<td>
- <p>
- 0.403
- </p>
- </td>
-<td>
- <p>
- 0.531
- </p>
- </td>
-<td>
- <p>
- 0.644
- </p>
- </td>
-<td>
- <p>
- 0.738
- </p>
- </td>
-<td>
- <p>
- 0.813
- </p>
- </td>
-<td>
- <p>
- 0.869
- </p>
- </td>
-<td>
- <p>
- 0.911
- </p>
- </td>
-<td>
- <p>
- 0.94
- </p>
- </td>
+ <p>
+ 6
+ </p>
+ </td>
+<td>
+ <p>
+ 0.146
+ </p>
+ </td>
+<td>
+ <p>
+ 0.27
+ </p>
+ </td>
+<td>
+ <p>
+ 0.403
+ </p>
+ </td>
+<td>
+ <p>
+ 0.531
+ </p>
+ </td>
+<td>
+ <p>
+ 0.644
+ </p>
+ </td>
+<td>
+ <p>
+ 0.738
+ </p>
+ </td>
+<td>
+ <p>
+ 0.813
+ </p>
+ </td>
+<td>
+ <p>
+ 0.869
+ </p>
+ </td>
+<td>
+ <p>
+ 0.911
+ </p>
+ </td>
+<td>
+ <p>
+ 0.94
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 7
- </p>
- </td>
-<td>
- <p>
- 0.138
- </p>
- </td>
-<td>
- <p>
- 0.252
- </p>
- </td>
-<td>
- <p>
- 0.378
- </p>
- </td>
-<td>
- <p>
- 0.502
- </p>
- </td>
-<td>
- <p>
- 0.614
- </p>
- </td>
-<td>
- <p>
- 0.71
- </p>
- </td>
-<td>
- <p>
- 0.788
- </p>
- </td>
-<td>
- <p>
- 0.849
- </p>
- </td>
-<td>
- <p>
- 0.895
- </p>
- </td>
-<td>
- <p>
- 0.928
- </p>
- </td>
+ <p>
+ 7
+ </p>
+ </td>
+<td>
+ <p>
+ 0.138
+ </p>
+ </td>
+<td>
+ <p>
+ 0.252
+ </p>
+ </td>
+<td>
+ <p>
+ 0.378
+ </p>
+ </td>
+<td>
+ <p>
+ 0.502
+ </p>
+ </td>
+<td>
+ <p>
+ 0.614
+ </p>
+ </td>
+<td>
+ <p>
+ 0.71
+ </p>
+ </td>
+<td>
+ <p>
+ 0.788
+ </p>
+ </td>
+<td>
+ <p>
+ 0.849
+ </p>
+ </td>
+<td>
+ <p>
+ 0.895
+ </p>
+ </td>
+<td>
+ <p>
+ 0.928
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 8
- </p>
- </td>
-<td>
- <p>
- 0.131
- </p>
- </td>
-<td>
- <p>
- 0.238
- </p>
- </td>
-<td>
- <p>
- 0.357
- </p>
- </td>
-<td>
- <p>
- 0.477
- </p>
- </td>
-<td>
- <p>
- 0.588
- </p>
- </td>
-<td>
- <p>
- 0.685
- </p>
- </td>
-<td>
- <p>
- 0.765
- </p>
- </td>
-<td>
- <p>
- 0.829
- </p>
- </td>
-<td>
- <p>
- 0.879
- </p>
- </td>
-<td>
- <p>
- 0.915
- </p>
- </td>
+ <p>
+ 8
+ </p>
+ </td>
+<td>
+ <p>
+ 0.131
+ </p>
+ </td>
+<td>
+ <p>
+ 0.238
+ </p>
+ </td>
+<td>
+ <p>
+ 0.357
+ </p>
+ </td>
+<td>
+ <p>
+ 0.477
+ </p>
+ </td>
+<td>
+ <p>
+ 0.588
+ </p>
+ </td>
+<td>
+ <p>
+ 0.685
+ </p>
+ </td>
+<td>
+ <p>
+ 0.765
+ </p>
+ </td>
+<td>
+ <p>
+ 0.829
+ </p>
+ </td>
+<td>
+ <p>
+ 0.879
+ </p>
+ </td>
+<td>
+ <p>
+ 0.915
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 9
- </p>
- </td>
-<td>
- <p>
- 0.125
- </p>
- </td>
-<td>
- <p>
- 0.225
- </p>
- </td>
-<td>
- <p>
- 0.339
- </p>
- </td>
-<td>
- <p>
- 0.454
- </p>
- </td>
-<td>
- <p>
- 0.564
- </p>
- </td>
-<td>
- <p>
- 0.661
- </p>
- </td>
-<td>
- <p>
- 0.744
- </p>
- </td>
-<td>
- <p>
- 0.811
- </p>
- </td>
-<td>
- <p>
- 0.863
- </p>
- </td>
-<td>
- <p>
- 0.903
- </p>
- </td>
+ <p>
+ 9
+ </p>
+ </td>
+<td>
+ <p>
+ 0.125
+ </p>
+ </td>
+<td>
+ <p>
+ 0.225
+ </p>
+ </td>
+<td>
+ <p>
+ 0.339
+ </p>
+ </td>
+<td>
+ <p>
+ 0.454
+ </p>
+ </td>
+<td>
+ <p>
+ 0.564
+ </p>
+ </td>
+<td>
+ <p>
+ 0.661
+ </p>
+ </td>
+<td>
+ <p>
+ 0.744
+ </p>
+ </td>
+<td>
+ <p>
+ 0.811
+ </p>
+ </td>
+<td>
+ <p>
+ 0.863
+ </p>
+ </td>
+<td>
+ <p>
+ 0.903
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 10
- </p>
- </td>
-<td>
- <p>
- 0.121
- </p>
- </td>
-<td>
- <p>
- 0.215
- </p>
- </td>
-<td>
- <p>
- 0.323
- </p>
- </td>
-<td>
- <p>
- 0.435
- </p>
- </td>
-<td>
- <p>
- 0.542
- </p>
- </td>
-<td>
- <p>
- 0.64
- </p>
- </td>
-<td>
- <p>
- 0.723
- </p>
- </td>
-<td>
- <p>
- 0.793
- </p>
- </td>
-<td>
- <p>
- 0.848
- </p>
- </td>
-<td>
- <p>
- 0.891
- </p>
- </td>
+ <p>
+ 10
+ </p>
+ </td>
+<td>
+ <p>
+ 0.121
+ </p>
+ </td>
+<td>
+ <p>
+ 0.215
+ </p>
+ </td>
+<td>
+ <p>
+ 0.323
+ </p>
+ </td>
+<td>
+ <p>
+ 0.435
+ </p>
+ </td>
+<td>
+ <p>
+ 0.542
+ </p>
+ </td>
+<td>
+ <p>
+ 0.64
+ </p>
+ </td>
+<td>
+ <p>
+ 0.723
+ </p>
+ </td>
+<td>
+ <p>
+ 0.793
+ </p>
+ </td>
+<td>
+ <p>
+ 0.848
+ </p>
+ </td>
+<td>
+ <p>
+ 0.891
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 11
- </p>
- </td>
-<td>
- <p>
- 0.117
- </p>
- </td>
-<td>
- <p>
- 0.206
- </p>
- </td>
-<td>
- <p>
- 0.309
- </p>
- </td>
-<td>
- <p>
- 0.417
- </p>
- </td>
-<td>
- <p>
- 0.523
- </p>
- </td>
-<td>
- <p>
- 0.62
- </p>
- </td>
-<td>
- <p>
- 0.704
- </p>
- </td>
-<td>
- <p>
- 0.775
- </p>
- </td>
-<td>
- <p>
- 0.833
- </p>
- </td>
-<td>
- <p>
- 0.878
- </p>
- </td>
+ <p>
+ 11
+ </p>
+ </td>
+<td>
+ <p>
+ 0.117
+ </p>
+ </td>
+<td>
+ <p>
+ 0.206
+ </p>
+ </td>
+<td>
+ <p>
+ 0.309
+ </p>
+ </td>
+<td>
+ <p>
+ 0.417
+ </p>
+ </td>
+<td>
+ <p>
+ 0.523
+ </p>
+ </td>
+<td>
+ <p>
+ 0.62
+ </p>
+ </td>
+<td>
+ <p>
+ 0.704
+ </p>
+ </td>
+<td>
+ <p>
+ 0.775
+ </p>
+ </td>
+<td>
+ <p>
+ 0.833
+ </p>
+ </td>
+<td>
+ <p>
+ 0.878
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 12
- </p>
- </td>
-<td>
- <p>
- 0.113
- </p>
- </td>
-<td>
- <p>
- 0.198
- </p>
- </td>
-<td>
- <p>
- 0.297
- </p>
- </td>
-<td>
- <p>
- 0.402
- </p>
- </td>
-<td>
- <p>
- 0.505
- </p>
- </td>
-<td>
- <p>
- 0.601
- </p>
- </td>
-<td>
- <p>
- 0.686
- </p>
- </td>
-<td>
- <p>
- 0.759
- </p>
- </td>
-<td>
- <p>
- 0.818
- </p>
- </td>
-<td>
- <p>
- 0.866
- </p>
- </td>
+ <p>
+ 12
+ </p>
+ </td>
+<td>
+ <p>
+ 0.113
+ </p>
+ </td>
+<td>
+ <p>
+ 0.198
+ </p>
+ </td>
+<td>
+ <p>
+ 0.297
+ </p>
+ </td>
+<td>
+ <p>
+ 0.402
+ </p>
+ </td>
+<td>
+ <p>
+ 0.505
+ </p>
+ </td>
+<td>
+ <p>
+ 0.601
+ </p>
+ </td>
+<td>
+ <p>
+ 0.686
+ </p>
+ </td>
+<td>
+ <p>
+ 0.759
+ </p>
+ </td>
+<td>
+ <p>
+ 0.818
+ </p>
+ </td>
+<td>
+ <p>
+ 0.866
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 13
- </p>
- </td>
-<td>
- <p>
- 0.11
- </p>
- </td>
-<td>
- <p>
- 0.191
- </p>
- </td>
-<td>
- <p>
- 0.286
- </p>
- </td>
-<td>
- <p>
- 0.387
- </p>
- </td>
-<td>
- <p>
- 0.488
- </p>
- </td>
-<td>
- <p>
- 0.584
- </p>
- </td>
-<td>
- <p>
- 0.669
- </p>
- </td>
-<td>
- <p>
- 0.743
- </p>
- </td>
-<td>
- <p>
- 0.804
- </p>
- </td>
-<td>
- <p>
- 0.854
- </p>
- </td>
+ <p>
+ 13
+ </p>
+ </td>
+<td>
+ <p>
+ 0.11
+ </p>
+ </td>
+<td>
+ <p>
+ 0.191
+ </p>
+ </td>
+<td>
+ <p>
+ 0.286
+ </p>
+ </td>
+<td>
+ <p>
+ 0.387
+ </p>
+ </td>
+<td>
+ <p>
+ 0.488
+ </p>
+ </td>
+<td>
+ <p>
+ 0.584
+ </p>
+ </td>
+<td>
+ <p>
+ 0.669
+ </p>
+ </td>
+<td>
+ <p>
+ 0.743
+ </p>
+ </td>
+<td>
+ <p>
+ 0.804
+ </p>
+ </td>
+<td>
+ <p>
+ 0.854
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 14
- </p>
- </td>
-<td>
- <p>
- 0.108
- </p>
- </td>
-<td>
- <p>
- 0.185
- </p>
- </td>
-<td>
- <p>
- 0.276
- </p>
- </td>
-<td>
- <p>
- 0.374
- </p>
- </td>
-<td>
- <p>
- 0.473
- </p>
- </td>
-<td>
- <p>
- 0.567
- </p>
- </td>
-<td>
- <p>
- 0.653
- </p>
- </td>
-<td>
- <p>
- 0.728
- </p>
- </td>
-<td>
- <p>
- 0.791
- </p>
- </td>
-<td>
- <p>
- 0.842
- </p>
- </td>
+ <p>
+ 14
+ </p>
+ </td>
+<td>
+ <p>
+ 0.108
+ </p>
+ </td>
+<td>
+ <p>
+ 0.185
+ </p>
+ </td>
+<td>
+ <p>
+ 0.276
+ </p>
+ </td>
+<td>
+ <p>
+ 0.374
+ </p>
+ </td>
+<td>
+ <p>
+ 0.473
+ </p>
+ </td>
+<td>
+ <p>
+ 0.567
+ </p>
+ </td>
+<td>
+ <p>
+ 0.653
+ </p>
+ </td>
+<td>
+ <p>
+ 0.728
+ </p>
+ </td>
+<td>
+ <p>
+ 0.791
+ </p>
+ </td>
+<td>
+ <p>
+ 0.842
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 15
- </p>
- </td>
-<td>
- <p>
- 0.105
- </p>
- </td>
-<td>
- <p>
- 0.179
- </p>
- </td>
-<td>
- <p>
- 0.267
- </p>
- </td>
-<td>
- <p>
- 0.362
- </p>
- </td>
-<td>
- <p>
- 0.459
- </p>
- </td>
-<td>
- <p>
- 0.552
- </p>
- </td>
-<td>
- <p>
- 0.638
- </p>
- </td>
-<td>
- <p>
- 0.713
- </p>
- </td>
-<td>
- <p>
- 0.777
- </p>
- </td>
-<td>
- <p>
- 0.83
- </p>
- </td>
+ <p>
+ 15
+ </p>
+ </td>
+<td>
+ <p>
+ 0.105
+ </p>
+ </td>
+<td>
+ <p>
+ 0.179
+ </p>
+ </td>
+<td>
+ <p>
+ 0.267
+ </p>
+ </td>
+<td>
+ <p>
+ 0.362
+ </p>
+ </td>
+<td>
+ <p>
+ 0.459
+ </p>
+ </td>
+<td>
+ <p>
+ 0.552
+ </p>
+ </td>
+<td>
+ <p>
+ 0.638
+ </p>
+ </td>
+<td>
+ <p>
+ 0.713
+ </p>
+ </td>
+<td>
+ <p>
+ 0.777
+ </p>
+ </td>
+<td>
+ <p>
+ 0.83
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 16
- </p>
- </td>
-<td>
- <p>
- 0.103
- </p>
- </td>
-<td>
- <p>
- 0.174
- </p>
- </td>
-<td>
- <p>
- 0.259
- </p>
- </td>
-<td>
- <p>
- 0.351
- </p>
- </td>
-<td>
- <p>
- 0.446
- </p>
- </td>
-<td>
- <p>
- 0.538
- </p>
- </td>
-<td>
- <p>
- 0.623
- </p>
- </td>
-<td>
- <p>
- 0.699
- </p>
- </td>
-<td>
- <p>
- 0.764
- </p>
- </td>
-<td>
- <p>
- 0.819
- </p>
- </td>
+ <p>
+ 16
+ </p>
+ </td>
+<td>
+ <p>
+ 0.103
+ </p>
+ </td>
+<td>
+ <p>
+ 0.174
+ </p>
+ </td>
+<td>
+ <p>
+ 0.259
+ </p>
+ </td>
+<td>
+ <p>
+ 0.351
+ </p>
+ </td>
+<td>
+ <p>
+ 0.446
+ </p>
+ </td>
+<td>
+ <p>
+ 0.538
+ </p>
+ </td>
+<td>
+ <p>
+ 0.623
+ </p>
+ </td>
+<td>
+ <p>
+ 0.699
+ </p>
+ </td>
+<td>
+ <p>
+ 0.764
+ </p>
+ </td>
+<td>
+ <p>
+ 0.819
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 17
- </p>
- </td>
-<td>
- <p>
- 0.101
- </p>
- </td>
-<td>
- <p>
- 0.169
- </p>
- </td>
-<td>
- <p>
- 0.251
- </p>
- </td>
-<td>
- <p>
- 0.341
- </p>
- </td>
-<td>
- <p>
- 0.434
- </p>
- </td>
-<td>
- <p>
- 0.525
- </p>
- </td>
-<td>
- <p>
- 0.609
- </p>
- </td>
-<td>
- <p>
- 0.686
- </p>
- </td>
-<td>
- <p>
- 0.752
- </p>
- </td>
-<td>
- <p>
- 0.807
- </p>
- </td>
+ <p>
+ 17
+ </p>
+ </td>
+<td>
+ <p>
+ 0.101
+ </p>
+ </td>
+<td>
+ <p>
+ 0.169
+ </p>
+ </td>
+<td>
+ <p>
+ 0.251
+ </p>
+ </td>
+<td>
+ <p>
+ 0.341
+ </p>
+ </td>
+<td>
+ <p>
+ 0.434
+ </p>
+ </td>
+<td>
+ <p>
+ 0.525
+ </p>
+ </td>
+<td>
+ <p>
+ 0.609
+ </p>
+ </td>
+<td>
+ <p>
+ 0.686
+ </p>
+ </td>
+<td>
+ <p>
+ 0.752
+ </p>
+ </td>
+<td>
+ <p>
+ 0.807
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 18
- </p>
- </td>
-<td>
- <p>
- 0.0992
- </p>
- </td>
-<td>
- <p>
- 0.165
- </p>
- </td>
-<td>
- <p>
- 0.244
- </p>
- </td>
-<td>
- <p>
- 0.332
- </p>
- </td>
-<td>
- <p>
- 0.423
- </p>
- </td>
-<td>
- <p>
- 0.512
- </p>
- </td>
-<td>
- <p>
- 0.596
- </p>
- </td>
-<td>
- <p>
- 0.673
- </p>
- </td>
-<td>
- <p>
- 0.74
- </p>
- </td>
-<td>
- <p>
- 0.796
- </p>
- </td>
+ <p>
+ 18
+ </p>
+ </td>
+<td>
+ <p>
+ 0.0992
+ </p>
+ </td>
+<td>
+ <p>
+ 0.165
+ </p>
+ </td>
+<td>
+ <p>
+ 0.244
+ </p>
+ </td>
+<td>
+ <p>
+ 0.332
+ </p>
+ </td>
+<td>
+ <p>
+ 0.423
+ </p>
+ </td>
+<td>
+ <p>
+ 0.512
+ </p>
+ </td>
+<td>
+ <p>
+ 0.596
+ </p>
+ </td>
+<td>
+ <p>
+ 0.673
+ </p>
+ </td>
+<td>
+ <p>
+ 0.74
+ </p>
+ </td>
+<td>
+ <p>
+ 0.796
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 19
- </p>
- </td>
-<td>
- <p>
- 0.0976
- </p>
- </td>
-<td>
- <p>
- 0.161
- </p>
- </td>
-<td>
- <p>
- 0.238
- </p>
- </td>
-<td>
- <p>
- 0.323
- </p>
- </td>
-<td>
- <p>
- 0.412
- </p>
- </td>
-<td>
- <p>
- 0.5
- </p>
- </td>
-<td>
- <p>
- 0.584
- </p>
- </td>
-<td>
- <p>
- 0.66
- </p>
- </td>
-<td>
- <p>
- 0.728
- </p>
- </td>
-<td>
- <p>
- 0.786
- </p>
- </td>
+ <p>
+ 19
+ </p>
+ </td>
+<td>
+ <p>
+ 0.0976
+ </p>
+ </td>
+<td>
+ <p>
+ 0.161
+ </p>
+ </td>
+<td>
+ <p>
+ 0.238
+ </p>
+ </td>
+<td>
+ <p>
+ 0.323
+ </p>
+ </td>
+<td>
+ <p>
+ 0.412
+ </p>
+ </td>
+<td>
+ <p>
+ 0.5
+ </p>
+ </td>
+<td>
+ <p>
+ 0.584
+ </p>
+ </td>
+<td>
+ <p>
+ 0.66
+ </p>
+ </td>
+<td>
+ <p>
+ 0.728
+ </p>
+ </td>
+<td>
+ <p>
+ 0.786
+ </p>
+ </td>
 </tr>
 <tr>
 <td>
- <p>
- 20
- </p>
- </td>
-<td>
- <p>
- 0.0961
- </p>
- </td>
-<td>
- <p>
- 0.158
- </p>
- </td>
-<td>
- <p>
- 0.232
- </p>
- </td>
-<td>
- <p>
- 0.315
- </p>
- </td>
-<td>
- <p>
- 0.402
- </p>
- </td>
-<td>
- <p>
- 0.489
- </p>
- </td>
-<td>
- <p>
- 0.572
- </p>
- </td>
-<td>
- <p>
- 0.648
- </p>
- </td>
-<td>
- <p>
- 0.716
- </p>
- </td>
-<td>
- <p>
- 0.775
- </p>
- </td>
+ <p>
+ 20
+ </p>
+ </td>
+<td>
+ <p>
+ 0.0961
+ </p>
+ </td>
+<td>
+ <p>
+ 0.158
+ </p>
+ </td>
+<td>
+ <p>
+ 0.232
+ </p>
+ </td>
+<td>
+ <p>
+ 0.315
+ </p>
+ </td>
+<td>
+ <p>
+ 0.402
+ </p>
+ </td>
+<td>
+ <p>
+ 0.489
+ </p>
+ </td>
+<td>
+ <p>
+ 0.572
+ </p>
+ </td>
+<td>
+ <p>
+ 0.648
+ </p>
+ </td>
+<td>
+ <p>
+ 0.716
+ </p>
+ </td>
+<td>
+ <p>
+ 0.775
+ </p>
+ </td>
 </tr>
 </tbody>
 </table></div>
 <p>
- See nc_chi_sq_example.cpp
- for the full C++ source code.
+ </p>
+<p>
+ See nc_chi_sq_example.cpp
+ for the full C++ source code.
+ </p>
+<p>
             </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,19 +24,19 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.neg_binom_eg"></a><a class="link" href="neg_binom_eg.html" title="Negative Binomial Distribution Examples">Negative
+<a name="math_toolkit.dist.stat_tut.weg.neg_binom_eg"></a><a class="link" href="neg_binom_eg.html" title="Negative Binomial Distribution Examples"> Negative
           Binomial Distribution Examples</a>
 </h5></div></div></div>
 <div class="toc"><dl>
-<dt><span class="section"><a href="neg_binom_eg/neg_binom_conf.html">Calculating
- Confidence Limits on the Frequency of Occurrence for the Negative Binomial
- Distribution</a></span></dt>
-<dt><span class="section"><a href="neg_binom_eg/neg_binom_size_eg.html">Estimating
- Sample Sizes for the Negative Binomial.</a></span></dt>
-<dt><span class="section"><a href="neg_binom_eg/negative_binomial_example1.html">Negative
- Binomial Sales Quota Example.</a></span></dt>
-<dt><span class="section"><a href="neg_binom_eg/negative_binomial_example2.html">Negative
- Binomial Table Printing Example.</a></span></dt>
+<dt><span class="section"><a href="neg_binom_eg/neg_binom_conf.html">
+ Calculating Confidence Limits on the Frequency of Occurrence for the
+ Negative Binomial Distribution</a></span></dt>
+<dt><span class="section"><a href="neg_binom_eg/neg_binom_size_eg.html">
+ Estimating Sample Sizes for the Negative Binomial.</a></span></dt>
+<dt><span class="section"><a href="neg_binom_eg/negative_binomial_example1.html">
+ Negative Binomial Sales Quota Example.</a></span></dt>
+<dt><span class="section"><a href="neg_binom_eg/negative_binomial_example2.html">
+ Negative Binomial Table Printing Example.</a></span></dt>
 </dl></div>
 <p>
             (See also the reference documentation for the <a class="link" href="../../dist_ref/dists/negative_binomial_dist.html" title="Negative Binomial Distribution">Negative

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/neg_binom_conf.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/neg_binom_conf.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/neg_binom_conf.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,9 +24,9 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.neg_binom_eg.neg_binom_conf"></a><a class="link" href="neg_binom_conf.html" title="Calculating Confidence Limits on the Frequency of Occurrence for the Negative Binomial Distribution">Calculating
- Confidence Limits on the Frequency of Occurrence for the Negative Binomial
- Distribution</a>
+<a name="math_toolkit.dist.stat_tut.weg.neg_binom_eg.neg_binom_conf"></a><a class="link" href="neg_binom_conf.html" title="Calculating Confidence Limits on the Frequency of Occurrence for the Negative Binomial Distribution">
+ Calculating Confidence Limits on the Frequency of Occurrence for the
+ Negative Binomial Distribution</a>
 </h6></div></div></div>
 <p>
               Imagine you have a process that follows a negative binomial distribution:
@@ -55,11 +55,15 @@
               illustrates their use.
             </p>
 <p>
- First we need some includes to access the negative binomial distribution
- (and some basic std output of course).
- </p>
+ </p>
+<p>
+ First we need some includes to access the negative binomial distribution
+ (and some basic std output of course).
+ </p>
+<p>
+ </p>
 <p>
-
+
 </p>
 <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">distributions</span><span class="special">/</span><span class="identifier">negative_binomial</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
 <span class="keyword">using</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">negative_binomial</span><span class="special">;</span>
@@ -70,28 +74,39 @@
 <span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">setprecision</span><span class="special">;</span>
 <span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">setw</span><span class="special">;</span> <span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">left</span><span class="special">;</span> <span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">fixed</span><span class="special">;</span> <span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">right</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- First define a table of significance levels: these are the probabilities
- that the true occurrence frequency lies outside the calculated interval:
- </p>
+ </p>
+<p>
+ First define a table of significance levels: these are the probabilities
+ that the true occurrence frequency lies outside the calculated interval:
+ </p>
 <p>
-
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">alpha</span><span class="special">[]</span> <span class="special">=</span> <span class="special">{</span> <span class="number">0.5</span><span class="special">,</span> <span class="number">0.25</span><span class="special">,</span> <span class="number">0.1</span><span class="special">,</span> <span class="number">0.05</span><span class="special">,</span> <span class="number">0.01</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.0001</span><span class="special">,</span> <span class="number">0.00001</span> <span class="special">};</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Confidence value as % is (1 - alpha) * 100, so alpha 0.05 == 95% confidence
- that the true occurence frequency lies <span class="bold"><strong>inside</strong></span>
- the calculated interval.
- </p>
+ </p>
 <p>
- We need a function to calculate and print confidence limits for an
- observed frequency of occurrence that follows a negative binomial distribution.
- </p>
+ Confidence value as % is (1 - alpha) * 100, so alpha 0.05 == 95%
+ confidence that the true occurence frequency lies <span class="bold"><strong>inside</strong></span>
+ the calculated interval.
+ </p>
+<p>
+ </p>
 <p>
-
+ We need a function to calculate and print confidence limits for an
+ observed frequency of occurrence that follows a negative binomial
+ distribution.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">void</span> <span class="identifier">confidence_limits_on_frequency</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">trials</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">successes</span><span class="special">)</span>
 <span class="special">{</span>
@@ -117,21 +132,25 @@
            <span class="string">" Value (%) Limit Limit\n"</span>
            <span class="string">"___________________________________________\n"</span><span class="special">;</span></pre>
 <p>
- </p>
+ </p>
 <p>
- And now for the important part - the bounds themselves. For each value
- of <span class="emphasis"><em>alpha</em></span>, we call <code class="computeroutput"><span class="identifier">find_lower_bound_on_p</span></code>
- and <code class="computeroutput"><span class="identifier">find_upper_bound_on_p</span></code>
- to obtain lower and upper bounds respectively. Note that since we are
- calculating a two-sided interval, we must divide the value of alpha
- in two. Had we been calculating a single-sided interval, for example:
- <span class="emphasis"><em>"Calculate a lower bound so that we are P% sure that
- the true occurrence frequency is greater than some value"</em></span>
- then we would <span class="bold"><strong>not</strong></span> have divided by
- two.
- </p>
+ </p>
+<p>
+ And now for the important part - the bounds themselves. For each
+ value of <span class="emphasis"><em>alpha</em></span>, we call <code class="computeroutput"><span class="identifier">find_lower_bound_on_p</span></code>
+ and <code class="computeroutput"><span class="identifier">find_upper_bound_on_p</span></code>
+ to obtain lower and upper bounds respectively. Note that since we
+ are calculating a two-sided interval, we must divide the value of
+ alpha in two. Had we been calculating a single-sided interval, for
+ example: <span class="emphasis"><em>"Calculate a lower bound so that we are P%
+ sure that the true occurrence frequency is greater than some value"</em></span>
+ then we would <span class="bold"><strong>not</strong></span> have divided by
+ two.
+ </p>
+<p>
+ </p>
 <p>
-
+
 </p>
 <pre class="programlisting"> <span class="comment">// Now print out the upper and lower limits for the alpha table values.
 </span> <span class="keyword">for</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">i</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="identifier">i</span> <span class="special">&lt;</span> <span class="keyword">sizeof</span><span class="special">(</span><span class="identifier">alpha</span><span class="special">)/</span><span class="keyword">sizeof</span><span class="special">(</span><span class="identifier">alpha</span><span class="special">[</span><span class="number">0</span><span class="special">]);</span> <span class="special">++</span><span class="identifier">i</span><span class="special">)</span>
@@ -148,13 +167,17 @@
    <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="special">}</span> <span class="comment">// void confidence_limits_on_frequency(unsigned trials, unsigned successes)</span></pre>
 <p>
- </p>
+ </p>
 <p>
- And then call confidence_limits_on_frequency with increasing numbers
- of trials, but always the same success fraction 0.1, or 1 in 10.
- </p>
+ </p>
+<p>
+ And then call confidence_limits_on_frequency with increasing numbers
+ of trials, but always the same success fraction 0.1, or 1 in 10.
+ </p>
 <p>
-
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
 <span class="special">{</span>
@@ -167,7 +190,7 @@
 </span>
 </pre>
 <p>
- </p>
+ </p>
 <p>
               Let's see some sample output for a 1 in 10 success ratio, first for
               a mere 20 trials:

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/neg_binom_size_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/neg_binom_size_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/neg_binom_size_eg.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.neg_binom_eg.neg_binom_size_eg"></a><a class="link" href="neg_binom_size_eg.html" title="Estimating Sample Sizes for the Negative Binomial.">Estimating
- Sample Sizes for the Negative Binomial.</a>
+<a name="math_toolkit.dist.stat_tut.weg.neg_binom_eg.neg_binom_size_eg"></a><a class="link" href="neg_binom_size_eg.html" title="Estimating Sample Sizes for the Negative Binomial.">
+ Estimating Sample Sizes for the Negative Binomial.</a>
 </h6></div></div></div>
 <p>
               Imagine you have an event (let's call it a "failure" - though
@@ -43,45 +43,64 @@
               demonstrates its usage.
             </p>
 <p>
- It centres around a routine that prints out a table of minimum sample
- sizes (number of trials) for various probability thresholds:
- </p>
+ </p>
 <p>
-
+ It centres around a routine that prints out a table of minimum sample
+ sizes (number of trials) for various probability thresholds:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">void</span> <span class="identifier">find_number_of_trials</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">failures</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">p</span><span class="special">);</span></pre>
 <p>
- </p>
+ </p>
 <p>
- First define a table of significance levels: these are the maximum
- acceptable probability that <span class="emphasis"><em>failure</em></span> or fewer events
- will be observed.
- </p>
+ </p>
 <p>
-
+ First define a table of significance levels: these are the maximum
+ acceptable probability that <span class="emphasis"><em>failure</em></span> or fewer
+ events will be observed.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">double</span> <span class="identifier">alpha</span><span class="special">[]</span> <span class="special">=</span> <span class="special">{</span> <span class="number">0.5</span><span class="special">,</span> <span class="number">0.25</span><span class="special">,</span> <span class="number">0.1</span><span class="special">,</span> <span class="number">0.05</span><span class="special">,</span> <span class="number">0.01</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.0001</span><span class="special">,</span> <span class="number">0.00001</span> <span class="special">};</span></pre>
 <p>
- </p>
+ </p>
 <p>
- Confidence value as % is (1 - alpha) * 100, so alpha 0.05 == 95% confidence
- that the desired number of failures will be observed. The values range
- from a very low 0.5 or 50% confidence up to an extremely high confidence
- of 99.999.
- </p>
+ </p>
 <p>
- Much of the rest of the program is pretty-printing, the important part
- is in the calculation of minimum number of trials required for each
- value of alpha using:
- </p>
+ Confidence value as % is (1 - alpha) * 100, so alpha 0.05 == 95%
+ confidence that the desired number of failures will be observed.
+ The values range from a very low 0.5 or 50% confidence up to an extremely
+ high confidence of 99.999.
+ </p>
+<p>
+ </p>
+<p>
+ Much of the rest of the program is pretty-printing, the important
+ part is in the calculation of minimum number of trials required for
+ each value of alpha using:
+ </p>
+<p>
+
+</p>
 <pre class="programlisting"><span class="special">(</span><span class="keyword">int</span><span class="special">)</span><span class="identifier">ceil</span><span class="special">(</span><span class="identifier">negative_binomial</span><span class="special">::</span><span class="identifier">find_minimum_number_of_trials</span><span class="special">(</span><span class="identifier">failures</span><span class="special">,</span> <span class="identifier">p</span><span class="special">,</span> <span class="identifier">alpha</span><span class="special">[</span><span class="identifier">i</span><span class="special">]);</span>
 </pre>
 <p>
- find_minimum_number_of_trials returns a double, so <code class="computeroutput"><span class="identifier">ceil</span></code>
- rounds this up to ensure we have an integral minimum number of trials.
- </p>
+ </p>
 <p>
-
+ find_minimum_number_of_trials returns a double, so <code class="computeroutput"><span class="identifier">ceil</span></code> rounds this up to ensure we
+ have an integral minimum number of trials.
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting">
 <span class="keyword">void</span> <span class="identifier">find_number_of_trials</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">failures</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">p</span><span class="special">)</span>
@@ -112,13 +131,17 @@
    <span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="identifier">endl</span><span class="special">;</span>
 <span class="special">}</span> <span class="comment">// void find_number_of_trials(double failures, double p)</span></pre>
 <p>
- </p>
+ </p>
 <p>
- finally we can produce some tables of minimum trials for the chosen
- confidence levels:
- </p>
+ </p>
 <p>
-
+ finally we can produce some tables of minimum trials for the chosen
+ confidence levels:
+ </p>
+<p>
+ </p>
+<p>
+
 </p>
 <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
 <span class="special">{</span>
@@ -134,6 +157,8 @@
 </span>
 </pre>
 <p>
+ </p>
+<p>
             </p>
 <div class="note"><table border="0" summary="Note">
 <tr>

Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/negative_binomial_example1.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/negative_binomial_example1.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/negative_binomial_example1.html 2010-12-14 14:22:52 EST (Tue, 14 Dec 2010)
@@ -24,8 +24,8 @@
 </div>
 <div class="section" lang="en">
 <div class="titlepage"><div><div><h6 class="title">
-<a name="math_toolkit.dist.stat_tut.weg.neg_binom_eg.negative_binomial_example1"></a><a class="link" href="negative_binomial_example1.html" title="Negative Binomial Sales Quota Example.">Negative
- Binomial Sales Quota Example.</a>
+<a name="math_toolkit.dist.stat_tut.weg.neg_binom_eg.negative_binomial_example1"></a><a class="link" href="negative_binomial_example1.html" title="Negative Binomial Sales Quota Example.">
+ Negative Binomial Sales Quota Example.</a>
 </h6></div></div></div>
 <p>
               This example program <a href="../../../../../../../../example/negative_binomial_example1.cpp" target="_top">negative_binomial_example1.cpp
@@ -33,69 +33,92 @@
               of meeting a sales quota.
             </p>
 <p>
- Based on <a href="http://en.wikipedia.org/wiki/Negative_binomial_distribution" target="_top">a
- problem by Dr. Diane Evans, Professor of Mathematics at Rose-Hulman
- Institute of Technology</a>.
- </p>
-<p>
- Pat is required to sell candy bars to raise money for the 6th grade
- field trip. There are thirty houses in the neighborhood, and Pat is
- not supposed to return home until five candy bars have been sold. So
- the child goes door to door, selling candy bars. At each house, there
- is a 0.4 probability (40%) of selling one candy bar and a 0.6 probability
- (60%) of selling nothing.
- </p>
-<p>
- What is the probability mass (density) function (pdf) for selling the
- last (fifth) candy bar at the nth house?
- </p>
-<p>
- The Negative Binomial(r, p) distribution describes the probability
- of k failures and r successes in k+r Bernoulli(p) trials with success
- on the last trial. (A <a href="http://en.wikipedia.org/wiki/Bernoulli_distribution" target="_top">Bernoulli
- trial</a> is one with only two possible outcomes, success of failure,
- and p is the probability of success). See also <a href="../../../../../" target="_top">http://en.wikipedia.org/wiki/Bernoulli_distribution
- Bernoulli distribution</a> and <a href="http://www.math.uah.edu/stat/bernoulli/Introduction.xhtml" target="_top">Bernoulli
- applications</a>.
- </p>
+ </p>
 <p>
- In this example, we will deliberately produce a variety of calculations
- and outputs to demonstrate the ways that the negative binomial distribution
- can be implemented with this library: it is also deliberately over-commented.
- </p>
+ Based on <a href="http://en.wikipedia.org/wiki/Negative_binomial_distribution" target="_top">a
+ problem by Dr. Diane Evans, Professor of Mathematics at Rose-Hulman
+ Institute of Technology</a>.
+ </p>
+<p>
+ </p>
+<p>
+ Pat is required to sell candy bars to raise money for the 6th grade
+ field trip. There are thirty houses in the neighborhood, and Pat
+ is not supposed to return home until five candy bars have been sold.
+ So the child goes door to door, selling candy bars. At each house,
+ there is a 0.4 probability (40%) of selling one candy bar and a 0.6
+ probability (60%) of selling nothing.
+ </p>
+<p>
+ </p>
+<p>
+ What is the probability mass (density) function (pdf) for selling
+ the last (fifth) candy bar at the nth house?
+ </p>
+<p>
+ </p>
+<p>
+ The Negative Binomial(r, p) distribution describes the probability
+ of k failures and r successes in k+r Bernoulli(p) trials with success
+ on the last trial. (A <a href=&q