|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76092 - in trunk: boost/math/special_functions libs/math/doc/sf_and_dist libs/math/doc/sf_and_dist/equations libs/math/doc/sf_and_dist/html libs/math/doc/sf_and_dist/html/index 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/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/pol_ref libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial 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/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/fp_facets 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/test
From: john_at_[hidden]
Date: 2011-12-21 11:08:00
Author: johnmaddock
Date: 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
New Revision: 76092
URL: http://svn.boost.org/trac/boost/changeset/76092
Log:
Update zeta implementation to use much faster algorithm.
Change zeta test to use external template instances.
Added:
trunk/libs/math/doc/sf_and_dist/equations/zeta6.mml (contents, props changed)
trunk/libs/math/doc/sf_and_dist/equations/zeta6.png (contents, props changed)
trunk/libs/math/doc/sf_and_dist/equations/zeta6.svg (contents, props changed)
trunk/libs/math/test/double_test_instances.cpp (contents, props changed)
trunk/libs/math/test/float_test_instances.cpp (contents, props changed)
trunk/libs/math/test/ldouble_test_instances.cpp (contents, props changed)
trunk/libs/math/test/real_concept_test_instances.cpp (contents, props changed)
Binary files modified:
trunk/libs/math/doc/sf_and_dist/equations/zeta1.png
trunk/libs/math/doc/sf_and_dist/equations/zeta1.svg
trunk/libs/math/doc/sf_and_dist/equations/zeta2.png
trunk/libs/math/doc/sf_and_dist/equations/zeta2.svg
trunk/libs/math/doc/sf_and_dist/equations/zeta3.svg
trunk/libs/math/doc/sf_and_dist/equations/zeta4.svg
trunk/libs/math/doc/sf_and_dist/equations/zeta5.svg
Text files modified:
trunk/boost/math/special_functions/zeta.hpp | 51 ++++++++
trunk/libs/math/doc/sf_and_dist/html/index.html | 4
trunk/libs/math/doc/sf_and_dist/html/index/s12.html | 2
trunk/libs/math/doc/sf_and_dist/html/index/s13.html | 2
trunk/libs/math/doc/sf_and_dist/html/index/s14.html | 2
trunk/libs/math/doc/sf_and_dist/html/index/s15.html | 2
trunk/libs/math/doc/sf_and_dist/html/index/s16.html | 2
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/implementation.html | 90 +++++++-------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/lanczos.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/refs.html | 19 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/relative_error.html | 6
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/backgrounders/remez.html | 56 ++++----
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dist_algorithms.html | 22 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/bernoulli_dist.html | 37 ++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/beta_dist.html | 75 ++++++------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/binomial_dist.html | 98 +++++++--------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/cauchy_dist.html | 35 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/chi_squared_dist.html | 41 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/exp_dist.html | 33 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/extreme_dist.html | 27 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/f_dist.html | 41 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/gamma_dist.html | 33 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/geometric_dist.html | 92 +++++++-------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/hypergeometric_dist.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_chi_squared_dist.html | 43 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_gamma_dist.html | 33 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/inverse_gaussian_dist.html | 42 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/laplace_dist.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/logistic_dist.html | 35 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/lognormal_dist.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_beta_dist.html | 35 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_chi_squared_dist.html | 43 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_f_dist.html | 35 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/nc_t_dist.html | 35 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/negative_binomial_dist.html | 91 +++++++-------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/normal_dist.html | 33 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/pareto.html | 37 ++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/poisson_dist.html | 33 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/rayleigh.html | 43 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/students_t_dist.html | 43 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/triangular_dist.html | 35 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/uniform_dist.html | 35 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/weibull_dist.html | 43 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/nmp.html | 162 +++++++++++++-------------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/future.html | 28 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binom_conf.html | 4
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binomial_coinflip_example.html | 14 --
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/binom_eg/binomial_quiz_example.html | 42 +-----
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/dist_construct_eg.html | 21 --
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/error_eg.html | 2
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_location_eg.html | 29 +---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_mean_and_sd_eg.html | 41 +-----
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/find_eg/find_scale_eg.html | 31 +---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/geometric_eg.html | 65 +++-------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/inverse_chi_squared_eg.html | 42 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/nccs_eg/nccs_power_eg.html | 6
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/neg_binom_conf.html | 5
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/neg_binom_size_eg.html | 8
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/negative_binomial_example1.html | 88 +++++---------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/negative_binomial_example2.html | 130 ++++++++++----------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/normal_example/normal_misc.html | 101 ++++++----------
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 | 2
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_test.html | 2
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/two_sample_students_t.html | 2
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/c99.html | 13 +
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/tr1.html | 33 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/tr1_ref.html | 21 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/building.html | 18 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/directories.html | 12
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/error_handling.html | 72 +++++-----
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/history1.html | 96 +++++++-------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/intro.html | 18 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/navigation.html | 6
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/tr1.html | 32 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf/comparisons.html | 66 +++++-----
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 | 58 ++++-----
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/error_handling_policies.html | 52 ++++----
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/internal_promotion.html | 12 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/namespace_pol.html | 4
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/pol_ref_ref.html | 17 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/policy_defaults.html | 96 +++++++-------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/precision_pol.html | 5
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/ad_hoc_dist_policies.html | 1
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/ad_hoc_sf_policies.html | 20 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/changing_policy_defaults.html | 5
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/namespace_policies.html | 21 --
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/understand_dis_quant.html | 69 +++++-----
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/user_def_err_pol.html | 19 ---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/bessel.html | 30 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/bessel_over.html | 18 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/mbessel.html | 30 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/sph_bessel.html | 30 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_1.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_2.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_3.html | 35 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_carlson.html | 34 ++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_intro.html | 36 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/expint/expint_i.html | 35 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/expint/expint_n.html | 31 ++--
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 | 20 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_factorial.html | 32 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_falling_factorial.html | 19 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_rising_factorial.html | 19 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/acosh.html | 23 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/asinh.html | 23 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/atanh.html | 23 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/cbrt.html | 13 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/ct_pow.html | 43 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/expm1.html | 13 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/hypot.html | 6
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/log1p.html | 13 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/powm1.html | 13 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/sqrt1pm1.html | 13 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/beta_derivative.html | 27 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/beta_function.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/ibeta_function.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/ibeta_inv_function.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf/error_function.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf/error_inv.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/digamma.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/gamma_derivatives.html | 27 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/gamma_ratios.html | 29 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/igamma.html | 37 ++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/igamma_inv.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/lgamma.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/tgamma.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/hermite.html | 33 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/laguerre.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/legendre.html | 31 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/sph_harm.html | 35 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc/sinc_pi.html | 9
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc/sinhc_pi.html | 9
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/zetas/zeta.html | 41 ++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/history1.html | 96 +++++++-------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/issues.html | 60 +++++----
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/cf.html | 47 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/constants.html | 13 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/minima.html | 19 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/rational.html | 19 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/roots.html | 41 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/roots2.html | 241 +++++++++++++++++++--------------------
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/series_evaluation.html | 23 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/tuples.html | 13 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/error_test.html | 25 +--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/polynomials.html | 17 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/test_data.html | 62 +++++-----
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/archetypes.html | 32 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/concepts.html | 12
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets.html | 12
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/examples.html | 28 +--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/intro.html | 34 ++--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/reference.html | 42 +++---
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fpclass.html | 22 +-
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_advance.html | 13 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_distance.html | 13 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_next.html | 13 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_prior.html | 13 -
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/nextafter.html | 24 +--
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/modf.html | 1
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/round.html | 1
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/trunc.html | 1
trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/sign_functions.html | 36 ++--
trunk/libs/math/doc/sf_and_dist/zeta.qbk | 10 -
trunk/libs/math/test/Jamfile.v2 | 5
trunk/libs/math/test/pch.hpp | 7
trunk/libs/math/test/test_zeta.cpp | 3
trunk/libs/math/test/test_zeta.hpp | 2
171 files changed, 2552 insertions(+), 2860 deletions(-)
Modified: trunk/boost/math/special_functions/zeta.hpp
==============================================================================
--- trunk/boost/math/special_functions/zeta.hpp (original)
+++ trunk/boost/math/special_functions/zeta.hpp 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -89,6 +89,13 @@
return sum * 1 / -boost::math::powm1(T(2), sc);
}
+
+#if 0
+//
+// This code is commented out because we have a better more rapidly converging series
+// now. Retained for future reference and in case the new code causes any issues down the line....
+//
+
//
// Classical p-series:
//
@@ -119,12 +126,53 @@
policies::check_series_iterations<T>("boost::math::zeta_series2<%1%>(%1%)", max_iter, pol);
return result;
}
+#endif
+
+template <class T, class Policy>
+T zeta_polynomial_series(T s, T sc, Policy const &)
+{
+ //
+ // This is algorithm 3 from:
+ //
+ // "An Efficient Algorithm for the Riemann Zeta Function", P. Borwein,
+ // Canadian Mathematical Society, Conference Proceedings.
+ // See: http://www.cecm.sfu.ca/personal/pborwein/PAPERS/P155.pdf
+ //
+ BOOST_MATH_STD_USING
+ int n = itrunc(log(boost::math::tools::epsilon<T>()) / -2);
+ T sum = 0;
+ T two_n = ldexp(T(1), n);
+ int ej_sign = 1;
+ for(int j = 0; j < n; ++j)
+ {
+ sum += ej_sign * -two_n / pow(T(j + 1), s);
+ ej_sign = -ej_sign;
+ }
+ T ej_sum = 1;
+ T ej_term = 1;
+ for(int j = n; j <= 2 * n - 1; ++j)
+ {
+ sum += ej_sign * (ej_sum - two_n) / pow(T(j + 1), s);
+ ej_sign = -ej_sign;
+ ej_term *= 2 * n - j;
+ ej_term /= j - n + 1;
+ ej_sum += ej_term;
+ }
+ return -sum / (two_n * (1 - pow(T(2), sc)));
+}
template <class T, class Policy>
T zeta_imp_prec(T s, T sc, const Policy& pol, const mpl::int_<0>&)
{
BOOST_MATH_STD_USING
- T result;
+ T result;
+ if(fabs(sc) > 0.01f)
+ result = zeta_polynomial_series(s, sc, pol);
+ else
+ result = detail::zeta_series_imp(s, sc, pol);
+#if 0
+ // Old code archived for future reference:
+
//
// Only use power series if it will converge in 100
// iterations or less: the more iterations it consumes
@@ -135,6 +183,7 @@
result = detail::zeta_series2_imp(s, pol);
else
result = detail::zeta_series_imp(s, sc, pol);
+#endif
return result;
}
Modified: trunk/libs/math/doc/sf_and_dist/equations/zeta1.png
==============================================================================
Binary files. No diff available.
Modified: trunk/libs/math/doc/sf_and_dist/equations/zeta1.svg
==============================================================================
Binary files. No diff available.
Modified: trunk/libs/math/doc/sf_and_dist/equations/zeta2.png
==============================================================================
Binary files. No diff available.
Modified: trunk/libs/math/doc/sf_and_dist/equations/zeta2.svg
==============================================================================
Binary files. No diff available.
Modified: trunk/libs/math/doc/sf_and_dist/equations/zeta3.svg
==============================================================================
Binary files. No diff available.
Modified: trunk/libs/math/doc/sf_and_dist/equations/zeta4.svg
==============================================================================
Binary files. No diff available.
Modified: trunk/libs/math/doc/sf_and_dist/equations/zeta5.svg
==============================================================================
Binary files. No diff available.
Added: trunk/libs/math/doc/sf_and_dist/equations/zeta6.mml
==============================================================================
--- (empty file)
+++ trunk/libs/math/doc/sf_and_dist/equations/zeta6.mml 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -0,0 +1,185 @@
+<?xml version='1.0'?>
+<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN'
+ 'http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd'
+ [<!ENTITY mathml 'http://www.w3.org/1998/Math/MathML'>]>
+<html xmlns='http://www.w3.org/1999/xhtml'>
+<head><title>zeta6</title>
+<!-- MathML created with MathCast Equation Editor version 0.89 -->
+</head>
+<body>
+<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
+ <mrow>
+ <mi>ζ</mi>
+ <mfenced>
+ <mrow>
+ <mi>s</mi>
+ </mrow>
+ </mfenced>
+ <mspace width="1em"/>
+ <mo>=</mo>
+ <mspace width="1em"/>
+ <mfrac>
+ <mrow>
+ <mo>−</mo>
+ <mn>1</mn>
+ </mrow>
+ <mrow>
+ <msup>
+ <mi>s</mi>
+ <mi>n</mi>
+ </msup>
+ <mfenced>
+ <mrow>
+ <mn>1</mn>
+ <mo>−</mo>
+ <msup>
+ <mn>2</mn>
+ <mrow>
+ <mn>1</mn>
+ <mo>−</mo>
+ <mi>s</mi>
+ </mrow>
+ </msup>
+ </mrow>
+ </mfenced>
+ </mrow>
+ </mfrac>
+ <munderover>
+ <mo>∑</mo>
+ <mrow>
+ <mi>j</mi>
+ <mo>=</mo>
+ <mn>0</mn>
+ </mrow>
+ <mrow>
+ <mn>2</mn>
+ <mi>n</mi>
+ <mo>−</mo>
+ <mn>1</mn>
+ </mrow>
+ </munderover>
+ <mfrac>
+ <mrow>
+ <msub>
+ <mi>e</mi>
+ <mi>j</mi>
+ </msub>
+ </mrow>
+ <msup>
+ <mfenced>
+ <mrow>
+ <mi>j</mi>
+ <mo>+</mo>
+ <mn>1</mn>
+ </mrow>
+ </mfenced>
+ <mi>s</mi>
+ </msup>
+ </mfrac>
+ <mspace width="1em"/>
+ <mo>+</mo>
+ <mspace width="1em"/>
+ <mi>γ</mi>
+ <mfenced>
+ <mrow>
+ <mi>s</mi>
+ </mrow>
+ </mfenced>
+ <mspace width="1em"/>
+ <mo>;</mo>
+ <mspace width="1em"/>
+ <msub>
+ <mi>e</mi>
+ <mi>j</mi>
+ </msub>
+ <mo>=</mo>
+ <msup>
+ <mfenced>
+ <mrow>
+ <mo>−</mo>
+ <mn>1</mn>
+ </mrow>
+ </mfenced>
+ <mi>j</mi>
+ </msup>
+ <mfenced>
+ <mrow>
+ <munderover>
+ <mo>∑</mo>
+ <mrow>
+ <mi>k</mi>
+ <mo>=</mo>
+ <mn>0</mn>
+ </mrow>
+ <mrow>
+ <mi>j</mi>
+ <mo>−</mo>
+ <mi>n</mi>
+ </mrow>
+ </munderover>
+ <mfrac>
+ <mrow>
+ <mi>n</mi>
+ <mo>!</mo>
+ </mrow>
+ <mrow>
+ <mi>k</mi>
+ <mo>!</mo>
+ <mfenced>
+ <mrow>
+ <mi>n</mi>
+ <mo>−</mo>
+ <mi>k</mi>
+ </mrow>
+ </mfenced>
+ <mo>!</mo>
+ </mrow>
+ </mfrac>
+ <mo>−</mo>
+ <msup>
+ <mn>2</mn>
+ <mi>n</mi>
+ </msup>
+ </mrow>
+ </mfenced>
+ <mspace width="1em"/>
+ <mo>∧</mo>
+ <mspace width="1em"/>
+ <mo>|</mo>
+ <msub>
+ <mi>γ</mi>
+ <mi>n</mi>
+ </msub>
+ <mfenced>
+ <mrow>
+ <mi>s</mi>
+ </mrow>
+ </mfenced>
+ <mo>|</mo>
+ <mo><</mo>
+ <mo>=</mo>
+ <mfrac>
+ <mn>1</mn>
+ <mrow>
+ <msup>
+ <mn>8</mn>
+ <mi>n</mi>
+ </msup>
+ <mo>|</mo>
+ <mn>1</mn>
+ <mo>−</mo>
+ <msup>
+ <mn>2</mn>
+ <mrow>
+ <mn>1</mn>
+ <mo>−</mo>
+ <mi>s</mi>
+ </mrow>
+ </msup>
+ <mo>|</mo>
+ </mrow>
+ </mfrac>
+ </mrow>
+</math>
+</body>
+</html>
Added: trunk/libs/math/doc/sf_and_dist/equations/zeta6.png
==============================================================================
Binary file. No diff available.
Added: trunk/libs/math/doc/sf_and_dist/equations/zeta6.svg
==============================================================================
Binary file. No diff available.
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -52,7 +52,7 @@
<div><p class="copyright">Copyright © 2006-2010 John Maddock, Paul A. Bristow, Hubert Holin, Xiaogang Zhang, Bruno
Lalande, Johan Råde, Gautam Sewani and Thijs van den Berg</p></div>
<div><div class="legalnotice">
-<a name="id1029870"></a><p>
+<a name="math_toolkit.legal"></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>
@@ -513,7 +513,7 @@
</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: October 13, 2011 at 15:53:36 GMT</small></p></td>
+<td align="left"><p><small>Last revised: December 21, 2011 at 15:35:10 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/index/s12.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index/s12.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index/s12.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -24,7 +24,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="id1479273"></a>Function Index</h2></div></div></div>
+<a name="id1440372"></a>Function Index</h2></div></div></div>
<p><a class="link" href="s12.html#idx_id_0">A</a> <a class="link" href="s12.html#idx_id_1">B</a> <a class="link" href="s12.html#idx_id_2">C</a> <a class="link" href="s12.html#idx_id_3">D</a> <a class="link" href="s12.html#idx_id_4">E</a> <a class="link" href="s12.html#idx_id_5">F</a> <a class="link" href="s12.html#idx_id_6">G</a> <a class="link" href="s12.html#idx_id_7">H</a> <a class="link" href="s12.html#idx_id_8">I</a> <a class="link" href="s12.html#idx_id_9">K</a> <a class="link" href="s12.html#idx_id_10">L</a> <a class="link" href="s12.html#idx_id_11">M</a> <a class="link" href="s12.html#idx_id_12">N</a> <a class="link" href="s12.html#idx_id_14">P</a> <a class="link" href="s12.html#idx_id_15">Q</a> <a class="link" href="s12.html#idx_id_16">R</a> <a class="link" href="s12.html#idx_id_17">S</a> <a class="link" href="s12.html#idx_id_18">T</a> <a class="link" href="s12.html#idx_id_19">U</a> <a class="link" href="s12.html#idx_id_20">V</a> <a class="link" href="s12.html#idx_id_21">W</a> <a class="link" href=
"s12.html#idx_id_22">Z</a></p>
<div class="variablelist"><dl>
<dt>
Modified: trunk/libs/math/doc/sf_and_dist/html/index/s13.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index/s13.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index/s13.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -24,7 +24,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="id1494760"></a>Class Index</h2></div></div></div>
+<a name="id1456422"></a>Class Index</h2></div></div></div>
<p><a class="link" href="s13.html#idx_id_24">B</a> <a class="link" href="s13.html#idx_id_25">C</a> <a class="link" href="s13.html#idx_id_26">D</a> <a class="link" href="s13.html#idx_id_27">E</a> <a class="link" href="s13.html#idx_id_28">F</a> <a class="link" href="s13.html#idx_id_29">G</a> <a class="link" href="s13.html#idx_id_30">H</a> <a class="link" href="s13.html#idx_id_31">I</a> <a class="link" href="s13.html#idx_id_33">L</a> <a class="link" href="s13.html#idx_id_34">M</a> <a class="link" href="s13.html#idx_id_35">N</a> <a class="link" href="s13.html#idx_id_37">P</a> <a class="link" href="s13.html#idx_id_39">R</a> <a class="link" href="s13.html#idx_id_40">S</a> <a class="link" href="s13.html#idx_id_41">T</a> <a class="link" href="s13.html#idx_id_42">U</a> <a class="link" href="s13.html#idx_id_44">W</a></p>
<div class="variablelist"><dl>
<dt>
Modified: trunk/libs/math/doc/sf_and_dist/html/index/s14.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index/s14.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index/s14.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -24,7 +24,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="id1497858"></a>Typedef Index</h2></div></div></div>
+<a name="id1457335"></a>Typedef Index</h2></div></div></div>
<p><a class="link" href="s14.html#idx_id_46">A</a> <a class="link" href="s14.html#idx_id_47">B</a> <a class="link" href="s14.html#idx_id_48">C</a> <a class="link" href="s14.html#idx_id_49">D</a> <a class="link" href="s14.html#idx_id_50">E</a> <a class="link" href="s14.html#idx_id_51">F</a> <a class="link" href="s14.html#idx_id_52">G</a> <a class="link" href="s14.html#idx_id_53">H</a> <a class="link" href="s14.html#idx_id_54">I</a> <a class="link" href="s14.html#idx_id_56">L</a> <a class="link" href="s14.html#idx_id_58">N</a> <a class="link" href="s14.html#idx_id_59">O</a> <a class="link" href="s14.html#idx_id_60">P</a> <a class="link" href="s14.html#idx_id_62">R</a> <a class="link" href="s14.html#idx_id_63">S</a> <a class="link" href="s14.html#idx_id_64">T</a> <a class="link" href="s14.html#idx_id_65">U</a> <a class="link" href="s14.html#idx_id_66">V</a> <a class="link" href="s14.html#idx_id_67">W</a></p>
<div class="variablelist"><dl>
<dt>
Modified: trunk/libs/math/doc/sf_and_dist/html/index/s15.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index/s15.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index/s15.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -24,7 +24,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="id1501835"></a>Macro Index</h2></div></div></div>
+<a name="id1459128"></a>Macro Index</h2></div></div></div>
<p><a class="link" href="s15.html#idx_id_70">B</a> <a class="link" href="s15.html#idx_id_74">F</a></p>
<div class="variablelist"><dl>
<dt>
Modified: trunk/libs/math/doc/sf_and_dist/html/index/s16.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/index/s16.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/index/s16.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -23,7 +23,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="id1502998"></a>Index</h2></div></div></div>
+<a name="id1461656"></a>Index</h2></div></div></div>
<p><a class="link" href="s16.html#idx_id_92">A</a> <a class="link" href="s16.html#idx_id_93">B</a> <a class="link" href="s16.html#idx_id_94">C</a> <a class="link" href="s16.html#idx_id_95">D</a> <a class="link" href="s16.html#idx_id_96">E</a> <a class="link" href="s16.html#idx_id_97">F</a> <a class="link" href="s16.html#idx_id_98">G</a> <a class="link" href="s16.html#idx_id_99">H</a> <a class="link" href="s16.html#idx_id_100">I</a> <a class="link" href="s16.html#idx_id_101">K</a> <a class="link" href="s16.html#idx_id_102">L</a> <a class="link" href="s16.html#idx_id_103">M</a> <a class="link" href="s16.html#idx_id_104">N</a> <a class="link" href="s16.html#idx_id_105">O</a> <a class="link" href="s16.html#idx_id_106">P</a> <a class="link" href="s16.html#idx_id_107">Q</a> <a class="link" href="s16.html#idx_id_108">R</a> <a class="link" href="s16.html#idx_id_109">S</a> <a class="link" href="s16.html#idx_id_110">T</a> <a class="link" href="s16.html#idx_id_111">U</a> <a class="link" href="s16.html#idx_id_112">V</a
> <a class="link" href="s16.html#idx_id_113">W</a> <a class="link" href="s16.html#idx_id_114">Z</a></p>
<div class="variablelist"><dl>
<dt>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -32,9 +32,9 @@
of each function or distribution. The notes here are of a more general nature,
and reflect more the general implementation philosophy used.
</p>
-<a name="math_toolkit.backgrounders.implementation.implemention_philosophy"></a><h5>
-<a name="math_toolkit.backgrounders.implementation.implemention_philosophy-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.implemention_philosophy">Implemention
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h0"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.implemention_philosophy"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.implemention_philosophy">Implemention
philosophy</a>
</h5>
<p>
@@ -84,9 +84,9 @@
<p>
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="math_toolkit.backgrounders.implementation.accuracy_and_representation_of_test_values-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.accuracy_and_representation_of_test_values">Accuracy
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h1"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.accuracy_and_representation_of_test_values"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.accuracy_and_representation_of_test_values">Accuracy
and Representation of Test Values</a>
</h5>
<p>
@@ -129,9 +129,9 @@
a power of two (in order to ensure that the result is an exactly representable
binary value).
</p>
-<a name="math_toolkit.backgrounders.implementation.tolerance_of_tests"></a><h5>
-<a name="math_toolkit.backgrounders.implementation.tolerance_of_tests-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.tolerance_of_tests">Tolerance
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h2"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.tolerance_of_tests"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.tolerance_of_tests">Tolerance
of Tests</a>
</h5>
<p>
@@ -155,9 +155,9 @@
fail on other systems where long double is more accurate than double. Check
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="math_toolkit.backgrounders.implementation.handling_unsuitable_arguments-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.handling_unsuitable_arguments">Handling
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h3"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.handling_unsuitable_arguments"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.handling_unsuitable_arguments">Handling
Unsuitable Arguments</a>
</h5>
<p>
@@ -223,9 +223,9 @@
done for most examples.
</p></td></tr>
</table></div>
-<a name="math_toolkit.backgrounders.implementation.handling_of_functions_that_are_not_mathematically_defined"></a><h5>
-<a name="math_toolkit.backgrounders.implementation.handling_of_functions_that_are_not_mathematically_defined-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.handling_of_functions_that_are_not_mathematically_defined">Handling
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h4"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.handling_of_functions_that_are_not_mathematically_defined"></a></span><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>
<p>
@@ -257,9 +257,9 @@
domain error occurs. Catching exceptions is therefore strongly recommended.
</p></td></tr>
</table></div>
-<a name="math_toolkit.backgrounders.implementation.median_of_distributions"></a><h5>
-<a name="math_toolkit.backgrounders.implementation.median_of_distributions-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.median_of_distributions">Median
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h5"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.median_of_distributions"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.median_of_distributions">Median
of distributions</a>
</h5>
<p>
@@ -292,9 +292,9 @@
<a href="http://documents.wolfram.com/v5/TheMathematicaBook/AdvancedMathematicsInMathematica/NumericalOperationsOnData/3.8.1.html" target="_top">Mathematica
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="math_toolkit.backgrounders.implementation.handling_of_floating_point_infinity-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.handling_of_floating_point_infinity">Handling
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h6"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.handling_of_floating_point_infinity"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.handling_of_floating_point_infinity">Handling
of Floating-Point Infinity</a>
</h5>
<p>
@@ -336,9 +336,9 @@
What happens at (and near), poles can be controlled through <a class="link" href="../policy/pol_ref/error_handling_policies.html" title="Error Handling Policies">error
handling policies</a>.
</p>
-<a name="math_toolkit.backgrounders.implementation.scale__shape_and_location"></a><h5>
-<a name="math_toolkit.backgrounders.implementation.scale__shape_and_location-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.scale__shape_and_location">Scale,
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h7"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.scale__shape_and_location"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.scale__shape_and_location">Scale,
Shape and Location</a>
</h5>
<p>
@@ -363,9 +363,9 @@
for too many distributions to be generally applicable. Because they are non-member
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="math_toolkit.backgrounders.implementation.notes_on_implementation_of_specific_functions__amp__distributions-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.notes_on_implementation_of_specific_functions__amp__distributions">Notes
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h8"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.notes_on_implementation_of_specific_functions__amp__distributions"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.notes_on_implementation_of_specific_functions__amp__distributions">Notes
on Implementation of Specific Functions & Distributions</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
@@ -375,9 +375,9 @@
as a approximation for the normal distribution, the most common usage,
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="math_toolkit.backgrounders.implementation.rational_approximations_used-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.rational_approximations_used">Rational
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h9"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.rational_approximations_used"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.rational_approximations_used">Rational
Approximations Used</a>
</h5>
<p>
@@ -418,9 +418,9 @@
still need to be accurately calculated, even if they can be in error compared
to the "true" minimax solution.
</p>
-<a name="math_toolkit.backgrounders.implementation.representation_of_mathematical_constants"></a><h5>
-<a name="math_toolkit.backgrounders.implementation.representation_of_mathematical_constants-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.representation_of_mathematical_constants">Representation
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h10"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.representation_of_mathematical_constants"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.representation_of_mathematical_constants">Representation
of Mathematical Constants</a>
</h5>
<p>
@@ -479,9 +479,9 @@
<pre class="programlisting"><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>
<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="math_toolkit.backgrounders.implementation.thread_safety-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.thread_safety">Thread
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h11"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.thread_safety"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.thread_safety">Thread
safety</a>
</h5>
<p>
@@ -504,9 +504,9 @@
next C++ std revision, so hopefully all compilers will be required to do
the right thing here at some point.
</p>
-<a name="math_toolkit.backgrounders.implementation.sources_of_test_data"></a><h5>
-<a name="math_toolkit.backgrounders.implementation.sources_of_test_data-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.sources_of_test_data">Sources
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h12"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.sources_of_test_data"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.sources_of_test_data">Sources
of Test Data</a>
</h5>
<p>
@@ -545,9 +545,9 @@
unfortunately it appears to suffer from very poor accuracy in areas where
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="math_toolkit.backgrounders.implementation.creating_and_managing_the_equations-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.creating_and_managing_the_equations">Creating
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h13"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.creating_and_managing_the_equations"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.creating_and_managing_the_equations">Creating
and Managing the Equations</a>
</h5>
<p>
@@ -730,9 +730,9 @@
MathML is not currently present in the Docbook output, or in the generated
HTML: this needs further investigation.
</p>
-<a name="math_toolkit.backgrounders.implementation.producing_graphs"></a><h5>
-<a name="math_toolkit.backgrounders.implementation.producing_graphs-heading"></a>
- <a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.producing_graphs">Producing
+<h5>
+<a name="math_toolkit.backgrounders.implementation.h14"></a>
+ <span><a name="math_toolkit.backgrounders.implementation.producing_graphs"></a></span><a class="link" href="implementation.html#math_toolkit.backgrounders.implementation.producing_graphs">Producing
Graphs</a>
</h5>
<p>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,9 +26,9 @@
<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>
</h3></div></div></div>
-<a name="math_toolkit.backgrounders.lanczos.motivation"></a><h5>
-<a name="math_toolkit.backgrounders.lanczos.motivation-heading"></a>
- <a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.motivation">Motivation</a>
+<h5>
+<a name="math_toolkit.backgrounders.lanczos.h0"></a>
+ <span><a name="math_toolkit.backgrounders.lanczos.motivation"></a></span><a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.motivation">Motivation</a>
</h5>
<p>
<span class="emphasis"><em>Why base gamma and gamma-like functions on the Lanczos approximation?</em></span>
@@ -98,10 +98,9 @@
use similar analytic combinations of power terms, to combine gamma and beta
functions divided by large powers into single (simpler) expressions.
</p>
-<a name="math_toolkit.backgrounders.lanczos.the_approximation"></a><h5>
-<a name="math_toolkit.backgrounders.lanczos.the_approximation-heading"></a>
- <a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.the_approximation">The
- Approximation</a>
+<h5>
+<a name="math_toolkit.backgrounders.lanczos.h1"></a>
+ <span><a name="math_toolkit.backgrounders.lanczos.the_approximation"></a></span><a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.the_approximation">The Approximation</a>
</h5>
<p>
The Lanczos Approximation to the Gamma Function is given by:
@@ -160,9 +159,9 @@
so take care when referring to the literature in this field.
</p></td></tr>
</table></div>
-<a name="math_toolkit.backgrounders.lanczos.computing_the_coefficients"></a><h5>
-<a name="math_toolkit.backgrounders.lanczos.computing_the_coefficients-heading"></a>
- <a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.computing_the_coefficients">Computing
+<h5>
+<a name="math_toolkit.backgrounders.lanczos.h2"></a>
+ <span><a name="math_toolkit.backgrounders.lanczos.computing_the_coefficients"></a></span><a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.computing_the_coefficients">Computing
the Coefficients</a>
</h5>
<p>
@@ -204,9 +203,9 @@
on <span class="emphasis"><em>N</em></span>, this product should be computed first, and then
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="math_toolkit.backgrounders.lanczos.choosing_the_right_parameters-heading"></a>
- <a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.choosing_the_right_parameters">Choosing
+<h5>
+<a name="math_toolkit.backgrounders.lanczos.h3"></a>
+ <span><a name="math_toolkit.backgrounders.lanczos.choosing_the_right_parameters"></a></span><a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.choosing_the_right_parameters">Choosing
the Right Parameters</a>
</h5>
<p>
@@ -534,9 +533,9 @@
an inexact value: this reduces accuracy in the common case that the input
is exact, and so isn't used for the gamma function.
</p>
-<a name="math_toolkit.backgrounders.lanczos.references"></a><h5>
-<a name="math_toolkit.backgrounders.lanczos.references-heading"></a>
- <a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.references">References</a>
+<h5>
+<a name="math_toolkit.backgrounders.lanczos.h4"></a>
+ <span><a name="math_toolkit.backgrounders.lanczos.references"></a></span><a class="link" href="lanczos.html#math_toolkit.backgrounders.lanczos.references">References</a>
</h5>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,9 +26,9 @@
<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>
</h3></div></div></div>
-<a name="math_toolkit.backgrounders.refs.general_references"></a><h5>
-<a name="math_toolkit.backgrounders.refs.general_references-heading"></a>
- <a class="link" href="refs.html#math_toolkit.backgrounders.refs.general_references">General
+<h5>
+<a name="math_toolkit.backgrounders.refs.h0"></a>
+ <span><a name="math_toolkit.backgrounders.refs.general_references"></a></span><a class="link" href="refs.html#math_toolkit.backgrounders.refs.general_references">General
references</a>
</h5>
<p>
@@ -97,9 +97,9 @@
03-0097, A Proposal to Add Mathematical Special Functions to the C++ Standard
Library (version 2), Walter E. Brown</a>
</p>
-<a name="math_toolkit.backgrounders.refs.calculators"></a><h5>
-<a name="math_toolkit.backgrounders.refs.calculators-heading"></a>
- <a class="link" href="refs.html#math_toolkit.backgrounders.refs.calculators">Calculators</a>
+<h5>
+<a name="math_toolkit.backgrounders.refs.h1"></a>
+ <span><a name="math_toolkit.backgrounders.refs.calculators"></a></span><a class="link" href="refs.html#math_toolkit.backgrounders.refs.calculators">Calculators</a>
</h5>
<p>
We found (and used to create cross-check spot values - as far as their accuracy
@@ -119,9 +119,10 @@
<a href="http://www.adsciengineering.com/bpdcalc/" target="_top">http://www.adsciengineering.com/bpdcalc/>
Binomial Probability Distribution Calculator.
</p>
-<a name="math_toolkit.backgrounders.refs.other_libraries"></a><h5>
-<a name="math_toolkit.backgrounders.refs.other_libraries-heading"></a>
- <a class="link" href="refs.html#math_toolkit.backgrounders.refs.other_libraries">Other Libraries</a>
+<h5>
+<a name="math_toolkit.backgrounders.refs.h2"></a>
+ <span><a name="math_toolkit.backgrounders.refs.other_libraries"></a></span><a class="link" href="refs.html#math_toolkit.backgrounders.refs.other_libraries">Other
+ Libraries</a>
</h5>
<p>
<a href="http://www.moshier.net/#Cephes" target="_top">Cephes library</a> by Shephen
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -77,9 +77,9 @@
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="math_toolkit.backgrounders.relative_error.the_impossibility_of_zero_error-heading"></a>
- <a class="link" href="relative_error.html#math_toolkit.backgrounders.relative_error.the_impossibility_of_zero_error">The
+<a name="zero_error"></a><h5>
+<a name="math_toolkit.backgrounders.relative_error.h0"></a>
+ <span><a name="math_toolkit.backgrounders.relative_error.the_impossibility_of_zero_error"></a></span><a class="link" href="relative_error.html#math_toolkit.backgrounders.relative_error.the_impossibility_of_zero_error">The
Impossibility of Zero Error</a>
</h5>
<p>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -93,10 +93,10 @@
<span class="emphasis"><em>Unfortunately we don't know where the extrema of the error function
are located!</em></span>
</p>
-<a name="math_toolkit.backgrounders.remez.the_remez_method"></a><h5>
-<a name="math_toolkit.backgrounders.remez.the_remez_method-heading"></a>
- <a class="link" href="remez.html#math_toolkit.backgrounders.remez.the_remez_method">The Remez
- Method</a>
+<h5>
+<a name="math_toolkit.backgrounders.remez.h0"></a>
+ <span><a name="math_toolkit.backgrounders.remez.the_remez_method"></a></span><a class="link" href="remez.html#math_toolkit.backgrounders.remez.the_remez_method">The
+ Remez Method</a>
</h5>
<p>
The Remez method is an iterative technique which, given a broad range of
@@ -173,10 +173,10 @@
</p>
</td></tr>
</table></div>
-<a name="math_toolkit.backgrounders.remez.remez_step_1"></a><h5>
-<a name="math_toolkit.backgrounders.remez.remez_step_1-heading"></a>
- <a class="link" href="remez.html#math_toolkit.backgrounders.remez.remez_step_1">Remez Step
- 1</a>
+<h5>
+<a name="math_toolkit.backgrounders.remez.h1"></a>
+ <span><a name="math_toolkit.backgrounders.remez.remez_step_1"></a></span><a class="link" href="remez.html#math_toolkit.backgrounders.remez.remez_step_1">Remez
+ Step 1</a>
</h5>
<p>
The first step in the Remez method, given our current set of N+2 Chebyshev
@@ -204,10 +204,10 @@
not located at the extrema, but the maximum relative error has now dropped
to 5.6x10<sup>-4</sup>.
</p>
-<a name="math_toolkit.backgrounders.remez.remez_step_2"></a><h5>
-<a name="math_toolkit.backgrounders.remez.remez_step_2-heading"></a>
- <a class="link" href="remez.html#math_toolkit.backgrounders.remez.remez_step_2">Remez Step
- 2</a>
+<h5>
+<a name="math_toolkit.backgrounders.remez.h2"></a>
+ <span><a name="math_toolkit.backgrounders.remez.remez_step_2"></a></span><a class="link" href="remez.html#math_toolkit.backgrounders.remez.remez_step_2">Remez
+ Step 2</a>
</h5>
<p>
The second step is to locate the extrema of the new approximation, which
@@ -233,9 +233,9 @@
<p>
In our example we perform multi-point exchange.
</p>
-<a name="math_toolkit.backgrounders.remez.iteration"></a><h5>
-<a name="math_toolkit.backgrounders.remez.iteration-heading"></a>
- <a class="link" href="remez.html#math_toolkit.backgrounders.remez.iteration">Iteration</a>
+<h5>
+<a name="math_toolkit.backgrounders.remez.h3"></a>
+ <span><a name="math_toolkit.backgrounders.remez.iteration"></a></span><a class="link" href="remez.html#math_toolkit.backgrounders.remez.iteration">Iteration</a>
</h5>
<p>
The Remez method then performs steps 1 and 2 above iteratively until the
@@ -249,9 +249,9 @@
<p>
<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="math_toolkit.backgrounders.remez.rational_approximations-heading"></a>
- <a class="link" href="remez.html#math_toolkit.backgrounders.remez.rational_approximations">Rational
+<h5>
+<a name="math_toolkit.backgrounders.remez.h4"></a>
+ <span><a name="math_toolkit.backgrounders.remez.rational_approximations"></a></span><a class="link" href="remez.html#math_toolkit.backgrounders.remez.rational_approximations">Rational
Approximations</a>
</h5>
<p>
@@ -298,9 +298,9 @@
error drops to 8.7x10<sup>-5</sup>. That's a 5 fold increase in accuracy, for the same
number of terms overall.
</p>
-<a name="math_toolkit.backgrounders.remez.practical_considerations"></a><h5>
-<a name="math_toolkit.backgrounders.remez.practical_considerations-heading"></a>
- <a class="link" href="remez.html#math_toolkit.backgrounders.remez.practical_considerations">Practical
+<h5>
+<a name="math_toolkit.backgrounders.remez.h5"></a>
+ <span><a name="math_toolkit.backgrounders.remez.practical_considerations"></a></span><a class="link" href="remez.html#math_toolkit.backgrounders.remez.practical_considerations">Practical
Considerations</a>
</h5>
<p>
@@ -406,10 +406,10 @@
It's clearly still not ideal, but it is only a few percent away from our
desired minimax solution (5x10<sup>-4</sup>).
</p>
-<a name="math_toolkit.backgrounders.remez.remez_method_checklist"></a><h5>
-<a name="math_toolkit.backgrounders.remez.remez_method_checklist-heading"></a>
- <a class="link" href="remez.html#math_toolkit.backgrounders.remez.remez_method_checklist">Remez
- Method Checklist</a>
+<h5>
+<a name="math_toolkit.backgrounders.remez.h6"></a>
+ <span><a name="math_toolkit.backgrounders.remez.remez_method_checklist"></a></span><a class="link" href="remez.html#math_toolkit.backgrounders.remez.remez_method_checklist">Remez Method
+ Checklist</a>
</h5>
<p>
The following lists some of the things to check if the Remez method goes
@@ -460,9 +460,9 @@
over, say [0, b], for some smallish value <span class="emphasis"><em>b</em></span>.
</li>
</ul></div>
-<a name="math_toolkit.backgrounders.remez.references"></a><h5>
-<a name="math_toolkit.backgrounders.remez.references-heading"></a>
- <a class="link" href="remez.html#math_toolkit.backgrounders.remez.references">References</a>
+<h5>
+<a name="math_toolkit.backgrounders.remez.h7"></a>
+ <span><a name="math_toolkit.backgrounders.remez.references"></a></span><a class="link" href="remez.html#math_toolkit.backgrounders.remez.references">References</a>
</h5>
<p>
The original references for the Remez Method and it's extension to rational
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,9 +27,9 @@
<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="math_toolkit.dist.dist_ref.dist_algorithms.finding_the_location_and_scale_for_normal_and_similar_distributions-heading"></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
+<h5>
+<a name="math_toolkit.dist.dist_ref.dist_algorithms.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dist_algorithms.finding_the_location_and_scale_for_normal_and_similar_distributions"></a></span><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>
<p>
@@ -49,13 +49,12 @@
<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="comment">// May be needed by users defining their own policies.</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="math_toolkit.dist.dist_ref.dist_algorithms.find_location_function-heading"></a>
- <a class="link" href="dist_algorithms.html#math_toolkit.dist.dist_ref.dist_algorithms.find_location_function">find_location
+<h5>
+<a name="math_toolkit.dist.dist_ref.dist_algorithms.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dist_algorithms.find_location_function"></a></span><a class="link" href="dist_algorithms.html#math_toolkit.dist.dist_ref.dist_algorithms.find_location_function">find_location
function</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">find_location</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
@@ -79,18 +78,17 @@
<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="math_toolkit.dist.dist_ref.dist_algorithms.find_scale_function-heading"></a>
- <a class="link" href="dist_algorithms.html#math_toolkit.dist.dist_ref.dist_algorithms.find_scale_function">find_scale
+<h5>
+<a name="math_toolkit.dist.dist_ref.dist_algorithms.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dist_algorithms.find_scale_function"></a></span><a class="link" href="dist_algorithms.html#math_toolkit.dist.dist_ref.dist_algorithms.find_scale_function">find_scale
function</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">find_scale</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Dist</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<span class="keyword">typename</span> <span class="identifier">Dist</span><span class="special">::</span><span class="identifier">value_type</span> <span class="identifier">find_scale</span><span class="special">(</span> <span class="comment">// For example, normal mean.</span>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,16 +28,15 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">bernoulli</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
- <span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+ <span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">bernoulli_distribution</span><span class="special">;</span>
-
+
<span class="keyword">typedef</span> <span class="identifier">bernoulli_distribution</span><span class="special"><></span> <span class="identifier">bernoulli</span><span class="special">;</span>
<span class="keyword">template</span> <span class="special"><</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">></span>
@@ -51,7 +50,7 @@
<span class="comment">// Accessor function.</span>
<span class="identifier">RealType</span> <span class="identifier">success_fraction</span><span class="special">()</span> <span class="keyword">const</span>
<span class="comment">// Probability of success (as a fraction).</span>
- <span class="special">};</span>
+ <span class="special">};</span>
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
<p>
@@ -86,9 +85,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.bernoulli_dist.member_functions-heading"></a>
- <a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.member_functions"></a></span><a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">bernoulli_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">p</span><span class="special">);</span>
@@ -102,9 +101,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.bernoulli_dist.non_member_accessors-heading"></a>
- <a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.non_member_accessors"></a></span><a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -127,17 +126,17 @@
Outside this range, functions are undefined, or may throw domain_error
exception and make an error message available.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.accuracy-heading"></a>
- <a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.accuracy"></a></span><a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.accuracy">Accuracy</a>
</h5>
<p>
The Bernoulli distribution is implemented with simple arithmetic operators
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="math_toolkit.dist.dist_ref.dists.bernoulli_dist.implementation-heading"></a>
- <a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.implementation"></a></span><a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.implementation">Implementation</a>
</h5>
<p>
In the following table <span class="emphasis"><em>p</em></span> is the probability of success
@@ -326,9 +325,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.references-heading"></a>
- <a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.bernoulli_dist.references"></a></span><a class="link" href="bernoulli_dist.html#math_toolkit.dist.dist_ref.dists.bernoulli_dist.references">References</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">beta</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
- <span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+ <span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">beta_distribution</span><span class="special">;</span>
@@ -51,28 +50,28 @@
<span class="keyword">typedef</span> <span class="identifier">Policy</span> <span class="identifier">policy_type</span><span class="special">;</span>
<span class="comment">// Constructor from two shape parameters, alpha & beta:</span>
<span class="identifier">beta_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">a</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">b</span><span class="special">);</span>
-
+
<span class="comment">// Parameter accessors:</span>
<span class="identifier">RealType</span> <span class="identifier">alpha</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
<span class="identifier">RealType</span> <span class="identifier">beta</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
-
+
<span class="comment">// Parameter estimators of alpha or beta from mean and variance.</span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_alpha</span><span class="special">(</span>
<span class="identifier">RealType</span> <span class="identifier">mean</span><span class="special">,</span> <span class="comment">// Expected value of mean.</span>
<span class="identifier">RealType</span> <span class="identifier">variance</span><span class="special">);</span> <span class="comment">// Expected value of variance.</span>
-
+
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_beta</span><span class="special">(</span>
<span class="identifier">RealType</span> <span class="identifier">mean</span><span class="special">,</span> <span class="comment">// Expected value of mean.</span>
<span class="identifier">RealType</span> <span class="identifier">variance</span><span class="special">);</span> <span class="comment">// Expected value of variance.</span>
<span class="comment">// Parameter estimators from from</span>
<span class="comment">// either alpha or beta, and x and probability.</span>
-
+
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_alpha</span><span class="special">(</span>
<span class="identifier">RealType</span> <span class="identifier">beta</span><span class="special">,</span> <span class="comment">// from beta.</span>
<span class="identifier">RealType</span> <span class="identifier">x</span><span class="special">,</span> <span class="comment">// x.</span>
<span class="identifier">RealType</span> <span class="identifier">probability</span><span class="special">);</span> <span class="comment">// cdf</span>
-
+
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_beta</span><span class="special">(</span>
<span class="identifier">RealType</span> <span class="identifier">alpha</span><span class="special">,</span> <span class="comment">// alpha.</span>
<span class="identifier">RealType</span> <span class="identifier">x</span><span class="special">,</span> <span class="comment">// probability x.</span>
@@ -131,14 +130,14 @@
β, then the shape is asymmetric and could be approximated by a triangle
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="math_toolkit.dist.dist_ref.dists.beta_dist.member_functions-heading"></a>
- <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.beta_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.beta_dist.member_functions"></a></span><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="math_toolkit.dist.dist_ref.dists.beta_dist.constructor-heading"></a>
- <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.constructor">Constructor</a>
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.beta_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.beta_dist.constructor"></a></span><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>
</pre>
@@ -163,9 +162,9 @@
Constructs a the beta distribution with alpha=2 and beta=5 (shown in
yellow in the graph above).
</p>
-<a name="math_toolkit.dist.dist_ref.dists.beta_dist.parameter_accessors"></a><h6>
-<a name="math_toolkit.dist.dist_ref.dists.beta_dist.parameter_accessors-heading"></a>
- <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.parameter_accessors">Parameter
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.beta_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.beta_dist.parameter_accessors"></a></span><a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.parameter_accessors">Parameter
Accessors</a>
</h6>
<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">alpha</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
@@ -187,9 +186,9 @@
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">mybeta</span><span class="special">.</span><span class="identifier">alpha</span><span class="special">()</span> <span class="special">==</span> <span class="number">2.</span><span class="special">);</span> <span class="comment">// mybeta.alpha() returns 2</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="math_toolkit.dist.dist_ref.dists.beta_dist.parameter_estimators-heading"></a>
- <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.parameter_estimators">Parameter
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.beta_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.beta_dist.parameter_estimators"></a></span><a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.parameter_estimators">Parameter
Estimators</a>
</h5>
<p>
@@ -240,9 +239,9 @@
<p>
Returns the value of β   that gives: <code class="computeroutput"><span class="identifier">cdf</span><span class="special">(</span><span class="identifier">beta_distribution</span><span class="special"><</span><span class="identifier">RealType</span><span class="special">>(</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="math_toolkit.dist.dist_ref.dists.beta_dist.non_member_accessor_functions-heading"></a>
- <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.non_member_accessor_functions">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.beta_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.beta_dist.non_member_accessor_functions"></a></span><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>
<p>
@@ -262,9 +261,9 @@
at <a href="http://mathworld.wolfram.com/BetaDistribution.html" target="_top">Wolfram
Mathworld</a>.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.beta_dist.applications"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.beta_dist.applications-heading"></a>
- <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.applications">Applications</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.beta_dist.h5"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.beta_dist.applications"></a></span><a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.applications">Applications</a>
</h5>
<p>
The beta distribution can be used to model events constrained to take
@@ -275,9 +274,9 @@
It is also widely used in <a href="http://en.wikipedia.org/wiki/Bayesian_inference" target="_top">Bayesian
statistical inference</a>.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.beta_dist.related_distributions"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.beta_dist.related_distributions-heading"></a>
- <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.related_distributions">Related
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.beta_dist.h6"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.beta_dist.related_distributions"></a></span><a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.related_distributions">Related
distributions</a>
</h5>
<p>
@@ -302,9 +301,9 @@
are less than x, a probability given by summing over the <a class="link" href="binomial_dist.html" title="Binomial Distribution">Binomial
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="math_toolkit.dist.dist_ref.dists.beta_dist.accuracy-heading"></a>
- <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.beta_dist.h7"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.beta_dist.accuracy"></a></span><a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.accuracy">Accuracy</a>
</h5>
<p>
This distribution is implemented using the <a class="link" href="../../../special/sf_beta/beta_function.html" title="Beta">beta
@@ -314,9 +313,9 @@
and <a class="link" href="../../../special/sf_beta/ibeta_function.html" title="Incomplete Beta Functions">ibetac</a>;
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="math_toolkit.dist.dist_ref.dists.beta_dist.implementation-heading"></a>
- <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.beta_dist.h8"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.beta_dist.implementation"></a></span><a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.implementation">Implementation</a>
</h5>
<p>
In the following table <span class="emphasis"><em>a</em></span> and <span class="emphasis"><em>b</em></span>
@@ -593,9 +592,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.beta_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.beta_dist.references-heading"></a>
- <a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.beta_dist.h9"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.beta_dist.references"></a></span><a class="link" href="beta_dist.html#math_toolkit.dist.dist_ref.dists.beta_dist.references">References</a>
</h5>
<p>
<a href="http://en.wikipedia.org/wiki/Beta_distribution" target="_top">Wikipedia
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">binomial</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">binomial_distribution</span><span class="special">;</span>
@@ -47,35 +46,35 @@
<span class="keyword">public</span><span class="special">:</span>
<span class="keyword">typedef</span> <span class="identifier">RealType</span> <span class="identifier">value_type</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">Policy</span> <span class="identifier">policy_type</span><span class="special">;</span>
-
+
<span class="keyword">static</span> <span class="keyword">const</span> <span class="emphasis"><em>unspecified-type</em></span> <span class="identifier">clopper_pearson_exact_interval</span><span class="special">;</span>
<span class="keyword">static</span> <span class="keyword">const</span> <span class="emphasis"><em>unspecified-type</em></span> <span class="identifier">jeffreys_prior_interval</span><span class="special">;</span>
-
+
<span class="comment">// construct:</span>
<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>
-
+
<span class="comment">// parameter access::</span>
<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="identifier">RealType</span> <span class="identifier">trials</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
-
+
<span class="comment">// Bounds on success fraction:</span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_lower_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">successes</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">probability</span><span class="special">,</span>
<span class="emphasis"><em>unspecified-type</em></span> <span class="identifier">method</span> <span class="special">=</span> <span class="identifier">clopper_pearson_exact_interval</span><span class="special">);</span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_upper_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">successes</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">probability</span><span class="special">,</span>
<span class="emphasis"><em>unspecified-type</em></span> <span class="identifier">method</span> <span class="special">=</span> <span class="identifier">clopper_pearson_exact_interval</span><span class="special">);</span>
-
+
<span class="comment">// estimate min/max number of trials:</span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_minimum_number_of_trials</span><span class="special">(</span>
<span class="identifier">RealType</span> <span class="identifier">k</span><span class="special">,</span> <span class="comment">// number of events</span>
<span class="identifier">RealType</span> <span class="identifier">p</span><span class="special">,</span> <span class="comment">// success fraction</span>
<span class="identifier">RealType</span> <span class="identifier">alpha</span><span class="special">);</span> <span class="comment">// risk level</span>
-
+
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_maximum_number_of_trials</span><span class="special">(</span>
<span class="identifier">RealType</span> <span class="identifier">k</span><span class="special">,</span> <span class="comment">// number of events</span>
<span class="identifier">RealType</span> <span class="identifier">p</span><span class="special">,</span> <span class="comment">// success fraction</span>
@@ -160,14 +159,14 @@
</p>
</td></tr>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.member_functions"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.member_functions-heading"></a>
- <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.member_functions"></a></span><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="math_toolkit.dist.dist_ref.dists.binomial_dist.construct-heading"></a>
- <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.construct">Construct</a>
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.construct"></a></span><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>
</pre>
@@ -182,9 +181,9 @@
<span class="special">>=</span> <span class="number">0</span></code>,
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="math_toolkit.dist.dist_ref.dists.binomial_dist.accessors-heading"></a>
- <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.accessors">Accessors</a>
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.accessors"></a></span><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>
</pre>
@@ -198,13 +197,13 @@
Returns the parameter <span class="emphasis"><em>n</em></span> from which this distribution
was constructed.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.lower_bound_on_the_success_fraction"></a><h6>
-<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.lower_bound_on_the_success_fraction-heading"></a>
- <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.lower_bound_on_the_success_fraction">Lower
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.lower_bound_on_the_success_fraction"></a></span><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>
<pre class="programlisting"><span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_lower_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">successes</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">alpha</span><span class="special">,</span>
<span class="emphasis"><em>unspecified-type</em></span> <span class="identifier">method</span> <span class="special">=</span> <span class="identifier">clopper_pearson_exact_interval</span><span class="special">);</span>
@@ -304,13 +303,13 @@
Clopper, C. J. and Pearson, E. S. (1934). The use of confidence or fiducial
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="math_toolkit.dist.dist_ref.dists.binomial_dist.upper_bound_on_the_success_fraction-heading"></a>
- <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.upper_bound_on_the_success_fraction">Upper
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.upper_bound_on_the_success_fraction"></a></span><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>
<pre class="programlisting"><span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_upper_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">successes</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">alpha</span><span class="special">,</span>
<span class="emphasis"><em>unspecified-type</em></span> <span class="identifier">method</span> <span class="special">=</span> <span class="identifier">clopper_pearson_exact_interval</span><span class="special">);</span>
@@ -382,9 +381,9 @@
</p>
</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="math_toolkit.dist.dist_ref.dists.binomial_dist.estimating_the_number_of_trials_required_for_a_certain_number_of_successes-heading"></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
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h5"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.estimating_the_number_of_trials_required_for_a_certain_number_of_successes"></a></span><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>
<pre class="programlisting"><span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_minimum_number_of_trials</span><span class="special">(</span>
@@ -424,9 +423,9 @@
Returns the smallest number of trials we must conduct to be 95% sure
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="math_toolkit.dist.dist_ref.dists.binomial_dist.estimating_the_maximum_number_of_trials_to_ensure_no_more_than_a_certain_number_of_successes-heading"></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
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h6"></a>
+ <span><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></span><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>
</h6>
@@ -472,9 +471,9 @@
<a class="link" href="../../stat_tut/weg/binom_eg/binom_size_eg.html" title="Estimating Sample Sizes for a Binomial Distribution.">See
Worked Example.</a>
</p>
-<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.non_member_accessors"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.non_member_accessors-heading"></a>
- <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h7"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.non_member_accessors"></a></span><a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -621,17 +620,17 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.examples"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.examples-heading"></a>
- <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.examples">Examples</a>
+<br class="table-break"><h5>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h8"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.examples"></a></span><a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.examples">Examples</a>
</h5>
<p>
Various <a class="link" href="../../stat_tut/weg/binom_eg.html" title="Binomial Distribution Examples">worked
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="math_toolkit.dist.dist_ref.dists.binomial_dist.accuracy-heading"></a>
- <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h9"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.accuracy"></a></span><a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.accuracy">Accuracy</a>
</h5>
<p>
This distribution is implemented using the incomplete beta functions
@@ -639,9 +638,9 @@
and <a class="link" href="../../../special/sf_beta/ibeta_function.html" title="Incomplete Beta Functions">ibetac</a>,
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="math_toolkit.dist.dist_ref.dists.binomial_dist.implementation-heading"></a>
- <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h10"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.implementation"></a></span><a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.implementation">Implementation</a>
</h5>
<p>
In the following table <span class="emphasis"><em>p</em></span> is the probability that
@@ -708,7 +707,6 @@
Using the relation:
</p>
<p>
-
</p>
<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">p</span> <span class="special">=</span> <span class="identifier">I</span><span class="special">[</span><span class="identifier">sub</span> <span class="number">1</span><span class="special">-</span><span class="identifier">p</span><span class="special">](</span><span class="identifier">n</span> <span class="special">-</span> <span class="identifier">k</span><span class="special">,</span> <span class="identifier">k</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> <span class="identifier">I</span><span class="special">[</span><span class="identifier">sub</span> <span class="identifier">p</span><span class="special">](</span><span class="identifier">k</span> <span class="special">+</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">n</span> <span class="special">-</span> <span class="identifier">k</span><span class="special">)</span>
@@ -883,9 +881,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.references-heading"></a>
- <a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.binomial_dist.h11"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.binomial_dist.references"></a></span><a class="link" href="binomial_dist.html#math_toolkit.dist.dist_ref.dists.binomial_dist.references">References</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,12 +28,11 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">cauchy</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">cauchy_distribution</span><span class="special">;</span>
@@ -47,7 +46,7 @@
<span class="keyword">typedef</span> <span class="identifier">Policy</span> <span class="identifier">policy_type</span><span class="special">;</span>
<span class="identifier">cauchy_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">location</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">scale</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
-
+
<span class="identifier">RealType</span> <span class="identifier">location</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
<span class="identifier">RealType</span> <span class="identifier">scale</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
<span class="special">};</span>
@@ -87,9 +86,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.cauchy_dist.member_functions-heading"></a>
- <a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.member_functions"></a></span><a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">cauchy_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">location</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">scale</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -113,9 +112,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.cauchy_dist.non_member_accessors-heading"></a>
- <a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.non_member_accessors"></a></span><a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -147,18 +146,18 @@
<p>
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="math_toolkit.dist.dist_ref.dists.cauchy_dist.accuracy-heading"></a>
- <a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.accuracy"></a></span><a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.accuracy">Accuracy</a>
</h5>
<p>
The Cauchy distribution is implemented in terms of the standard library
<code class="computeroutput"><span class="identifier">tan</span></code> and <code class="computeroutput"><span class="identifier">atan</span></code> functions, and as such should
have very low error rates.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.implementation"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.implementation-heading"></a>
- <a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.implementation"></a></span><a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.implementation">Implementation</a>
</h5>
<p>
In the following table x<sub>0 </sub> is the location parameter of the distribution,
@@ -272,9 +271,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.references-heading"></a>
- <a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.cauchy_dist.references"></a></span><a class="link" href="cauchy_dist.html#math_toolkit.dist.dist_ref.dists.cauchy_dist.references">References</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Squared Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">chi_squared</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">chi_squared_distribution</span><span class="special">;</span>
@@ -86,9 +85,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.chi_squared_dist.member_functions-heading"></a>
- <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.member_functions"></a></span><a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">chi_squared_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">v</span><span class="special">);</span>
@@ -169,9 +168,9 @@
See also section on Sample sizes required in <a href="http://www.itl.nist.gov/div898/handbook/prc/section2/prc232.htm" target="_top">the
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="math_toolkit.dist.dist_ref.dists.chi_squared_dist.non_member_accessors-heading"></a>
- <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.non_member_accessors"></a></span><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>
<p>
@@ -195,25 +194,25 @@
<p>
The domain of the random variable is [0, +∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.examples"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.examples-heading"></a>
- <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.examples">Examples</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.examples"></a></span><a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.examples">Examples</a>
</h5>
<p>
Various <a class="link" href="../../stat_tut/weg/cs_eg.html" title="Chi Squared Distribution Examples">worked examples</a>
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="math_toolkit.dist.dist_ref.dists.chi_squared_dist.accuracy-heading"></a>
- <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.accuracy"></a></span><a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.accuracy">Accuracy</a>
</h5>
<p>
The Chi-Squared distribution is implemented in terms of the <a class="link" href="../../../special/sf_gamma/igamma.html" title="Incomplete Gamma Functions">incomplete
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="math_toolkit.dist.dist_ref.dists.chi_squared_dist.implementation-heading"></a>
- <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.implementation"></a></span><a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.implementation">Implementation</a>
</h5>
<p>
In the following table <span class="emphasis"><em>v</em></span> is the number of degrees
@@ -378,9 +377,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.references-heading"></a>
- <a class="link" href="chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.chi_squared_dist.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.h5"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.chi_squared_dist.references"></a></span><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 class="itemizedlist" type="disc">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,12 +28,11 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">exponential</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">exponential_distribution</span><span class="special">;</span>
@@ -70,9 +69,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.exp_dist.member_functions-heading"></a>
- <a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.exp_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.exp_dist.member_functions"></a></span><a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">exponential_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">lambda</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -90,9 +89,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.exp_dist.non_member_accessors-heading"></a>
- <a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.exp_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.exp_dist.non_member_accessors"></a></span><a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -110,9 +109,9 @@
<p>
The domain of the random variable is [0, +∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.exp_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.exp_dist.accuracy-heading"></a>
- <a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.exp_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.exp_dist.accuracy"></a></span><a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.accuracy">Accuracy</a>
</h5>
<p>
The exponential distribution is implemented in terms of the standard
@@ -121,9 +120,9 @@
and <code class="computeroutput"><span class="identifier">expm1</span></code> and as such
should have very low error rates.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.exp_dist.implementation"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.exp_dist.implementation-heading"></a>
- <a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.exp_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.exp_dist.implementation"></a></span><a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.implementation">Implementation</a>
</h5>
<p>
In the following table λ is the parameter lambda of the distribution,
@@ -282,9 +281,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.exp_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.exp_dist.references-heading"></a>
- <a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.references">references</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.exp_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.exp_dist.references"></a></span><a class="link" href="exp_dist.html#math_toolkit.dist.dist_ref.dists.exp_dist.references">references</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,12 +28,11 @@
Value Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">extreme</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">extreme_value_distribution</span><span class="special">;</span>
@@ -99,9 +98,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.extreme_dist.member_functions-heading"></a>
- <a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.extreme_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.extreme_dist.member_functions"></a></span><a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">extreme_value_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">location</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">scale</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -124,9 +123,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.extreme_dist.non_member_accessors-heading"></a>
- <a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.extreme_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.extreme_dist.non_member_accessors"></a></span><a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -144,18 +143,18 @@
<p>
The domain of the random parameter is [-∞, +∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.extreme_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.extreme_dist.accuracy-heading"></a>
- <a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.extreme_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.extreme_dist.accuracy"></a></span><a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.accuracy">Accuracy</a>
</h5>
<p>
The extreme value distribution is implemented in terms of the standard
library <code class="computeroutput"><span class="identifier">exp</span></code> and <code class="computeroutput"><span class="identifier">log</span></code> functions and as such should have
very low error rates.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.extreme_dist.implementation"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.extreme_dist.implementation-heading"></a>
- <a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.extreme_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.extreme_dist.implementation"></a></span><a class="link" href="extreme_dist.html#math_toolkit.dist.dist_ref.dists.extreme_dist.implementation">Implementation</a>
</h5>
<p>
In the following table: <span class="emphasis"><em>a</em></span> is the location parameter,
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,14 +27,13 @@
<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>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">fisher_f</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">fisher_f_distribution</span><span class="special">;</span>
@@ -45,10 +44,10 @@
<span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
<span class="keyword">typedef</span> <span class="identifier">RealType</span> <span class="identifier">value_type</span><span class="special">;</span>
-
+
<span class="comment">// Construct:</span>
<span class="identifier">fisher_f_distribution</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RealType</span><span class="special">&</span> <span class="identifier">i</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RealType</span><span class="special">&</span> <span class="identifier">j</span><span class="special">);</span>
-
+
<span class="comment">// Accessors:</span>
<span class="identifier">RealType</span> <span class="identifier">degrees_of_freedom1</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
<span class="identifier">RealType</span> <span class="identifier">degrees_of_freedom2</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
@@ -79,9 +78,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.f_dist.member_functions-heading"></a>
- <a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.f_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.f_dist.member_functions"></a></span><a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">fisher_f_distribution</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RealType</span><span class="special">&</span> <span class="identifier">df1</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RealType</span><span class="special">&</span> <span class="identifier">df2</span><span class="special">);</span>
@@ -105,9 +104,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.f_dist.non_member_accessors-heading"></a>
- <a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.f_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.f_dist.non_member_accessors"></a></span><a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -125,26 +124,26 @@
<p>
The domain of the random variable is [0, +∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.f_dist.examples"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.f_dist.examples-heading"></a>
- <a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.examples">Examples</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.f_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.f_dist.examples"></a></span><a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.examples">Examples</a>
</h5>
<p>
Various <a class="link" href="../../stat_tut/weg/f_eg.html" title="F Distribution Examples">worked examples</a>
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="math_toolkit.dist.dist_ref.dists.f_dist.accuracy-heading"></a>
- <a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.f_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.f_dist.accuracy"></a></span><a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.accuracy">Accuracy</a>
</h5>
<p>
The normal distribution is implemented in terms of the <a class="link" href="../../../special/sf_beta/ibeta_function.html" title="Incomplete Beta Functions">incomplete
beta function</a> and its <a class="link" href="../../../special/sf_beta/ibeta_inv_function.html" title="The Incomplete Beta Function Inverses">inverses</a>,
refer to those functions for accuracy data.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.f_dist.implementation"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.f_dist.implementation-heading"></a>
- <a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.f_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.f_dist.implementation"></a></span><a class="link" href="f_dist.html#math_toolkit.dist.dist_ref.dists.f_dist.implementation">Implementation</a>
</h5>
<p>
In the following table <span class="emphasis"><em>v1</em></span> and <span class="emphasis"><em>v2</em></span>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
(and Erlang) Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">gamma_distribution</span>
<span class="special">{</span>
@@ -74,7 +73,6 @@
does not provide the typedef:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">gamma_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">gamma</span><span class="special">;</span></pre>
<p>
@@ -83,7 +81,6 @@
Instead if you want a double precision gamma distribution you can write
</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">gamma_distribution</span><span class="special"><></span> <span class="identifier">my_gamma</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">1</span><span class="special">);</span></pre>
<p>
@@ -136,9 +133,9 @@
be no great loss of performance from using a Gamma Distribution rather
than a dedicated Erlang Distribution.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.gamma_dist.member_functions"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.gamma_dist.member_functions-heading"></a>
- <a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.gamma_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.gamma_dist.member_functions"></a></span><a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">gamma_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">shape</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">scale</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -161,9 +158,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.gamma_dist.non_member_accessors-heading"></a>
- <a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.gamma_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.gamma_dist.non_member_accessors"></a></span><a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -181,9 +178,9 @@
<p>
The domain of the random variable is [0,+∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.gamma_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.gamma_dist.accuracy-heading"></a>
- <a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.gamma_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.gamma_dist.accuracy"></a></span><a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.accuracy">Accuracy</a>
</h5>
<p>
The lognormal distribution is implemented in terms of the incomplete
@@ -193,9 +190,9 @@
and <a class="link" href="../../../special/sf_gamma/igamma_inv.html" title="Incomplete Gamma Function Inverses">gamma_q_inv</a>:
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="math_toolkit.dist.dist_ref.dists.gamma_dist.implementation-heading"></a>
- <a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.gamma_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.gamma_dist.implementation"></a></span><a class="link" href="gamma_dist.html#math_toolkit.dist.dist_ref.dists.gamma_dist.implementation">Implementation</a>
</h5>
<p>
In the following table <span class="emphasis"><em>k</em></span> is the shape parameter
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">geometric</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">geometric_distribution</span><span class="special">;</span>
@@ -49,21 +48,21 @@
<span class="keyword">typedef</span> <span class="identifier">Policy</span> <span class="identifier">policy_type</span><span class="special">;</span>
<span class="comment">// Constructor from success_fraction:</span>
<span class="identifier">geometric_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">p</span><span class="special">);</span>
-
+
<span class="comment">// Parameter accessors:</span>
<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="identifier">RealType</span> <span class="identifier">successes</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
-
+
<span class="comment">// Bounds on success fraction:</span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_lower_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">successes</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">probability</span><span class="special">);</span> <span class="comment">// alpha</span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_upper_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">successes</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">probability</span><span class="special">);</span> <span class="comment">// alpha</span>
-
+
<span class="comment">// Estimate min/max number of trials:</span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_minimum_number_of_trials</span><span class="special">(</span>
<span class="identifier">RealType</span> <span class="identifier">k</span><span class="special">,</span> <span class="comment">// Number of failures.</span>
@@ -145,9 +144,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.geometric_dist.related_distributions-heading"></a>
- <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.related_distributions">Related
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.related_distributions"></a></span><a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.related_distributions">Related
Distributions</a>
</h5>
<p>
@@ -205,14 +204,14 @@
</p>
</td></tr>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.member_functions"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.member_functions-heading"></a>
- <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.member_functions"></a></span><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="math_toolkit.dist.dist_ref.dists.geometric_dist.constructor-heading"></a>
- <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.constructor">Constructor</a>
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.constructor"></a></span><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>
</pre>
@@ -225,9 +224,9 @@
<span class="identifier">p</span> <span class="special"><=</span>
<span class="number">1</span></code>.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.accessors"></a><h6>
-<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.accessors-heading"></a>
- <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.accessors">Accessors</a>
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.accessors"></a></span><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 <= p <= 1)</span>
</pre>
@@ -252,13 +251,13 @@
Distribution</a> and <a class="link" href="negative_binomial_dist.html" title="Negative Binomial Distribution">Negative
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="math_toolkit.dist.dist_ref.dists.geometric_dist.lower_bound_on_success_fraction_parameter__emphasis_p__emphasis_-heading"></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
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.lower_bound_on_success_fraction_parameter__emphasis_p__emphasis_"></a></span><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>
<pre class="programlisting"><span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_lower_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">failures</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">failures</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">probability</span><span class="special">)</span> <span class="comment">// (0 <= alpha <= 1), 0.05 equivalent to 95% confidence.</span>
</pre>
<p>
@@ -307,13 +306,13 @@
Discrete Distributions. Computational statistics and data analysis, 2005,
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="math_toolkit.dist.dist_ref.dists.geometric_dist.upper_bound_on_success_fraction_parameter_p-heading"></a>
- <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.upper_bound_on_success_fraction_parameter_p">Upper
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.h5"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.upper_bound_on_success_fraction_parameter_p"></a></span><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>
<pre class="programlisting"><span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_upper_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">alpha</span><span class="special">);</span> <span class="comment">// (0 <= alpha <= 1), 0.05 equivalent to 95% confidence.</span>
</pre>
<p>
@@ -362,9 +361,9 @@
Discrete Distributions. Computational statistics and data analysis, 2005,
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="math_toolkit.dist.dist_ref.dists.geometric_dist.estimating_number_of_trials_to_ensure_at_least_a_certain_number_of_failures-heading"></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
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.h6"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.estimating_number_of_trials_to_ensure_at_least_a_certain_number_of_failures"></a></span><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>
<pre class="programlisting"><span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_minimum_number_of_trials</span><span class="special">(</span>
@@ -414,9 +413,9 @@
the number of trials (failures) that will lead to an <span class="emphasis"><em>alpha</em></span>
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="math_toolkit.dist.dist_ref.dists.geometric_dist.estimating_number_of_trials_to_ensure_a_maximum_number_of_failures_or_less-heading"></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
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.h7"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.estimating_number_of_trials_to_ensure_a_maximum_number_of_failures_or_less"></a></span><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>
<pre class="programlisting"><span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_maximum_number_of_trials</span><span class="special">(</span>
@@ -462,9 +461,9 @@
the number of trials that will lead to an <span class="emphasis"><em>alpha</em></span>
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="math_toolkit.dist.dist_ref.dists.geometric_dist.non_member_accessors-heading"></a>
- <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.h8"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.non_member_accessors"></a></span><a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -516,7 +515,6 @@
success fraction p. For example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">pdf</span><span class="special">(</span><span class="identifier">geometric</span><span class="special">(</span><span class="identifier">p</span><span class="special">),</span> <span class="identifier">k</span><span class="special">)</span></pre>
<p>
@@ -536,7 +534,6 @@
success fraction p and success on the last trial. For example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cdf</span><span class="special">(</span><span class="identifier">geometric</span><span class="special">(</span><span class="identifier">p</span><span class="special">),</span> <span class="identifier">k</span><span class="special">)</span></pre>
<p>
@@ -557,7 +554,6 @@
success fraction p and success on the last trial. For example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">geometric</span><span class="special">(</span><span class="identifier">p</span><span class="special">),</span> <span class="identifier">k</span><span class="special">))</span></pre>
<p>
@@ -578,7 +574,7 @@
<span class="emphasis"><em>P</em></span>. Note that the value returned is a real-number,
and not an integer. Depending on the use case you may want
to take either the floor or ceiling of the real result. For
- example:
+ example:
</p>
<pre class="programlisting"><span class="identifier">quantile</span><span class="special">(</span><span class="identifier">geometric</span><span class="special">(</span><span class="identifier">p</span><span class="special">),</span> <span class="identifier">P</span><span class="special">)</span></pre>
<p>
@@ -600,7 +596,7 @@
<span class="emphasis"><em>P</em></span>. Note that the value returned is a real-number,
and not an integer. Depending on the use case you may want
to take either the floor or ceiling of the real result. For
- example:
+ example:
</p>
<pre class="programlisting"><span class="identifier">quantile</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">geometric</span><span class="special">(</span><span class="identifier">p</span><span class="special">),</span> <span class="identifier">P</span><span class="special">))</span></pre>
<p>
@@ -610,9 +606,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.accuracy-heading"></a>
- <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.accuracy">Accuracy</a>
+<br class="table-break"><h5>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.h9"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.accuracy"></a></span><a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.accuracy">Accuracy</a>
</h5>
<p>
This distribution is implemented using the pow and exp functions, so
@@ -621,9 +617,9 @@
<span class="emphasis"><em>p</em></span>, for example 0.9999999999, accuracy can fall significantly,
for example to 10 decimal digits (from 16).
</p>
-<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.implementation"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.implementation-heading"></a>
- <a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.geometric_dist.h10"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.geometric_dist.implementation"></a></span><a class="link" href="geometric_dist.html#math_toolkit.dist.dist_ref.dists.geometric_dist.implementation">Implementation</a>
</h5>
<p>
In the following table, <span class="emphasis"><em>p</em></span> is the probability that
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,7 +28,6 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">hypergeometric</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
@@ -101,9 +100,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.member_functions-heading"></a>
- <a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.member_functions"></a></span><a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">hypergeometric_distribution</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">r</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">N</span><span class="special">);</span>
@@ -130,9 +129,9 @@
Returns the number of objects <span class="emphasis"><em>n</em></span> which are sampled
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="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.non_member_accessors-heading"></a>
- <a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.non_member_accessors"></a></span><a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -184,9 +183,9 @@
</p>
</td></tr>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.accuracy-heading"></a>
- <a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.accuracy"></a></span><a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.accuracy">Accuracy</a>
</h5>
<p>
For small N such that <code class="computeroutput"><span class="identifier">N</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">max_factorial</span><span class="special"><</span><span class="identifier">RealType</span><span class="special">>::</span><span class="identifier">value</span></code>
@@ -210,9 +209,9 @@
digits of precision during the calculation, with the results becoming
meaningless for N >= 10<sup>15</sup>.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.testing"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.testing-heading"></a>
- <a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.testing">Testing</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.testing"></a></span><a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.testing">Testing</a>
</h5>
<p>
There are three sets of tests: our implementation is tested against a
@@ -222,9 +221,9 @@
Finally we test accuracy against some high precision test data using
this implementation and NTL::RR.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.implementation"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.implementation-heading"></a>
- <a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.hypergeometric_dist.implementation"></a></span><a class="link" href="hypergeometric_dist.html#math_toolkit.dist.dist_ref.dists.hypergeometric_dist.implementation">Implementation</a>
</h5>
<p>
The PDF can be calculated directly using the formula:
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Chi Squared Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">inverse_chi_squared</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">inverse_chi_squared_distribution</span>
<span class="special">{</span>
@@ -139,7 +138,6 @@
typedef:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">inverse_chi_squared_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">inverse_chi_squared</span><span class="special">;</span></pre>
<p>
@@ -149,7 +147,6 @@
inverse_chi_squared distribution you can use
</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">inverse_chi_squared_distribution</span><span class="special"><></span></pre>
<p>
@@ -197,9 +194,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.member_functions-heading"></a>
- <a class="link" href="inverse_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.member_functions"></a></span><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>
<pre class="programlisting"><span class="identifier">inverse_chi_squared_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">df</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span> <span class="comment">// Implicitly scaled 1/df.</span>
@@ -214,19 +211,19 @@
Requires that the degrees of freedom ν parameter is greater than zero,
otherwise calls <a class="link" href="../../../main_overview/error_handling.html#domain_error">domain_error</a>.
</p>
-<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">degrees_of_freedom</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">degrees_of_freedom</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
</pre>
<p>
Returns the degrees_of_freedom ν parameter of this distribution.
</p>
-<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">scale</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">scale</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
</pre>
<p>
Returns the scale ξ parameter of this distribution.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.non_member_accessors"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.non_member_accessors-heading"></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
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.non_member_accessors"></a></span><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>
<p>
@@ -254,9 +251,9 @@
equal to zero as a special case, returning zero for both pdf and cdf.
</p></td></tr>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.accuracy-heading"></a>
- <a class="link" href="inverse_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.accuracy"></a></span><a class="link" href="inverse_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.accuracy">Accuracy</a>
</h5>
<p>
The inverse gamma distribution is implemented in terms of the incomplete
@@ -270,9 +267,9 @@
to a few epsilon, >14 decimal digits accuracy for 64-bit double. unless
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="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.implementation-heading"></a>
- <a class="link" href="inverse_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.implementation"></a></span><a class="link" href="inverse_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.implementation">Implementation</a>
</h5>
<p>
In the following table ν is the degrees of freedom parameter and ξ is the
@@ -451,9 +448,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.references-heading"></a>
- <a class="link" href="inverse_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_chi_squared_dist.references"></a></span><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 class="orderedlist" type="1">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Gamma Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">inverse_gamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">inverse_gamma_distribution</span>
<span class="special">{</span>
@@ -85,7 +84,6 @@
distribution <span class="bold"><strong>does</strong></span> provide the typedef:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">inverse_gamma_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">gamma</span><span class="special">;</span></pre>
<p>
@@ -95,7 +93,6 @@
gamma distribution you can use
</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">inverse_gamma_distribution</span><span class="special"><></span></pre>
<p>
@@ -129,9 +126,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.member_functions-heading"></a>
- <a class="link" href="inverse_gamma_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.member_functions"></a></span><a class="link" href="inverse_gamma_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">inverse_gamma_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">shape</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">scale</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -153,9 +150,9 @@
<p>
Returns the β 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="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.non_member_accessors-heading"></a>
- <a class="link" href="inverse_gamma_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.non_member_accessors"></a></span><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>
<p>
@@ -183,9 +180,9 @@
equal to zero as a special case, returning zero for pdf and cdf.
</p></td></tr>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.accuracy-heading"></a>
- <a class="link" href="inverse_gamma_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.accuracy"></a></span><a class="link" href="inverse_gamma_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.accuracy">Accuracy</a>
</h5>
<p>
The inverse gamma distribution is implemented in terms of the incomplete
@@ -197,9 +194,9 @@
But in general, inverse_gamma results are accurate to a few epsilon,
>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="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.implementation-heading"></a>
- <a class="link" href="inverse_gamma_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.implementation"></a></span><a class="link" href="inverse_gamma_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gamma_dist.implementation">Implementation</a>
</h5>
<p>
In the following table α is the shape parameter of the distribution, α   is
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Gaussian (or Inverse Normal) Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">inverse_gaussian</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">inverse_gaussian_distribution</span>
<span class="special">{</span>
@@ -100,7 +99,6 @@
inverse_gaussian distribution you can use
</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">inverse_gaussian_distribution</span><span class="special"><></span></pre>
<p>
@@ -145,9 +143,9 @@
by Chhikara and Folks on page 105. Another related parameterisation,
the __wald_distrib (where mean μ is unity) is also provided.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.member_functions"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.member_functions-heading"></a>
- <a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.member_functions"></a></span><a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">inverse_gaussian_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">df</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">scale</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span> <span class="comment">// optionally scaled.</span>
@@ -160,19 +158,19 @@
Requires that both the mean μ parameter and scale λ are greater than zero,
otherwise calls <a class="link" href="../../../main_overview/error_handling.html#domain_error">domain_error</a>.
</p>
-<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">mean</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">mean</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
</pre>
<p>
Returns the mean μ parameter of this distribution.
</p>
-<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">scale</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">scale</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
</pre>
<p>
Returns the scale λ parameter of this distribution.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.non_member_accessors"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.non_member_accessors-heading"></a>
- <a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.non_member_accessors"></a></span><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>
<p>
@@ -200,9 +198,9 @@
equal to zero as a special case, returning zero for both pdf and cdf.
</p></td></tr>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.accuracy-heading"></a>
- <a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.accuracy"></a></span><a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.accuracy">Accuracy</a>
</h5>
<p>
The inverse_gaussian distribution is implemented in terms of the exponential
@@ -211,9 +209,9 @@
But in general, gamma (and thus inverse gamma) results are often accurate
to a few epsilon, >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="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.implementation-heading"></a>
- <a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.implementation"></a></span><a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.implementation">Implementation</a>
</h5>
<p>
In the following table μ is the mean parameter and λ is the scale parameter
@@ -389,9 +387,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.references-heading"></a>
- <a class="link" href="inverse_gaussian_dist.html#math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.inverse_gaussian_dist.references"></a></span><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 class="orderedlist" type="1">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,7 +28,6 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">laplace</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
@@ -80,9 +79,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.laplace_dist.member_functions-heading"></a>
- <a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.laplace_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.laplace_dist.member_functions"></a></span><a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">laplace_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">location</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">scale</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -112,9 +111,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.laplace_dist.non_member_accessors-heading"></a>
- <a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.laplace_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.laplace_dist.non_member_accessors"></a></span><a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -132,17 +131,17 @@
<p>
The domain of the random variable is [-∞,+∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.laplace_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.laplace_dist.accuracy-heading"></a>
- <a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.laplace_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.laplace_dist.accuracy"></a></span><a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.accuracy">Accuracy</a>
</h5>
<p>
The laplace distribution is implemented in terms of the standard library
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="math_toolkit.dist.dist_ref.dists.laplace_dist.implementation-heading"></a>
- <a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.laplace_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.laplace_dist.implementation"></a></span><a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.implementation">Implementation</a>
</h5>
<p>
In the following table μ is the location parameter of the distribution,
@@ -328,9 +327,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.laplace_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.laplace_dist.references-heading"></a>
- <a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.laplace_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.laplace_dist.references"></a></span><a class="link" href="laplace_dist.html#math_toolkit.dist.dist_ref.dists.laplace_dist.references">References</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">logistic</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">logistic_distribution</span><span class="special">;</span>
@@ -50,7 +49,7 @@
<span class="comment">// Accessors:</span>
<span class="identifier">RealType</span> <span class="identifier">location</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span> <span class="comment">// location.</span>
<span class="identifier">RealType</span> <span class="identifier">scale</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span> <span class="comment">// scale.</span>
-
+
<span class="special">};</span>
<span class="keyword">typedef</span> <span class="identifier">logistic_distribution</span><span class="special"><></span> <span class="identifier">logistic</span><span class="special">;</span>
@@ -71,9 +70,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.logistic_dist.member_functions-heading"></a>
- <a class="link" href="logistic_dist.html#math_toolkit.dist.dist_ref.dists.logistic_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.logistic_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.logistic_dist.member_functions"></a></span><a class="link" href="logistic_dist.html#math_toolkit.dist.dist_ref.dists.logistic_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">logistic_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">u</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">s</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -87,7 +86,7 @@
<span class="number">0</span></code>, otherwise a <a class="link" href="../../../main_overview/error_handling.html#domain_error">domain_error</a>
is raised.
</p>
-<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">location</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">location</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
</pre>
<p>
Returns the location of this distribution.
@@ -97,9 +96,9 @@
<p>
Returns the scale of this distribution.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.logistic_dist.non_member_accessors"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.logistic_dist.non_member_accessors-heading"></a>
- <a class="link" href="logistic_dist.html#math_toolkit.dist.dist_ref.dists.logistic_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.logistic_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.logistic_dist.non_member_accessors"></a></span><a class="link" href="logistic_dist.html#math_toolkit.dist.dist_ref.dists.logistic_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -127,9 +126,9 @@
complement quantile function returns the result of -<a class="link" href="../../../main_overview/error_handling.html#overflow_error">overflow_error</a>
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="math_toolkit.dist.dist_ref.dists.logistic_dist.accuracy-heading"></a>
- <a class="link" href="logistic_dist.html#math_toolkit.dist.dist_ref.dists.logistic_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.logistic_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.logistic_dist.accuracy"></a></span><a class="link" href="logistic_dist.html#math_toolkit.dist.dist_ref.dists.logistic_dist.accuracy">Accuracy</a>
</h5>
<p>
The logistic distribution is implemented in terms of the <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">exp</span></code> and the <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">log</span></code>
@@ -139,9 +138,9 @@
cancellation errors can occur: in such cases, only a low <span class="emphasis"><em>absolute
error</em></span> can be guarenteed.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.logistic_dist.implementation"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.logistic_dist.implementation-heading"></a>
- <a class="link" href="logistic_dist.html#math_toolkit.dist.dist_ref.dists.logistic_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.logistic_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.logistic_dist.implementation"></a></span><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">
<colgroup>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Normal Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">lognormal</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">lognormal_distribution</span><span class="special">;</span>
@@ -87,9 +86,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.lognormal_dist.member_functions-heading"></a>
- <a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.member_functions"></a></span><a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">lognormal_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">location</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">scale</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -120,9 +119,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.lognormal_dist.non_member_accessors-heading"></a>
- <a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.non_member_accessors"></a></span><a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -140,18 +139,18 @@
<p>
The domain of the random variable is [0,+∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.accuracy-heading"></a>
- <a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.accuracy"></a></span><a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.accuracy">Accuracy</a>
</h5>
<p>
The lognormal distribution is implemented in terms of the standard library
log and exp functions, plus the <a class="link" href="../../../special/sf_erf/error_function.html" title="Error Functions">error
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="math_toolkit.dist.dist_ref.dists.lognormal_dist.implementation-heading"></a>
- <a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.lognormal_dist.implementation"></a></span><a class="link" href="lognormal_dist.html#math_toolkit.dist.dist_ref.dists.lognormal_dist.implementation">Implementation</a>
</h5>
<p>
In the following table <span class="emphasis"><em>m</em></span> is the location parameter
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Beta Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">non_central_beta</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">non_central_beta_distribution</span><span class="special">;</span>
@@ -95,9 +94,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.nc_beta_dist.member_functions-heading"></a>
- <a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.member_functions"></a></span><a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">non_central_beta_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">a</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">b</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">lambda</span><span class="special">);</span>
@@ -127,9 +126,9 @@
Returns the parameter <span class="emphasis"><em>lambda</em></span> from which this object
was constructed.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.non_member_accessors"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.non_member_accessors-heading"></a>
- <a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.non_member_accessors"></a></span><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>
<p>
@@ -155,9 +154,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.nc_beta_dist.accuracy-heading"></a>
- <a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.accuracy"></a></span><a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.accuracy">Accuracy</a>
</h5>
<p>
The following table shows the peak errors (in units of epsilon)
@@ -298,9 +297,9 @@
Error rates for the PDF, the complement of the CDF and for the quantile
functions are broadly similar.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.tests"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.tests-heading"></a>
- <a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.tests">Tests</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.tests"></a></span><a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.tests">Tests</a>
</h5>
<p>
There are two sets of test data used to verify this implementation: firstly
@@ -310,9 +309,9 @@
be accurate to at least 50 decimal digits - and is the used for our accuracy
tests.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.implementation"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.implementation-heading"></a>
- <a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_beta_dist.implementation"></a></span><a class="link" href="nc_beta_dist.html#math_toolkit.dist.dist_ref.dists.nc_beta_dist.implementation">Implementation</a>
</h5>
<p>
The CDF and its complement are evaluated as follows:
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Chi-Squared Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">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">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">non_central_chi_squared_distribution</span><span class="special">;</span>
@@ -61,7 +60,7 @@
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_degrees_of_freedom</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">lambda</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">p</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">A</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">B</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">C</span><span class="special">></span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_degrees_of_freedom</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complemented3_type</span><span class="special"><</span><span class="identifier">A</span><span class="special">,</span><span class="identifier">B</span><span class="special">,</span><span class="identifier">C</span><span class="special">>&</span> <span class="identifier">c</span><span class="special">);</span>
-
+
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_non_centrality</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">v</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">p</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">A</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">B</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">C</span><span class="special">></span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_non_centrality</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">complemented3_type</span><span class="special"><</span><span class="identifier">A</span><span class="special">,</span><span class="identifier">B</span><span class="special">,</span><span class="identifier">C</span><span class="special">>&</span> <span class="identifier">c</span><span class="special">);</span>
@@ -109,9 +108,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.member_functions-heading"></a>
- <a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.member_functions"></a></span><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>
<pre class="programlisting"><span class="identifier">non_central_chi_squared_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">v</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">lambda</span><span class="special">);</span>
@@ -182,9 +181,9 @@
<span class="identifier">x</span><span class="special">))</span>
<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="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.non_member_accessors-heading"></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
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.non_member_accessors"></a></span><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>
<p>
@@ -202,17 +201,17 @@
<p>
The domain of the random variable is [0, +∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.examples"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.examples-heading"></a>
- <a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.examples">Examples</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.examples"></a></span><a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.examples">Examples</a>
</h5>
<p>
There is a <a class="link" href="../../stat_tut/weg/nccs_eg.html" title="Non Central Chi Squared Example">worked
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="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.accuracy-heading"></a>
- <a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.accuracy"></a></span><a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.accuracy">Accuracy</a>
</h5>
<p>
The following table shows the peak errors (in units of epsilon)
@@ -358,9 +357,9 @@
numerically by finding the maxima of the PDF: in principal this can not
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="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.tests-heading"></a>
- <a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.tests">Tests</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.tests"></a></span><a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.tests">Tests</a>
</h5>
<p>
There are two sets of test data used to verify this implementation: firstly
@@ -372,9 +371,9 @@
implementation and using interval arithmetic - this data should be accurate
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="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.implementation-heading"></a>
- <a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.h5"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.implementation"></a></span><a class="link" href="nc_chi_squared_dist.html#math_toolkit.dist.dist_ref.dists.nc_chi_squared_dist.implementation">Implementation</a>
</h5>
<p>
The CDF and its complement are evaluated as follows:
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
F Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">non_central_f</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">non_central_f_distribution</span><span class="special">;</span>
@@ -94,9 +93,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.nc_f_dist.member_functions-heading"></a>
- <a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.member_functions"></a></span><a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">non_central_f_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">v1</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">v2</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">lambda</span><span class="special">);</span>
@@ -126,9 +125,9 @@
Returns the non-centrality parameter <span class="emphasis"><em>lambda</em></span> from
which this object was constructed.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.non_member_accessors"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.non_member_accessors-heading"></a>
- <a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.non_member_accessors"></a></span><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>
<p>
@@ -146,26 +145,26 @@
<p>
The domain of the random variable is [0, +∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.accuracy-heading"></a>
- <a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.accuracy"></a></span><a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.accuracy">Accuracy</a>
</h5>
<p>
This distribution is implemented in terms of the <a class="link" href="nc_beta_dist.html" title="Noncentral Beta Distribution">Noncentral
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="math_toolkit.dist.dist_ref.dists.nc_f_dist.tests-heading"></a>
- <a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.tests">Tests</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.tests"></a></span><a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.tests">Tests</a>
</h5>
<p>
Since this distribution is implemented by adapting another distribution,
the tests consist of basic sanity checks computed by the <a href="http://www.r-project.org/" target="_top">R-2.5.1
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="math_toolkit.dist.dist_ref.dists.nc_f_dist.implementation-heading"></a>
- <a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_f_dist.implementation"></a></span><a class="link" href="nc_f_dist.html#math_toolkit.dist.dist_ref.dists.nc_f_dist.implementation">Implementation</a>
</h5>
<p>
In the following table <span class="emphasis"><em>v1</em></span> and <span class="emphasis"><em>v2</em></span>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
T Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">non_central_t</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">non_central_t_distribution</span><span class="special">;</span>
@@ -84,9 +83,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.nc_t_dist.member_functions-heading"></a>
- <a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.member_functions"></a></span><a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">non_central_t_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">v</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">lambda</span><span class="special">);</span>
@@ -110,9 +109,9 @@
Returns the non-centrality parameter <span class="emphasis"><em>delta</em></span> from
which this object was constructed.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.non_member_accessors"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.non_member_accessors-heading"></a>
- <a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.non_member_accessors"></a></span><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>
<p>
@@ -130,9 +129,9 @@
<p>
The domain of the random variable is [-∞, +∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.accuracy-heading"></a>
- <a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.accuracy"></a></span><a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.accuracy">Accuracy</a>
</h5>
<p>
The following table shows the peak errors (in units of epsilon)
@@ -254,9 +253,9 @@
and can not in principal be more accurate than the square root of machine
epsilon.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.tests"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.tests-heading"></a>
- <a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.tests">Tests</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.tests"></a></span><a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.tests">Tests</a>
</h5>
<p>
There are two sets of tests of this distribution: basic sanity checks
@@ -269,9 +268,9 @@
interval arithmetic: this test data is believed to be accurate to at
least 50 decimal places.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.implementation"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.implementation-heading"></a>
- <a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.nc_t_dist.implementation"></a></span><a class="link" href="nc_t_dist.html#math_toolkit.dist.dist_ref.dists.nc_t_dist.implementation">Implementation</a>
</h5>
<p>
The CDF is computed using a modification of the method described in "Computing
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Binomial Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">negative_binomial</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">negative_binomial_distribution</span><span class="special">;</span>
@@ -49,21 +48,21 @@
<span class="keyword">typedef</span> <span class="identifier">Policy</span> <span class="identifier">policy_type</span><span class="special">;</span>
<span class="comment">// Constructor from successes and success_fraction:</span>
<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>
-
+
<span class="comment">// Parameter accessors:</span>
<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="identifier">RealType</span> <span class="identifier">successes</span><span class="special">()</span> <span class="keyword">const</span><span class="special">;</span>
-
+
<span class="comment">// Bounds on success fraction:</span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_lower_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">successes</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">probability</span><span class="special">);</span> <span class="comment">// alpha</span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_upper_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">successes</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">probability</span><span class="special">);</span> <span class="comment">// alpha</span>
-
+
<span class="comment">// Estimate min/max number of trials:</span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_minimum_number_of_trials</span><span class="special">(</span>
<span class="identifier">RealType</span> <span class="identifier">k</span><span class="special">,</span> <span class="comment">// Number of failures.</span>
@@ -122,9 +121,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.related_distributions-heading"></a>
- <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.related_distributions">Related
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.related_distributions"></a></span><a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.related_distributions">Related
Distributions</a>
</h5>
<p>
@@ -194,14 +193,14 @@
</p>
</td></tr>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.member_functions"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.member_functions-heading"></a>
- <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.member_functions"></a></span><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="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.construct-heading"></a>
- <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.construct">Construct</a>
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.construct"></a></span><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>
</pre>
@@ -215,9 +214,9 @@
<span class="special"><=</span> <span class="identifier">p</span>
<span class="special"><=</span> <span class="number">1</span></code>.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accessors"></a><h6>
-<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accessors-heading"></a>
- <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accessors">Accessors</a>
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accessors"></a></span><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 <= p <= 1)</span>
</pre>
@@ -236,13 +235,13 @@
see <a class="link" href="binomial_dist.html" title="Binomial Distribution">Binomial
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="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.lower_bound_on_parameter_p-heading"></a>
- <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.lower_bound_on_parameter_p">Lower
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.lower_bound_on_parameter_p"></a></span><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>
<pre class="programlisting"><span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_lower_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">failures</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">failures</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">successes</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">probability</span><span class="special">)</span> <span class="comment">// (0 <= alpha <= 1), 0.05 equivalent to 95% confidence.</span>
</pre>
@@ -297,13 +296,13 @@
Discrete Distributions. Computational statistics and data analysis, 2005,
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="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.upper_bound_on_parameter_p-heading"></a>
- <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.upper_bound_on_parameter_p">Upper
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.h5"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.upper_bound_on_parameter_p"></a></span><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>
<pre class="programlisting"><span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_upper_bound_on_p</span><span class="special">(</span>
- <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
+ <span class="identifier">RealType</span> <span class="identifier">trials</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">successes</span><span class="special">,</span>
<span class="identifier">RealType</span> <span class="identifier">alpha</span><span class="special">);</span> <span class="comment">// (0 <= alpha <= 1), 0.05 equivalent to 95% confidence.</span>
</pre>
@@ -357,9 +356,9 @@
Discrete Distributions. Computational statistics and data analysis, 2005,
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="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.estimating_number_of_trials_to_ensure_at_least_a_certain_number_of_failures-heading"></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
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.h6"></a>
+ <span><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></span><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>
<pre class="programlisting"><span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_minimum_number_of_trials</span><span class="special">(</span>
@@ -408,9 +407,9 @@
finds the number of trials (success+failures) that will lead to an <span class="emphasis"><em>alpha</em></span>
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="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.estimating_number_of_trials_to_ensure_a_maximum_number_of_failures_or_less-heading"></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
+<h6>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.h7"></a>
+ <span><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></span><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>
<pre class="programlisting"><span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_maximum_number_of_trials</span><span class="special">(</span>
@@ -456,9 +455,9 @@
finds the number of trials (success+failures) that will lead to an <span class="emphasis"><em>alpha</em></span>
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="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.non_member_accessors-heading"></a>
- <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.h8"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.non_member_accessors"></a></span><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>
<p>
@@ -510,7 +509,6 @@
p. For example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">pdf</span><span class="special">(</span><span class="identifier">negative_binomial</span><span class="special">(</span><span class="identifier">r</span><span class="special">,</span> <span class="identifier">p</span><span class="special">),</span> <span class="identifier">k</span><span class="special">)</span></pre>
<p>
@@ -530,7 +528,6 @@
and success on the last trial. For example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cdf</span><span class="special">(</span><span class="identifier">negative_binomial</span><span class="special">(</span><span class="identifier">r</span><span class="special">,</span> <span class="identifier">p</span><span class="special">),</span> <span class="identifier">k</span><span class="special">)</span></pre>
<p>
@@ -551,7 +548,6 @@
p and success on the last trial. For example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cdf</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">negative_binomial</span><span class="special">(</span><span class="identifier">r</span><span class="special">,</span> <span class="identifier">p</span><span class="special">),</span> <span class="identifier">k</span><span class="special">))</span></pre>
<p>
@@ -574,7 +570,6 @@
example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">quantile</span><span class="special">(</span><span class="identifier">negative_binomial</span><span class="special">(</span><span class="identifier">r</span><span class="special">,</span> <span class="identifier">p</span><span class="special">),</span> <span class="identifier">P</span><span class="special">)</span></pre>
<p>
@@ -595,7 +590,7 @@
p, at probability P. Note that the value returned is a real-number,
and not an integer. Depending on the use case you may want
to take either the floor or ceiling of the real result. For
- example:
+ example:
</p>
<pre class="programlisting"><span class="identifier">quantile</span><span class="special">(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">negative_binomial</span><span class="special">(</span><span class="identifier">r</span><span class="special">,</span> <span class="identifier">p</span><span class="special">),</span> <span class="identifier">P</span><span class="special">))</span></pre>
<p>
@@ -605,9 +600,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accuracy-heading"></a>
- <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accuracy">Accuracy</a>
+<br class="table-break"><h5>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.h9"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accuracy"></a></span><a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.accuracy">Accuracy</a>
</h5>
<p>
This distribution is implemented using the incomplete beta functions
@@ -615,9 +610,9 @@
and <a class="link" href="../../../special/sf_beta/ibeta_function.html" title="Incomplete Beta Functions">ibetac</a>:
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="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.implementation-heading"></a>
- <a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.h10"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.negative_binomial_dist.implementation"></a></span><a class="link" href="negative_binomial_dist.html#math_toolkit.dist.dist_ref.dists.negative_binomial_dist.implementation">Implementation</a>
</h5>
<p>
In the following table, <span class="emphasis"><em>p</em></span> is the probability that
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
(Gaussian) Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">normal_distribution</span><span class="special">;</span>
@@ -78,9 +77,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.normal_dist.member_functions-heading"></a>
- <a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.normal_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.normal_dist.member_functions"></a></span><a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.member_functions">Member
Functions</a>
</h5>
<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>
@@ -94,7 +93,7 @@
is called.
</p>
<pre class="programlisting"><span class="identifier">RealType</span> <span class="identifier">mean</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
-<span class="identifier">RealType</span> <span class="identifier">location</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
+<span class="identifier">RealType</span> <span class="identifier">location</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
</pre>
<p>
both return the <span class="emphasis"><em>mean</em></span> of this distribution.
@@ -108,9 +107,9 @@
distributions, allowing the functions find_location and find_scale to
be used generically).
</p>
-<a name="math_toolkit.dist.dist_ref.dists.normal_dist.non_member_accessors"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.normal_dist.non_member_accessors-heading"></a>
- <a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.normal_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.normal_dist.non_member_accessors"></a></span><a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -130,17 +129,17 @@
the pdf of +∞ and -∞ = 0 is also supported, and cdf at -∞ = 0, cdf at +∞ = 1,
and complement cdf -∞ = 1 and +∞ = 0, if RealType permits.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.normal_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.normal_dist.accuracy-heading"></a>
- <a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.normal_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.normal_dist.accuracy"></a></span><a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.accuracy">Accuracy</a>
</h5>
<p>
The normal distribution is implemented in terms of the <a class="link" href="../../../special/sf_erf/error_function.html" title="Error Functions">error
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="math_toolkit.dist.dist_ref.dists.normal_dist.implementation-heading"></a>
- <a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.normal_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.normal_dist.implementation"></a></span><a class="link" href="normal_dist.html#math_toolkit.dist.dist_ref.dists.normal_dist.implementation">Implementation</a>
</h5>
<p>
In the following table <span class="emphasis"><em>m</em></span> is the mean of the distribution,
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,7 +27,6 @@
<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>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">pareto</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
@@ -85,14 +84,14 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.pareto.related_distributions-heading"></a>
- <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.related_distributions">Related
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.pareto.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.pareto.related_distributions"></a></span><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="math_toolkit.dist.dist_ref.dists.pareto.member_functions-heading"></a>
- <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.pareto.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.pareto.member_functions"></a></span><a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">pareto_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">scale</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">shape</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -116,9 +115,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.pareto.non_member_accessors-heading"></a>
- <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.pareto.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.pareto.non_member_accessors"></a></span><a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -136,9 +135,9 @@
<p>
The supported domain of the random variable is [scale, ∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.pareto.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.pareto.accuracy-heading"></a>
- <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.pareto.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.pareto.accuracy"></a></span><a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.accuracy">Accuracy</a>
</h5>
<p>
The Pareto distribution is implemented in terms of the standard library
@@ -149,9 +148,9 @@
If probability is near to unity (or the complement of a probability near
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="math_toolkit.dist.dist_ref.dists.pareto.implementation-heading"></a>
- <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.pareto.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.pareto.implementation"></a></span><a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.implementation">Implementation</a>
</h5>
<p>
In the following table α   is the shape parameter of the distribution, and
@@ -317,9 +316,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.pareto.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.pareto.references-heading"></a>
- <a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.pareto.h5"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.pareto.references"></a></span><a class="link" href="pareto.html#math_toolkit.dist.dist_ref.dists.pareto.references">References</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">poisson</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span> <span class="special">{</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">poisson_distribution</span><span class="special">;</span>
@@ -43,15 +42,15 @@
<span class="keyword">template</span> <span class="special"><</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">></span>
<span class="keyword">class</span> <span class="identifier">poisson_distribution</span>
-<span class="special">{</span>
+<span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
<span class="keyword">typedef</span> <span class="identifier">RealType</span> <span class="identifier">value_type</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">Policy</span> <span class="identifier">policy_type</span><span class="special">;</span>
-
+
<span class="identifier">poisson_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">mean</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span> <span class="comment">// Constructor.</span>
<span class="identifier">RealType</span> <span class="identifier">mean</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span> <span class="comment">// Accessor.</span>
<span class="special">}</span>
-
+
<span class="special">}}</span> <span class="comment">// namespaces boost::math</span>
</pre>
<p>
@@ -115,9 +114,9 @@
</p>
</td></tr>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.poisson_dist.member_functions"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.poisson_dist.member_functions-heading"></a>
- <a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.poisson_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.poisson_dist.member_functions"></a></span><a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">poisson_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">mean</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -130,9 +129,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.poisson_dist.non_member_accessors-heading"></a>
- <a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.poisson_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.poisson_dist.non_member_accessors"></a></span><a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -150,9 +149,9 @@
<p>
The domain of the random variable is [0, ∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.poisson_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.poisson_dist.accuracy-heading"></a>
- <a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.poisson_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.poisson_dist.accuracy"></a></span><a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.accuracy">Accuracy</a>
</h5>
<p>
The Poisson distribution is implemented in terms of the incomplete gamma
@@ -164,9 +163,9 @@
accurate: this is because the inverse gamma functions are implemented
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="math_toolkit.dist.dist_ref.dists.poisson_dist.implementation-heading"></a>
- <a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.poisson_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.poisson_dist.implementation"></a></span><a class="link" href="poisson_dist.html#math_toolkit.dist.dist_ref.dists.poisson_dist.implementation">Implementation</a>
</h5>
<p>
In the following table λ   is the mean of the distribution, <span class="emphasis"><em>k</em></span>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">rayleigh</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">rayleigh_distribution</span><span class="special">;</span>
@@ -85,9 +84,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.rayleigh.related_distributions-heading"></a>
- <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.related_distributions">Related
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.rayleigh.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.rayleigh.related_distributions"></a></span><a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.related_distributions">Related
distributions</a>
</h5>
<p>
@@ -101,9 +100,9 @@
distributions are generalizations of the <a href="http://en.wikipedia.org/wiki/Rayleigh_distribution" target="_top">Rayleigh
distribution</a>.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.rayleigh.member_functions"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.rayleigh.member_functions-heading"></a>
- <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.rayleigh.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.rayleigh.member_functions"></a></span><a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">rayleigh_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">sigma</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -120,9 +119,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.rayleigh.non_member_accessors-heading"></a>
- <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.rayleigh.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.rayleigh.non_member_accessors"></a></span><a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -140,9 +139,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.rayleigh.accuracy-heading"></a>
- <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.rayleigh.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.rayleigh.accuracy"></a></span><a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.accuracy">Accuracy</a>
</h5>
<p>
The Rayleigh distribution is implemented in terms of the standard library
@@ -150,9 +149,9 @@
error rates. Some constants such as skewness and kurtosis were calculated
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="math_toolkit.dist.dist_ref.dists.rayleigh.implementation-heading"></a>
- <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.rayleigh.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.rayleigh.implementation"></a></span><a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.implementation">Implementation</a>
</h5>
<p>
In the following table σ   is the sigma parameter of the distribution, <span class="emphasis"><em>x</em></span>
@@ -319,9 +318,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.rayleigh.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.rayleigh.references-heading"></a>
- <a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.rayleigh.h5"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.rayleigh.references"></a></span><a class="link" href="rayleigh.html#math_toolkit.dist.dist_ref.dists.rayleigh.references">References</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
t Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">students_t</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">students_t_distribution</span><span class="special">;</span>
@@ -46,13 +45,13 @@
<span class="special">{</span>
<span class="keyword">typedef</span> <span class="identifier">RealType</span> <span class="identifier">value_type</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">Policy</span> <span class="identifier">policy_type</span><span class="special">;</span>
-
+
<span class="comment">// Construct:</span>
<span class="identifier">students_t_distribution</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RealType</span><span class="special">&</span> <span class="identifier">v</span><span class="special">);</span>
-
+
<span class="comment">// Accessor:</span>
<span class="identifier">RealType</span> <span class="identifier">degrees_of_freedom</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
-
+
<span class="comment">// degrees of freedom estimation:</span>
<span class="keyword">static</span> <span class="identifier">RealType</span> <span class="identifier">find_degrees_of_freedom</span><span class="special">(</span>
<span class="identifier">RealType</span> <span class="identifier">difference_from_mean</span><span class="special">,</span>
@@ -96,9 +95,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.students_t_dist.member_functions-heading"></a>
- <a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.students_t_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.students_t_dist.member_functions"></a></span><a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">students_t_distribution</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RealType</span><span class="special">&</span> <span class="identifier">v</span><span class="special">);</span>
@@ -173,9 +172,9 @@
For more information on this function see the <a href="http://www.itl.nist.gov/div898/handbook/prc/section2/prc222.htm" target="_top">NIST
Engineering Statistics Handbook</a>.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.students_t_dist.non_member_accessors"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.students_t_dist.non_member_accessors-heading"></a>
- <a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.students_t_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.students_t_dist.non_member_accessors"></a></span><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>
<p>
@@ -193,26 +192,26 @@
<p>
The domain of the random variable is [-∞, +∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.students_t_dist.examples"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.students_t_dist.examples-heading"></a>
- <a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.examples">Examples</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.students_t_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.students_t_dist.examples"></a></span><a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.examples">Examples</a>
</h5>
<p>
Various <a class="link" href="../../stat_tut/weg/st_eg.html" title="Student's t Distribution Examples">worked examples</a>
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="math_toolkit.dist.dist_ref.dists.students_t_dist.accuracy-heading"></a>
- <a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.students_t_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.students_t_dist.accuracy"></a></span><a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.accuracy">Accuracy</a>
</h5>
<p>
The normal distribution is implemented in terms of the <a class="link" href="../../../special/sf_beta/ibeta_function.html" title="Incomplete Beta Functions">incomplete
beta function</a> and <a class="link" href="../../../special/sf_beta/ibeta_inv_function.html" title="The Incomplete Beta Function Inverses">its
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="math_toolkit.dist.dist_ref.dists.students_t_dist.implementation-heading"></a>
- <a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.students_t_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.students_t_dist.implementation"></a></span><a class="link" href="students_t_dist.html#math_toolkit.dist.dist_ref.dists.students_t_dist.implementation">Implementation</a>
</h5>
<p>
In the following table <span class="emphasis"><em>v</em></span> is the degrees of freedom
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,16 +28,15 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">triangular</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
- <span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+ <span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">triangular_distribution</span><span class="special">;</span>
-
+
<span class="keyword">typedef</span> <span class="identifier">triangular_distribution</span><span class="special"><></span> <span class="identifier">triangular</span><span class="special">;</span>
<span class="keyword">template</span> <span class="special"><</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">></span>
@@ -127,9 +126,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.triangular_dist.member_functions-heading"></a>
- <a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.triangular_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.triangular_dist.member_functions"></a></span><a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">triangular_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">lower</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">mode</span> <span class="special">=</span> <span class="number">0</span> <span class="identifier">RealType</span> <span class="identifier">upper</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -162,9 +161,9 @@
Returns the <span class="emphasis"><em>upper</em></span> parameter of this distribution
(default+1).
</p>
-<a name="math_toolkit.dist.dist_ref.dists.triangular_dist.non_member_accessors"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.triangular_dist.non_member_accessors-heading"></a>
- <a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.triangular_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.triangular_dist.non_member_accessors"></a></span><a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -183,18 +182,18 @@
The domain of the random variable is \lowerto \upper, and the supported
range is lower <= x <= upper.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.triangular_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.triangular_dist.accuracy-heading"></a>
- <a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.triangular_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.triangular_dist.accuracy"></a></span><a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.accuracy">Accuracy</a>
</h5>
<p>
The triangular distribution is implemented with simple arithmetic operators
and so should have errors within an epsilon or two, except quantiles
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="math_toolkit.dist.dist_ref.dists.triangular_dist.implementation-heading"></a>
- <a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.triangular_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.triangular_dist.implementation"></a></span><a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.implementation">Implementation</a>
</h5>
<p>
In the following table, a is the <span class="emphasis"><em>lower</em></span> parameter
@@ -377,9 +376,9 @@
Some 'known good' test values were obtained from <a href="http://espse.ed.psu.edu/edpsych/faculty/rhale/hale/507Mat/statlets/free/pdist.htm" target="_top">Statlet:
Calculate and plot probability distributions</a>
</p>
-<a name="math_toolkit.dist.dist_ref.dists.triangular_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.triangular_dist.references-heading"></a>
- <a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.triangular_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.triangular_dist.references"></a></span><a class="link" href="triangular_dist.html#math_toolkit.dist.dist_ref.dists.triangular_dist.references">References</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,16 +28,15 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">uniform</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
- <span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+ <span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">uniform_distribution</span><span class="special">;</span>
-
+
<span class="keyword">typedef</span> <span class="identifier">uniform_distribution</span><span class="special"><></span> <span class="identifier">uniform</span><span class="special">;</span>
<span class="keyword">template</span> <span class="special"><</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">></span>
@@ -116,9 +115,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.uniform_dist.member_functions-heading"></a>
- <a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.uniform_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.uniform_dist.member_functions"></a></span><a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">uniform_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">lower</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">upper</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -143,9 +142,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.uniform_dist.non_member_accessors-heading"></a>
- <a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.uniform_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.uniform_dist.non_member_accessors"></a></span><a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -164,17 +163,17 @@
The domain of the random variable is any finite value, but the supported
range is only <span class="emphasis"><em>lower</em></span> <= x <= <span class="emphasis"><em>upper</em></span>.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.uniform_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.uniform_dist.accuracy-heading"></a>
- <a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.uniform_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.uniform_dist.accuracy"></a></span><a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.accuracy">Accuracy</a>
</h5>
<p>
The uniform distribution is implemented with simple arithmetic operators
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="math_toolkit.dist.dist_ref.dists.uniform_dist.implementation-heading"></a>
- <a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.uniform_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.uniform_dist.implementation"></a></span><a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.implementation">Implementation</a>
</h5>
<p>
In the following table a is the <span class="emphasis"><em>lower</em></span> parameter
@@ -336,9 +335,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.uniform_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.uniform_dist.references-heading"></a>
- <a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.uniform_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.uniform_dist.references"></a></span><a class="link" href="uniform_dist.html#math_toolkit.dist.dist_ref.dists.uniform_dist.references">References</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,14 +28,13 @@
Distribution</a>
</h5></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">weibull</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span> <span class="special">=</span> <span class="keyword">double</span><span class="special">,</span>
<span class="keyword">class</span> <a class="link" href="../../../policy.html" title="Policies">Policy</a> <span class="special">=</span> <a class="link" href="../../../policy/pol_ref/pol_ref_ref.html" title="Policy Class Reference">policies::policy<></a> <span class="special">></span>
<span class="keyword">class</span> <span class="identifier">weibull_distribution</span><span class="special">;</span>
@@ -99,9 +98,9 @@
<p>
<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="math_toolkit.dist.dist_ref.dists.weibull_dist.related_distributions-heading"></a>
- <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.related_distributions">Related
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.weibull_dist.related_distributions"></a></span><a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.related_distributions">Related
distributions</a>
</h5>
<p>
@@ -113,9 +112,9 @@
distributions, of which the Weibull is but one, is discussed by <a href="http://www.worldscibooks.com/mathematics/p191.html" target="_top">Extreme Value
Distributions, Theory and Applications Samuel Kotz & Saralees Nadarajah</a>.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.member_functions"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.member_functions-heading"></a>
- <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.member_functions">Member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.weibull_dist.member_functions"></a></span><a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.member_functions">Member
Functions</a>
</h5>
<pre class="programlisting"><span class="identifier">weibull_distribution</span><span class="special">(</span><span class="identifier">RealType</span> <span class="identifier">shape</span><span class="special">,</span> <span class="identifier">RealType</span> <span class="identifier">scale</span> <span class="special">=</span> <span class="number">1</span><span class="special">);</span>
@@ -139,9 +138,9 @@
<p>
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="math_toolkit.dist.dist_ref.dists.weibull_dist.non_member_accessors-heading"></a>
- <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.non_member_accessors">Non-member
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.weibull_dist.non_member_accessors"></a></span><a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.non_member_accessors">Non-member
Accessors</a>
</h5>
<p>
@@ -159,9 +158,9 @@
<p>
The domain of the random variable is [0, ∞].
</p>
-<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.accuracy"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.accuracy-heading"></a>
- <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.weibull_dist.accuracy"></a></span><a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.accuracy">Accuracy</a>
</h5>
<p>
The Weibull distribution is implemented in terms of the standard library
@@ -169,9 +168,9 @@
and <a class="link" href="../../../special/powers/log1p.html" title="log1p">log1p</a> and
as such should have very low error rates.
</p>
-<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.implementation"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.implementation-heading"></a>
- <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.weibull_dist.implementation"></a></span><a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.implementation">Implementation</a>
</h5>
<p>
In the following table α   is the shape parameter of the distribution, β   is
@@ -336,9 +335,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.references"></a><h5>
-<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.references-heading"></a>
- <a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.references">References</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.dists.weibull_dist.h5"></a>
+ <span><a name="math_toolkit.dist.dist_ref.dists.weibull_dist.references"></a></span><a class="link" href="weibull_dist.html#math_toolkit.dist.dist_ref.dists.weibull_dist.references">References</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -36,9 +36,9 @@
<a class="link" href="nmp.html#function_index">function index</a> to go straight to
the function you want if you already know its name.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__function_index___function_index"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__function_index___function_index-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__function_index___function_index"><a name="function_index"></a>Function Index</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h0"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__function_index___function_index"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__function_index___function_index"><a name="function_index"></a>Function Index</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -93,9 +93,9 @@
<a class="link" href="nmp.html#math.dist.variance">variance</a>.
</li>
</ul></div>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__concept_index___conceptual_index"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__concept_index___conceptual_index-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__concept_index___conceptual_index"><a name="concept_index"></a>Conceptual Index</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h1"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__concept_index___conceptual_index"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__concept_index___conceptual_index"><a name="concept_index"></a>Conceptual Index</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -179,9 +179,9 @@
<a class="link" href="nmp.html#math.dist.variance">variance</a>.
</li>
</ul></div>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_cdf___cumulative_distribution_function"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_cdf___cumulative_distribution_function-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_cdf___cumulative_distribution_function"><a name="math.dist.cdf"></a>Cumulative Distribution Function</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h2"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_cdf___cumulative_distribution_function"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_cdf___cumulative_distribution_function"><a name="math.dist.cdf"></a>Cumulative Distribution Function</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">cdf</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RealType</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span>
@@ -202,9 +202,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/cdf.png" alt="cdf"></span>
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_ccdf___complement_of_the_cumulative_distribution_function"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_ccdf___complement_of_the_cumulative_distribution_function-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_ccdf___complement_of_the_cumulative_distribution_function"><a name="math.dist.ccdf"></a>Complement of the Cumulative Distribution Function</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h3"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_ccdf___complement_of_the_cumulative_distribution_function"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_ccdf___complement_of_the_cumulative_distribution_function"><a name="math.dist.ccdf"></a>Complement of the Cumulative Distribution Function</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Distribution</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">></span>
<span class="identifier">RealType</span> <span class="identifier">cdf</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Unspecified-Complement-Type</em></span><span class="special"><</span><span class="identifier">Distribution</span><span class="special">,</span> <span class="identifier">RealType</span><span class="special">>&</span> <span class="identifier">comp</span><span class="special">);</span>
@@ -242,9 +242,9 @@
See <a class="link" href="../stat_tut/overview/complements.html#why_complements">why complements?</a> for why the
complement is useful and when it should be used.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_hazard___hazard_function"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_hazard___hazard_function-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_hazard___hazard_function"><a name="math.dist.hazard"></a>Hazard Function</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h4"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_hazard___hazard_function"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_hazard___hazard_function"><a name="math.dist.hazard"></a>Hazard Function</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">hazard</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RealType</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span>
@@ -270,9 +270,9 @@
rather than the hazard function.
</p></td></tr>
</table></div>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_chf___cumulative_hazard_function"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_chf___cumulative_hazard_function-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_chf___cumulative_hazard_function"><a name="math.dist.chf"></a>Cumulative Hazard Function</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h5"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_chf___cumulative_hazard_function"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_chf___cumulative_hazard_function"><a name="math.dist.chf"></a>Cumulative Hazard Function</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">chf</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RealType</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span>
@@ -297,9 +297,9 @@
Some authors refer to this as simply the "Hazard Function".
</p></td></tr>
</table></div>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_mean___mean"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_mean___mean-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_mean___mean"><a name="math.dist.mean"></a>mean</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h6"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_mean___mean"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_mean___mean"><a name="math.dist.mean"></a>mean</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">mean</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">);</span>
@@ -312,9 +312,9 @@
if the distribution does not have a defined mean (for example the Cauchy
distribution).
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_median___median"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_median___median-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_median___median"><a name="math.dist.median"></a>median</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h7"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_median___median"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_median___median"><a name="math.dist.median"></a>median</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">median</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">);</span>
@@ -322,9 +322,9 @@
<p>
Returns the median of the distribution <span class="emphasis"><em>dist</em></span>.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_mode___mode"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_mode___mode-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_mode___mode"><a name="math.dist.mode"></a>mode</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h8"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_mode___mode"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_mode___mode"><a name="math.dist.mode"></a>mode</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">mode</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">);</span>
@@ -336,9 +336,9 @@
This function may return a <a class="link" href="../../main_overview/error_handling.html#domain_error">domain_error</a>
if the distribution does not have a defined mode.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_pdf___probability_density_function"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_pdf___probability_density_function-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_pdf___probability_density_function"><a name="math.dist.pdf"></a>Probability Density Function</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h9"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_pdf___probability_density_function"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_pdf___probability_density_function"><a name="math.dist.pdf"></a>Probability Density Function</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">pdf</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RealType</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span>
@@ -364,9 +364,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/pdf.png" alt="pdf"></span>
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_range___range"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_range___range-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_range___range"><a name="math.dist.range"></a>Range</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h10"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_range___range"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_range___range"><a name="math.dist.range"></a>Range</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</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">></span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <span class="identifier">RealType</span><span class="special">></span> <span class="identifier">range</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">);</span>
@@ -374,9 +374,9 @@
<p>
Returns the valid range of the random variable over distribution <span class="emphasis"><em>dist</em></span>.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_quantile___quantile"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_quantile___quantile-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_quantile___quantile"><a name="math.dist.quantile"></a>Quantile</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h11"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_quantile___quantile"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_quantile___quantile"><a name="math.dist.quantile"></a>Quantile</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">quantile</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RealType</span><span class="special">&</span> <span class="identifier">p</span><span class="special">);</span>
@@ -404,9 +404,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/quantile.png" alt="quantile"></span>
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_quantile_c___quantile_from_the_complement_of_the_probability_"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_quantile_c___quantile_from_the_complement_of_the_probability_-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_quantile_c___quantile_from_the_complement_of_the_probability_"><a name="math.dist.quantile_c"></a>Quantile from the complement of the probability.</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h12"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_quantile_c___quantile_from_the_complement_of_the_probability_"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_quantile_c___quantile_from_the_complement_of_the_probability_"><a name="math.dist.quantile_c"></a>Quantile from the complement of the probability.</a>
</h5>
<p>
<a class="link" href="../stat_tut/overview/complements.html#complements">complements</a>
@@ -449,9 +449,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/survival_inv.png" alt="survival_inv"></span>
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_sd___standard_deviation"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_sd___standard_deviation-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_sd___standard_deviation"><a name="math.dist.sd"></a>Standard Deviation</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h13"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_sd___standard_deviation"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_sd___standard_deviation"><a name="math.dist.sd"></a>Standard Deviation</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">standard_deviation</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">);</span>
@@ -463,9 +463,9 @@
This function may return a <a class="link" href="../../main_overview/error_handling.html#domain_error">domain_error</a>
if the distribution does not have a defined standard deviation.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_support___support"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_support___support-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_support___support"><a name="math.dist.support"></a>support</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h14"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_support___support"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_support___support"><a name="math.dist.support"></a>support</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</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">></span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <span class="identifier">RealType</span><span class="special">></span> <span class="identifier">support</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">);</span>
@@ -480,9 +480,9 @@
that has the cdf going from zero to unity. Outside are uninteresting zones
where the pdf is zero, and the cdf zero or unity.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_variance___variance"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_variance___variance-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_variance___variance"><a name="math.dist.variance"></a>Variance</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h15"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_variance___variance"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_variance___variance"><a name="math.dist.variance"></a>Variance</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">variance</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">);</span>
@@ -494,9 +494,9 @@
This function may return a <a class="link" href="../../main_overview/error_handling.html#domain_error">domain_error</a>
if the distribution does not have a defined variance.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_skewness___skewness"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_skewness___skewness-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_skewness___skewness"><a name="math.dist.skewness"></a>Skewness</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h16"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_skewness___skewness"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_skewness___skewness"><a name="math.dist.skewness"></a>Skewness</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">skewness</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">);</span>
@@ -508,9 +508,9 @@
This function may return a <a class="link" href="../../main_overview/error_handling.html#domain_error">domain_error</a>
if the distribution does not have a defined skewness.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_kurtosis___kurtosis"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_kurtosis___kurtosis-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_kurtosis___kurtosis"><a name="math.dist.kurtosis"></a>Kurtosis</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h17"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_kurtosis___kurtosis"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_kurtosis___kurtosis"><a name="math.dist.kurtosis"></a>Kurtosis</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">kurtosis</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">);</span>
@@ -550,9 +550,9 @@
<p>
'Proper' kurtosis can have a value from zero to + infinity.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_kurtosis_excess___kurtosis_excess"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_kurtosis_excess___kurtosis_excess-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_kurtosis_excess___kurtosis_excess"><a name="math.dist.kurtosis_excess"></a>Kurtosis excess</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h18"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_kurtosis_excess___kurtosis_excess"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_kurtosis_excess___kurtosis_excess"><a name="math.dist.kurtosis_excess"></a>Kurtosis excess</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</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">></span>
<span class="identifier">RealType</span> <span class="identifier">kurtosis_excess</span><span class="special">(</span><span class="keyword">const</span> <span class="emphasis"><em>Distribution-Type</em></span><span class="special"><</span><span class="identifier">RealType</span><span class="special">,</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">>&</span> <span class="identifier">dist</span><span class="special">);</span>
@@ -584,9 +584,9 @@
<p>
The kurtosis excess of a normal distribution is zero.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__cdfpq___p_and_q"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__cdfpq___p_and_q-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__cdfpq___p_and_q"><a name="cdfPQ"></a>P and Q</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h19"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__cdfpq___p_and_q"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__cdfpq___p_and_q"><a name="cdfPQ"></a>P and Q</a>
</h5>
<p>
The terms P and Q are sometimes used to refer to the <a class="link" href="nmp.html#math.dist.cdf">Cumulative
@@ -594,32 +594,32 @@
respectively. Lowercase p and q are sometimes used to refer to the values
returned by these functions.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__percent___percent_point_function_or_percentile"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__percent___percent_point_function_or_percentile-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__percent___percent_point_function_or_percentile"><a name="percent"></a>Percent Point Function or Percentile</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h20"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__percent___percent_point_function_or_percentile"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__percent___percent_point_function_or_percentile"><a name="percent"></a>Percent Point Function or Percentile</a>
</h5>
<p>
The percent point function, also known as the percentile, is the same as
the <a class="link" href="nmp.html#math.dist.quantile">Quantile</a>.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__cdf_inv___inverse_cdf_function_"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__cdf_inv___inverse_cdf_function_-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__cdf_inv___inverse_cdf_function_"><a name="cdf_inv"></a>Inverse CDF Function.</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h21"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__cdf_inv___inverse_cdf_function_"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__cdf_inv___inverse_cdf_function_"><a name="cdf_inv"></a>Inverse CDF Function.</a>
</h5>
<p>
The inverse of the cumulative distribution function, is the same as the
<a class="link" href="nmp.html#math.dist.quantile">Quantile</a>.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__survival_inv___inverse_survival_function_"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__survival_inv___inverse_survival_function_-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__survival_inv___inverse_survival_function_"><a name="survival_inv"></a>Inverse Survival Function.</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h22"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__survival_inv___inverse_survival_function_"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__survival_inv___inverse_survival_function_"><a name="survival_inv"></a>Inverse Survival Function.</a>
</h5>
<p>
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="math_toolkit.dist.dist_ref.nmp._anchor_id__pmf___probability_mass_function"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__pmf___probability_mass_function-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__pmf___probability_mass_function"><a name="pmf"></a>Probability Mass Function</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h23"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__pmf___probability_mass_function"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__pmf___probability_mass_function"><a name="pmf"></a>Probability Mass Function</a>
</h5>
<p>
The Probability Mass Function is the same as the <a class="link" href="nmp.html#math.dist.pdf">Probability
@@ -630,18 +630,18 @@
the term <a class="link" href="nmp.html#math.dist.pdf">Probability Density Function</a>
applies to continuous distributions.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__lower_critical___lower_critical_value_"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__lower_critical___lower_critical_value_-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__lower_critical___lower_critical_value_"><a name="lower_critical"></a>Lower Critical Value.</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h24"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__lower_critical___lower_critical_value_"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__lower_critical___lower_critical_value_"><a name="lower_critical"></a>Lower Critical Value.</a>
</h5>
<p>
The lower critical value calculates the value of the random variable given
the area under the left tail of the distribution. It is equivalent to calculating
the <a class="link" href="nmp.html#math.dist.quantile">Quantile</a>.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__upper_critical___upper_critical_value_"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__upper_critical___upper_critical_value_-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__upper_critical___upper_critical_value_"><a name="upper_critical"></a>Upper Critical Value.</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h25"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__upper_critical___upper_critical_value_"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__upper_critical___upper_critical_value_"><a name="upper_critical"></a>Upper Critical Value.</a>
</h5>
<p>
The upper critical value calculates the value of the random variable given
@@ -649,9 +649,9 @@
calculating the <a class="link" href="nmp.html#math.dist.quantile_c">quantile from the
complement of the probability</a>.
</p>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__survival___survival_function"></a><h5>
-<a name="math_toolkit.dist.dist_ref.nmp._anchor_id__survival___survival_function-heading"></a>
- <a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__survival___survival_function"><a name="survival"></a>Survival Function</a>
+<h5>
+<a name="math_toolkit.dist.dist_ref.nmp.h26"></a>
+ <span><a name="math_toolkit.dist.dist_ref.nmp._anchor_id__survival___survival_function"></a></span><a class="link" href="nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__survival___survival_function"><a name="survival"></a>Survival Function</a>
</h5>
<p>
Refer to the <a class="link" href="nmp.html#math.dist.ccdf">Complement of the Cumulative
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,9 +26,9 @@
<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>
</h3></div></div></div>
-<a name="math_toolkit.dist.future.adding_additional_location_and_scale_parameters"></a><h5>
-<a name="math_toolkit.dist.future.adding_additional_location_and_scale_parameters-heading"></a>
- <a class="link" href="future.html#math_toolkit.dist.future.adding_additional_location_and_scale_parameters">Adding
+<h5>
+<a name="math_toolkit.dist.future.h0"></a>
+ <span><a name="math_toolkit.dist.future.adding_additional_location_and_scale_parameters"></a></span><a class="link" href="future.html#math_toolkit.dist.future.adding_additional_location_and_scale_parameters">Adding
Additional Location and Scale Parameters</a>
</h5>
<p>
@@ -45,7 +45,7 @@
<span class="keyword">class</span> <span class="identifier">scaled_distribution</span>
<span class="special">{</span>
<span class="identifier">scaled_distribution</span><span class="special">(</span>
- <span class="keyword">const</span> <span class="identifier">Dist</span> <span class="identifier">dist</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">Dist</span> <span class="identifier">dist</span><span class="special">,</span>
<span class="keyword">typename</span> <span class="identifier">Dist</span><span class="special">::</span><span class="identifier">value_type</span> <span class="identifier">location</span><span class="special">,</span>
<span class="keyword">typename</span> <span class="identifier">Dist</span><span class="special">::</span><span class="identifier">value_type</span> <span class="identifier">scale</span> <span class="special">=</span> <span class="number">0</span><span class="special">);</span>
<span class="special">};</span>
@@ -54,9 +54,9 @@
Which would then have its own set of overloads for the non-member accessor
functions.
</p>
-<a name="math_toolkit.dist.future.an__quot_any_distribution_quot__class"></a><h5>
-<a name="math_toolkit.dist.future.an__quot_any_distribution_quot__class-heading"></a>
- <a class="link" href="future.html#math_toolkit.dist.future.an__quot_any_distribution_quot__class">An
+<h5>
+<a name="math_toolkit.dist.future.h1"></a>
+ <span><a name="math_toolkit.dist.future.an__quot_any_distribution_quot__class"></a></span><a class="link" href="future.html#math_toolkit.dist.future.an__quot_any_distribution_quot__class">An
"any_distribution" class</a>
</h5>
<p>
@@ -90,10 +90,10 @@
tests for goodness of fit might provide such a use case: this needs more
investigation.
</p>
-<a name="math_toolkit.dist.future.higher_level_hypothesis_tests"></a><h5>
-<a name="math_toolkit.dist.future.higher_level_hypothesis_tests-heading"></a>
- <a class="link" href="future.html#math_toolkit.dist.future.higher_level_hypothesis_tests">Higher
- Level Hypothesis Tests</a>
+<h5>
+<a name="math_toolkit.dist.future.h2"></a>
+ <span><a name="math_toolkit.dist.future.higher_level_hypothesis_tests"></a></span><a class="link" href="future.html#math_toolkit.dist.future.higher_level_hypothesis_tests">Higher Level
+ Hypothesis Tests</a>
</h5>
<p>
Higher-level tests roughly corresponding to the <a href="http://documents.wolfram.com/mathematica/Add-onsLinks/StandardPackages/Statistics/HypothesisTests.html" target="_top">Mathematica
@@ -110,9 +110,9 @@
Returns the probability that the data in the sequence [a,b) has the mean
<span class="emphasis"><em>expected_mean</em></span>.
</p>
-<a name="math_toolkit.dist.future.integration_with_statistical_accumulators"></a><h5>
-<a name="math_toolkit.dist.future.integration_with_statistical_accumulators-heading"></a>
- <a class="link" href="future.html#math_toolkit.dist.future.integration_with_statistical_accumulators">Integration
+<h5>
+<a name="math_toolkit.dist.future.h3"></a>
+ <span><a name="math_toolkit.dist.future.integration_with_statistical_accumulators"></a></span><a class="link" href="future.html#math_toolkit.dist.future.integration_with_statistical_accumulators">Integration
With Statistical Accumulators</a>
</h5>
<p>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -145,10 +145,10 @@
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">fixed</span> <span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="number">5</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">15</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span> <span class="special"><<</span> <span class="identifier">u</span><span class="special">;</span>
<span class="comment">// Calculate Jeffreys Prior Bounds:</span>
<span class="identifier">l</span> <span class="special">=</span> <span class="identifier">binomial_distribution</span><span class="special"><>::</span><span class="identifier">find_lower_bound_on_p</span><span class="special">(</span>
- <span class="identifier">trials</span><span class="special">,</span> <span class="identifier">successes</span><span class="special">,</span> <span class="identifier">alpha</span><span class="special">[</span><span class="identifier">i</span><span class="special">]/</span><span class="number">2</span><span class="special">,</span>
+ <span class="identifier">trials</span><span class="special">,</span> <span class="identifier">successes</span><span class="special">,</span> <span class="identifier">alpha</span><span class="special">[</span><span class="identifier">i</span><span class="special">]/</span><span class="number">2</span><span class="special">,</span>
<span class="identifier">binomial_distribution</span><span class="special"><>::</span><span class="identifier">jeffreys_prior_interval</span><span class="special">);</span>
<span class="identifier">u</span> <span class="special">=</span> <span class="identifier">binomial_distribution</span><span class="special"><>::</span><span class="identifier">find_upper_bound_on_p</span><span class="special">(</span>
- <span class="identifier">trials</span><span class="special">,</span> <span class="identifier">successes</span><span class="special">,</span> <span class="identifier">alpha</span><span class="special">[</span><span class="identifier">i</span><span class="special">]/</span><span class="number">2</span><span class="special">,</span>
+ <span class="identifier">trials</span><span class="special">,</span> <span class="identifier">successes</span><span class="special">,</span> <span class="identifier">alpha</span><span class="special">[</span><span class="identifier">i</span><span class="special">]/</span><span class="number">2</span><span class="special">,</span>
<span class="identifier">binomial_distribution</span><span class="special"><>::</span><span class="identifier">jeffreys_prior_interval</span><span class="special">);</span>
<span class="comment">// Print Jeffreys Prior Limits:</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">fixed</span> <span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="number">5</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">15</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span> <span class="special"><<</span> <span class="identifier">l</span><span class="special">;</span>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -53,7 +53,6 @@
the binomial distribution, some std input and output, and get started:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">binomial</span><span class="special">.</span><span class="identifier">hpp</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">binomial</span><span class="special">;</span>
@@ -79,7 +78,6 @@
1/2, and how many flips.
</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>
@@ -92,7 +90,6 @@
Then some examples of using Binomial moments (and echoing the parameters).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"From "</span> <span class="special"><<</span> <span class="identifier">flips</span> <span class="special"><<</span> <span class="string">" one can expect to get on average "</span>
<span class="special"><<</span> <span class="identifier">mean</span><span class="special">(</span><span class="identifier">flip</span><span class="special">)</span> <span class="special"><<</span> <span class="string">" heads (or tails)."</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -113,7 +110,6 @@
Now we show a variety of predictions on the probability of heads:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"For "</span> <span class="special"><<</span> <span class="identifier">flip</span><span class="special">.</span><span class="identifier">trials</span><span class="special">()</span> <span class="special"><<</span> <span class="string">" coin flips: "</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting no heads is "</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"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -125,7 +121,6 @@
can sum the PDF's:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting 0 or 1 heads is "</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">+</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"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// sum of exactly == probabilities</span></pre>
@@ -135,7 +130,6 @@
Or we can use the cdf.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting 0 or 1 (<= 1) heads is "</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">1</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting 9 or 10 heads is "</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">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"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
@@ -145,7 +139,6 @@
Note that using
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting 9 or 10 heads is "</span> <span class="special"><<</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"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
@@ -154,7 +147,6 @@
is less accurate than using the complement
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting 9 or 10 heads is "</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">flip</span><span class="special">,</span> <span class="number">8</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
@@ -170,7 +162,6 @@
pdfs for each number of heads
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</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>
@@ -181,7 +172,6 @@
But this is probably less efficient than using the cdf
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of between 4 and 6 heads (4 or 5 or 6) is "</span>
<span class="comment">// P(X <= 6) - P(X <= 3) == P(X < 4)</span>
@@ -192,7 +182,6 @@
Certainly for a bigger range like, 3 to 7
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of between 3 and 7 heads (3, 4, 5, 6 or 7) is "</span>
<span class="comment">// P(X <= 7) - P(X <= 2) == P(X < 3)</span>
@@ -205,7 +194,6 @@
and <span class="emphasis"><em>at least</em></span> a number of heads.
</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"><<</span> <span class="string">"Probability of getting exactly (==) heads"</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -234,7 +222,6 @@
The last (0 to 10 heads) must, of course, be 100% probability.
</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">&</span> <span class="identifier">e</span><span class="special">)</span>
@@ -253,7 +240,6 @@
as to the cause of the problem.
</p>
<p>
-
</p>
<pre class="programlisting"> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span>
<span class="string">"\n"</span><span class="string">"Message from thrown exception was:\n "</span> <span class="special"><<</span> <span class="identifier">e</span><span class="special">.</span><span class="identifier">what</span><span class="special">()</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -44,7 +44,6 @@
(and some std input/output, of course).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">binomial</span><span class="special">.</span><span class="identifier">hpp</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">binomial</span><span class="special">;</span>
@@ -67,7 +66,6 @@
fraction probability p. So we construct a binomial distribution:
</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>
@@ -79,7 +77,6 @@
and display the distribution parameters we used thus:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"In a quiz with "</span> <span class="special"><<</span> <span class="identifier">quiz</span><span class="special">.</span><span class="identifier">trials</span><span class="special">()</span>
<span class="special"><<</span> <span class="string">" questions and with a probability of guessing right of "</span>
@@ -91,7 +88,6 @@
Show a few probabilities of just guessing:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting none right is "</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">0</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.010023</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting exactly one right is "</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"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -116,7 +112,6 @@
We can tabulate the 'getting exactly right' ( == ) probabilities thus:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"\n"</span> <span class="string">"Guessed Probability"</span> <span class="special"><<</span> <span class="identifier">right</span> <span class="special"><<</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"><=</span> <span class="identifier">questions</span><span class="special">;</span> <span class="identifier">successes</span><span class="special">++)</span>
@@ -150,7 +145,6 @@
Then we can add the probabilities of some 'exactly right' like this:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting none or one right is "</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">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"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
@@ -163,7 +157,6 @@
(cdf) instead:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting none or one right is "</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">1</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
@@ -175,7 +168,6 @@
to 10 right ( <= )
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting <= 10 right (to fail) is "</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">endl</span><span class="special">;</span></pre>
<p>
@@ -184,14 +176,13 @@
</pre>
<p>
To get the probability of getting 11 or more right (to pass), it is
- tempting to use
+ 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 > 10
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting > 10 right (to pass) is "</span> <span class="special"><<</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"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
@@ -203,7 +194,6 @@
<a class="link" href="../../overview/complements.html#why_complements">Why complements?</a>
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting > 10 right (to pass) is "</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="identifier">endl</span><span class="special">;</span></pre>
<p>
@@ -214,7 +204,6 @@
And we can check that these two, <= 10 and > 10, add up to unity.
</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>
@@ -224,7 +213,6 @@
we must subtract one from the score.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting less than "</span> <span class="special"><<</span> <span class="identifier">pass_score</span>
<span class="special"><<</span> <span class="string">" (< "</span> <span class="special"><<</span> <span class="identifier">pass_score</span> <span class="special"><<</span> <span class="string">") answers right by guessing is "</span>
@@ -241,7 +229,6 @@
would be one possible outcome counted twice!
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting at least "</span> <span class="special"><<</span> <span class="identifier">pass_score</span>
<span class="special"><<</span> <span class="string">"(>= "</span> <span class="special"><<</span> <span class="identifier">pass_score</span> <span class="special"><<</span> <span class="string">") answers right by guessing is "</span>
@@ -257,7 +244,6 @@
Finally we can tabulate some probabilities:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"\n"</span> <span class="string">"At most (<=)"</span><span class="string">"\n"</span><span class="string">"Guessed OK Probability"</span> <span class="special"><<</span> <span class="identifier">right</span> <span class="special"><<</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"><=</span> <span class="identifier">questions</span><span class="special">;</span> <span class="identifier">score</span><span class="special">++)</span>
@@ -289,7 +275,6 @@
16 1
</pre>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"\n"</span> <span class="string">"At least (>)"</span><span class="string">"\n"</span><span class="string">"Guessed OK Probability"</span> <span class="special"><<</span> <span class="identifier">right</span> <span class="special"><<</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"><=</span> <span class="identifier">questions</span><span class="special">;</span> <span class="identifier">score</span><span class="special">++)</span>
@@ -328,7 +313,6 @@
by adding the exact probabilities of each from low ... high.
</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.</span>
@@ -349,7 +333,6 @@
Or, usually better, we can use the difference of cdfs instead:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of getting between "</span> <span class="special"><<</span> <span class="identifier">low</span> <span class="special"><<</span> <span class="string">" and "</span> <span class="special"><<</span> <span class="identifier">high</span> <span class="special"><<</span> <span class="string">" answers right by guessing is "</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">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"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.61323</span></pre>
@@ -361,7 +344,6 @@
And we can also try a few more combinations of high and low choices:
</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"><<</span> <span class="string">"Probability of getting between "</span> <span class="special"><<</span> <span class="identifier">low</span> <span class="special"><<</span> <span class="string">" and "</span> <span class="special"><<</span> <span class="identifier">high</span> <span class="special"><<</span> <span class="string">" answers right by guessing is "</span>
@@ -378,9 +360,9 @@
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="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.using_binomial_distribution_moments-heading"></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
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.h0"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.using_binomial_distribution_moments"></a></span><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>
@@ -388,7 +370,6 @@
of results from guessing.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"By guessing, on average, one can expect to get "</span> <span class="special"><<</span> <span class="identifier">mean</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">)</span> <span class="special"><<</span> <span class="string">" correct answers."</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Standard deviation is "</span> <span class="special"><<</span> <span class="identifier">standard_deviation</span><span class="special">(</span><span class="identifier">quiz</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -405,16 +386,15 @@
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="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.quantiles-heading"></a>
- <a class="link" href="binomial_quiz_example.html#math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.quantiles">Quantiles</a>
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.h1"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.binom_eg.binomial_quiz_example.quantiles"></a></span><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>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Quartiles "</span> <span class="special"><<</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"><<</span> <span class="string">" to "</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">quiz</span><span class="special">,</span> <span class="number">0.25</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// Quartiles</span>
@@ -472,7 +452,6 @@
real (here avoiding any 'using namespaces ...' statements):
</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>
@@ -482,17 +461,16 @@
<p>
</p>
<p>
- Add a custom binomial distribution called
+ 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>
<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"><</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">real_quantile_policy</span><span class="special">></span> <span class="identifier">real_quantile_binomial</span><span class="special">;</span></pre>
@@ -502,7 +480,6 @@
Construct an object of this custom distribution:
</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>
@@ -512,7 +489,6 @@
integer values.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Quartiles "</span> <span class="special"><<</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"><<</span> <span class="string">" to "</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">quiz_real</span><span class="special">,</span> <span class="number">0.25</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// Quartiles 2 to 4.6212</span>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -138,9 +138,9 @@
So at the 95% confidence level we conclude that the standard deviation
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="math_toolkit.dist.stat_tut.weg.cs_eg.chi_sq_intervals.confidence_intervals_as_a_function_of_the_number_of_observations-heading"></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
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.cs_eg.chi_sq_intervals.h0"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.cs_eg.chi_sq_intervals.confidence_intervals_as_a_function_of_the_number_of_observations"></a></span><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>
<p>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -45,7 +45,6 @@
(and the binomial, beta and gamma too).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">negative_binomial</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></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.</span>
@@ -64,7 +63,6 @@
fraction 0.25, 25% or 1 in 4, is constructed like this:
</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"><</span><span class="keyword">double</span><span class="special">></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>
@@ -73,7 +71,6 @@
But this is inconveniently long, so we might be tempted to write
</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>
@@ -83,7 +80,6 @@
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>
<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>
@@ -97,7 +93,6 @@
double, so we can also write:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">negative_binomial_distribution</span><span class="special"><></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>
@@ -124,7 +119,6 @@
So, after a using statement,
</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>
@@ -133,7 +127,6 @@
we have a convenient typedef to <code class="computeroutput"><span class="identifier">negative_binomial_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span></code>:
</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>
@@ -142,7 +135,6 @@
Some more examples using the convenience typedef:
</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>
@@ -151,7 +143,6 @@
And automatic conversion takes place, so you can use integers and floats:
</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>
@@ -160,7 +151,6 @@
This is probably the most common usage.
</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>
@@ -170,7 +160,6 @@
Similarly for most other distributions like the binomial.
</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"><></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>
@@ -196,7 +185,6 @@
Instead you should 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_distribution</span><span class="special">;</span>
<span class="identifier">beta_distribution</span><span class="special"><></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>
@@ -206,7 +194,6 @@
or for the gamma distribution:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">gamma_distribution</span><span class="special"><></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>
@@ -215,7 +202,6 @@
We can, of course, still provide the type explicitly thus:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="comment">// Explicit double precision:</span>
<span class="identifier">negative_binomial_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">></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>
@@ -245,9 +231,9 @@
</p>
<pre class="programlisting"><span class="identifier">negative_binomial_distribution</span><span class="special"><</span><span class="identifier">MyFPType</span><span class="special">></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 -> MyFPType.</span>
</pre>
-<a name="math_toolkit.dist.stat_tut.weg.dist_construct_eg.default_arguments_to_distribution_constructors_"></a><h6>
-<a name="math_toolkit.dist.stat_tut.weg.dist_construct_eg.default_arguments_to_distribution_constructors_-heading"></a>
- <a class="link" href="dist_construct_eg.html#math_toolkit.dist.stat_tut.weg.dist_construct_eg.default_arguments_to_distribution_constructors_">Default
+<h6>
+<a name="math_toolkit.dist.stat_tut.weg.dist_construct_eg.h0"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.dist_construct_eg.default_arguments_to_distribution_constructors_"></a></span><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>
@@ -271,7 +257,6 @@
So in this case we can write:
</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>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -79,7 +79,6 @@
We'll begin our sample program with the needed includes:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="comment">// Boost</span>
<span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">students_t</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -103,7 +102,6 @@
handle either an exception or a NaN:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -32,7 +32,6 @@
algorithms to find location (and some std output of course).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></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.</span>
@@ -61,7 +60,6 @@
also the default for this implementation.
</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>
@@ -73,14 +71,13 @@
certain chosen limit (here -2, two standard deviations).
</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</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</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="special"><<</span> <span class="string">", standard deviation "</span> <span class="special"><<</span> <span class="identifier">N01</span><span class="special">.</span><span class="identifier">scale</span><span class="special">()</span>
- <span class="special"><<</span> <span class="string">", has "</span> <span class="special"><<</span> <span class="string">"fraction <= "</span> <span class="special"><<</span> <span class="identifier">z</span>
+ <span class="special"><<</span> <span class="string">", has "</span> <span class="special"><<</span> <span class="string">"fraction <= "</span> <span class="special"><<</span> <span class="identifier">z</span>
<span class="special"><<</span> <span class="string">", p = "</span> <span class="special"><<</span> <span class="identifier">cdf</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"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</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="special"><<</span> <span class="string">", standard deviation "</span> <span class="special"><<</span> <span class="identifier">N01</span><span class="special">.</span><span class="identifier">scale</span><span class="special">()</span>
@@ -95,7 +92,6 @@
We can now use ''find_location'' to give a new offset mean.
</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"><</span><span class="identifier">normal</span><span class="special">>(</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"><<</span> <span class="string">"offset location (mean) = "</span> <span class="special"><<</span> <span class="identifier">l</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
@@ -115,7 +111,6 @@
a new distribution with the offset mean (but same standard deviation):
</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>
@@ -124,22 +119,21 @@
And re-calculating the fraction below our chosen limit.
</p>
<p>
-
</p>
-<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span>
- <span class="special"><<</span> <span class="string">" has "</span> <span class="special"><<</span> <span class="string">"fraction <= "</span> <span class="special"><<</span> <span class="identifier">z</span>
+<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span>
+ <span class="special"><<</span> <span class="string">" has "</span> <span class="special"><<</span> <span class="string">"fraction <= "</span> <span class="special"><<</span> <span class="identifier">z</span>
<span class="special"><<</span> <span class="string">", p = "</span> <span class="special"><<</span> <span class="identifier">cdf</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"><<</span> <span class="identifier">endl</span><span class="special">;</span>
- <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span>
- <span class="special"><<</span> <span class="string">" has "</span> <span class="special"><<</span> <span class="string">"fraction > "</span> <span class="special"><<</span> <span class="identifier">z</span>
+ <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span>
+ <span class="special"><<</span> <span class="string">" has "</span> <span class="special"><<</span> <span class="string">"fraction > "</span> <span class="special"><<</span> <span class="identifier">z</span>
<span class="special"><<</span> <span class="string">", p = "</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">np001pc</span><span class="special">,</span> <span class="identifier">z</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
</p>
<pre class="programlisting">Normal distribution with mean = 1.09023 has fraction <= -2, p = 0.001
Normal distribution with mean = 1.09023 has fraction > -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="math_toolkit.dist.stat_tut.weg.find_eg.find_location_eg.controlling_error_handling_from_find_location-heading"></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
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_location_eg.h0"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.find_eg.find_location_eg.controlling_error_handling_from_find_location"></a></span><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>
@@ -151,7 +145,6 @@
Unless we are using the boost::math namespace, we will need:
</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>
@@ -163,7 +156,6 @@
it is not required, as the various examples below show.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">policy</span><span class="special"><</span><span class="identifier">domain_error</span><span class="special"><</span><span class="identifier">ignore_error</span><span class="special">></span> <span class="special">></span> <span class="identifier">ignore_domain_policy</span><span class="special">;</span>
<span class="comment">// find_location with new policy, using typedef.</span>
@@ -183,16 +175,15 @@
use the complement version.
</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.</span>
<span class="identifier">l</span> <span class="special">=</span> <span class="identifier">find_location</span><span class="special"><</span><span class="identifier">normal</span><span class="special">>(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">z</span><span class="special">,</span> <span class="identifier">q</span><span class="special">,</span> <span class="identifier">sd</span><span class="special">));</span>
<span class="identifier">normal</span> <span class="identifier">np95pc</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>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span> <span class="special"><<</span> <span class="string">" has "</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span> <span class="special"><<</span> <span class="string">" has "</span>
<span class="special"><<</span> <span class="string">"fraction <= "</span> <span class="special"><<</span> <span class="identifier">z</span> <span class="special"><<</span> <span class="string">" = "</span> <span class="special"><<</span> <span class="identifier">cdf</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"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span> <span class="special"><<</span> <span class="string">" has "</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span> <span class="special"><<</span> <span class="string">" has "</span>
<span class="special"><<</span> <span class="string">"fraction > "</span> <span class="special"><<</span> <span class="identifier">z</span> <span class="special"><<</span> <span class="string">" = "</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">np95pc</span><span class="special">,</span> <span class="identifier">z</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
</pre>
<p>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -32,7 +32,6 @@
algorithms to find location and scale (and some std output of course).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></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.</span>
@@ -56,9 +55,9 @@
</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="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-heading"></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
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.h0"></a>
+ <span><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></span><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>
@@ -75,7 +74,6 @@
We start by constructing a normal distribution with the given parameters:
</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>
@@ -87,7 +85,6 @@
3.1 kg.
</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"><<</span> <span class="string">"Percentage of packs > "</span> <span class="special"><<</span> <span class="identifier">max_weight</span> <span class="special"><<</span> <span class="string">" is "</span>
@@ -104,7 +101,6 @@
fail to meet the specification of 2.9 kg.
</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"><<</span><span class="string">"Fraction of packs <= "</span> <span class="special"><<</span> <span class="identifier">minimum_weight</span> <span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">mean</span>
@@ -126,7 +122,6 @@
'xpacks' with a safety margin mean of 3.06449 thus:
</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>
@@ -141,7 +136,6 @@
thus:
</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>
@@ -163,7 +157,6 @@
To use this we will need to
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">find_location</span><span class="special">.</span><span class="identifier">hpp</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">find_location</span><span class="special">;</span></pre>
@@ -174,7 +167,6 @@
a new normal distribution called 'goodpacks'.
</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"><</span><span class="identifier">normal</span><span class="special">>(</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>
@@ -184,7 +176,6 @@
with the same confirmation as before:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Setting the packer to "</span> <span class="special"><<</span> <span class="identifier">nominal_mean</span> <span class="special"><<</span> <span class="string">" will mean that "</span>
<span class="special"><<</span> <span class="string">"fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">minimum_weight</span>
@@ -192,9 +183,9 @@
<span class="comment">// Setting the packer to 3.06449 will mean that fraction of packs >= 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="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.using_cauchy_lorentz_instead_of_normal_distribution-heading"></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
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.h1"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.using_cauchy_lorentz_instead_of_normal_distribution"></a></span><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>
@@ -217,7 +208,6 @@
and estimate the fraction that lie below our minimum weight specification.
</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"><<</span> <span class="string">"Cauchy Setting the packer to "</span> <span class="special"><<</span> <span class="identifier">mean</span> <span class="special"><<</span> <span class="string">" will mean that "</span>
@@ -232,7 +222,6 @@
as template parameter, in place of the normal used above.
</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"><</span><span class="identifier">cauchy</span><span class="special">>(</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"><<</span> <span class="string">"find_location<cauchy>(minimum_weight, over fraction, standard_deviation); "</span> <span class="special"><<</span> <span class="identifier">lc</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -247,7 +236,6 @@
And again confirm that the fraction meeting specification is as expected.
</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"><<</span> <span class="string">"Cauchy Setting the packer to "</span> <span class="special"><<</span> <span class="identifier">lc</span> <span class="special"><<</span> <span class="string">" will mean that "</span>
@@ -261,7 +249,6 @@
that 99% of packs met the specification.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Cauchy Setting the packer to "</span>
<span class="special"><<</span> <span class="identifier">find_location</span><span class="special"><</span><span class="identifier">cauchy</span><span class="special">>(</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>
@@ -304,9 +291,9 @@
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="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.changing_the_scale_or_standard_deviation-heading"></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
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.h2"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.find_eg.find_mean_and_sd_eg.changing_the_scale_or_standard_deviation"></a></span><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>
@@ -323,7 +310,6 @@
under_weight limit, 2.9
</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"><<</span> <span class="string">"Quantile of "</span> <span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="string">" = "</span> <span class="special"><<</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>
@@ -343,7 +329,6 @@
standard deviation of 0.05 kg.
</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"><<</span> <span class="string">"Quantile of "</span> <span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="string">" = "</span> <span class="special"><<</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>
@@ -363,7 +348,6 @@
to 0.06 kg, constructing another new distribution called pack06.
</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"><<</span> <span class="string">"Quantile of "</span> <span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="string">" = "</span> <span class="special"><<</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>
@@ -402,7 +386,6 @@
Rearranging, we can directly calculate the required standard deviation:
</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>
@@ -419,7 +402,6 @@
packer, and check that our distribution will meet the specification.
</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"><<</span><span class="string">"Fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">minimum_weight</span> <span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">mean</span>
@@ -433,7 +415,6 @@
shown below, giving the same standard deviation.
</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"><</span><span class="identifier">normal</span><span class="special">>(</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"><<</span> <span class="string">"find_scale<normal>(minimum_weight, under_fraction, packs.mean()); "</span> <span class="special"><<</span> <span class="identifier">ss</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -444,7 +425,6 @@
If we had defined an over_fraction, or percentage that must pass specification
</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>
@@ -467,7 +447,6 @@
not over_fraction, thus:
</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"><</span><span class="identifier">normal</span><span class="special">>(</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"><<</span> <span class="string">"find_scale<normal>(minimum_weight, under_fraction, packs.mean()); "</span> <span class="special"><<</span> <span class="identifier">ss1o</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -481,7 +460,6 @@
giving the most accurate result.
</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"><</span><span class="identifier">normal</span><span class="special">>(</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"><<</span> <span class="string">"find_scale<normal>(complement(minimum_weight, over_fraction, packs.mean())); "</span> <span class="special"><<</span> <span class="identifier">ssc</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -495,7 +473,6 @@
We can again confirm our prediction thus:
</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"><<</span><span class="string">"Fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">minimum_weight</span> <span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">mean</span>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -33,12 +33,11 @@
of course).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></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.</span>
<span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">find_scale</span><span class="special">.</span><span class="identifier">hpp</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">find_scale</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">find_scale</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">complement</span><span class="special">;</span> <span class="comment">// Needed if you want to use the complement version.</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">policy</span><span class="special">;</span> <span class="comment">// Needed to specify the error handling policy.</span>
@@ -58,7 +57,6 @@
constructor.
</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>
@@ -70,14 +68,13 @@
certain chosen limit (here -2. standard deviations).
</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</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</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="comment">// aka N01.mean()</span>
<span class="special"><<</span> <span class="string">", standard deviation "</span> <span class="special"><<</span> <span class="identifier">N01</span><span class="special">.</span><span class="identifier">scale</span><span class="special">()</span> <span class="comment">// aka N01.standard_deviation()</span>
- <span class="special"><<</span> <span class="string">", has "</span> <span class="special"><<</span> <span class="string">"fraction <= "</span> <span class="special"><<</span> <span class="identifier">z</span>
+ <span class="special"><<</span> <span class="string">", has "</span> <span class="special"><<</span> <span class="string">"fraction <= "</span> <span class="special"><<</span> <span class="identifier">z</span>
<span class="special"><<</span> <span class="string">", p = "</span> <span class="special"><<</span> <span class="identifier">cdf</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"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</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="special"><<</span> <span class="string">", standard deviation "</span> <span class="special"><<</span> <span class="identifier">N01</span><span class="special">.</span><span class="identifier">scale</span><span class="special">()</span>
@@ -94,7 +91,6 @@
a new standard deviation.
</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"><</span><span class="identifier">normal</span><span class="special">>(</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>
@@ -114,7 +110,6 @@
a new distribution with the new standard deviation (but same zero mean):
</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>
@@ -123,22 +118,21 @@
And re-calculating the fraction below (and above) our chosen limit.
</p>
<p>
-
</p>
-<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span>
- <span class="special"><<</span> <span class="string">" has "</span> <span class="special"><<</span> <span class="string">"fraction <= "</span> <span class="special"><<</span> <span class="identifier">z</span>
+<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span>
+ <span class="special"><<</span> <span class="string">" has "</span> <span class="special"><<</span> <span class="string">"fraction <= "</span> <span class="special"><<</span> <span class="identifier">z</span>
<span class="special"><<</span> <span class="string">", p = "</span> <span class="special"><<</span> <span class="identifier">cdf</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"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span>
- <span class="special"><<</span> <span class="string">" has "</span> <span class="special"><<</span> <span class="string">"fraction > "</span> <span class="special"><<</span> <span class="identifier">z</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span>
+ <span class="special"><<</span> <span class="string">" has "</span> <span class="special"><<</span> <span class="string">"fraction > "</span> <span class="special"><<</span> <span class="identifier">z</span>
<span class="special"><<</span> <span class="string">", p = "</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">np001pc</span><span class="special">,</span> <span class="identifier">z</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
</p>
<pre class="programlisting">Normal distribution with mean = 0 has fraction <= -2, p = 0.001
Normal distribution with mean = 0 has fraction > -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="math_toolkit.dist.stat_tut.weg.find_eg.find_scale_eg.controlling_how_errors_from_find_scale_are_handled-heading"></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
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.find_eg.find_scale_eg.h0"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.find_eg.find_scale_eg.controlling_how_errors_from_find_scale_are_handled"></a></span><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>
@@ -150,7 +144,6 @@
Unless we are using the boost::math namespace, we will need:
</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>
@@ -162,7 +155,6 @@
it is not required, as the various examples below show.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">policy</span><span class="special"><</span><span class="identifier">domain_error</span><span class="special"><</span><span class="identifier">ignore_error</span><span class="special">></span> <span class="special">></span> <span class="identifier">ignore_domain_policy</span><span class="special">;</span>
<span class="comment">// find_scale with new policy, using typedef.</span>
@@ -184,16 +176,15 @@
use the <a class="link" href="../../overview/complements.html#complements">complements</a> version.
</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.</span>
<span class="identifier">sd</span> <span class="special">=</span> <span class="identifier">find_scale</span><span class="special"><</span><span class="identifier">normal</span><span class="special">>(</span><span class="identifier">complement</span><span class="special">(</span><span class="identifier">z</span><span class="special">,</span> <span class="identifier">q</span><span class="special">,</span> <span class="identifier">l</span><span class="special">));</span>
<span class="identifier">normal</span> <span class="identifier">np95pc</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(scale) shifted</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span> <span class="special"><<</span> <span class="string">" has "</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span> <span class="special"><<</span> <span class="string">" has "</span>
<span class="special"><<</span> <span class="string">"fraction <= "</span> <span class="special"><<</span> <span class="identifier">z</span> <span class="special"><<</span> <span class="string">" = "</span> <span class="special"><<</span> <span class="identifier">cdf</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"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span> <span class="special"><<</span> <span class="string">" has "</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Normal distribution with mean = "</span> <span class="special"><<</span> <span class="identifier">l</span> <span class="special"><<</span> <span class="string">" has "</span>
<span class="special"><<</span> <span class="string">"fraction > "</span> <span class="special"><<</span> <span class="identifier">z</span> <span class="special"><<</span> <span class="string">" = "</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">np95pc</span><span class="special">,</span> <span class="identifier">z</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
</p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/geometric_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/geometric_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/geometric_eg.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -35,7 +35,6 @@
a discrete_quantile policy of real, rather than the default policy integer_round_outwards.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_OVERFLOW_ERROR_POLICY</span> <span class="identifier">ignore_error</span>
<span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_DISCRETE_QUANTILE_POLICY</span> <span class="identifier">real</span></pre>
@@ -56,7 +55,6 @@
binomial distribution, and we need some std library iostream, of course.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">geometric</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="comment">// for geometric_distribution</span>
@@ -78,7 +76,7 @@
<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span><span class="special">;</span> <span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">noshowpoint</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> <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="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iomanip</span><span class="special">></span>
- <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">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="preprocessor">#include</span> <span class="special"><</span><span class="identifier">limits</span><span class="special">></span>
<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">;</span>
@@ -93,9 +91,9 @@
Simple try'n'catch blocks (see below) will ensure that you get a helpful
error message instead of an abrupt (and silent) program abort.
</p>
-<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.throwing_a_dice"></a><h6>
-<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.throwing_a_dice-heading"></a>
- <a class="link" href="geometric_eg.html#math_toolkit.dist.stat_tut.weg.geometric_eg.throwing_a_dice">Throwing
+<h6>
+<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.h0"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.geometric_eg.throwing_a_dice"></a></span><a class="link" href="geometric_eg.html#math_toolkit.dist.stat_tut.weg.geometric_eg.throwing_a_dice">Throwing
a dice</a>
</h6>
<p>
@@ -109,7 +107,6 @@
Suppose an 'fair' 6-face dice is thrown repeatedly:
</p>
<p>
-
</p>
<pre class="programlisting"><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="number">6</span><span class="special">;</span> <span class="comment">// success_fraction (p) = 0.1666</span>
<span class="comment">// (so failure_fraction is 1 - success_fraction = 5./6 = 1- 0.1666 = 0.8333)</span></pre>
@@ -128,7 +125,6 @@
one parameter success_fraction, the probability of success.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">geometric</span> <span class="identifier">g6</span><span class="special">(</span><span class="identifier">success_fraction</span><span class="special">);</span> <span class="comment">// type double by default.</span></pre>
<p>
@@ -137,7 +133,6 @@
To confirm, we can echo the success_fraction parameter of the distribution.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"success fraction of a six-sided dice is "</span> <span class="special"><<</span> <span class="identifier">g6</span><span class="special">.</span><span class="identifier">success_fraction</span><span class="special">()</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
@@ -147,7 +142,6 @@
is
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">g6</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.1667</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">g6</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.1667</span></pre>
@@ -159,7 +153,6 @@
on the 2nd throw:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">g6</span><span class="special">,</span> <span class="number">1</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.1389</span></pre>
<p>
@@ -169,7 +162,6 @@
on the 1st or 2nd throw (allowing one failure):
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"pdf(g6, 0) + pdf(g6, 1) = "</span> <span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">g6</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">g6</span><span class="special">,</span> <span class="number">1</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
@@ -179,7 +171,6 @@
Function CDF.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"cdf(g6, 1) = "</span> <span class="special"><<</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">g6</span><span class="special">,</span> <span class="number">1</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.3056</span></pre>
<p>
@@ -189,7 +180,6 @@
gets very high:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"cdf(g6, 12) = "</span> <span class="special"><<</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">g6</span><span class="special">,</span> <span class="number">12</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.9065 or 90% probability.</span></pre>
<p>
@@ -199,7 +189,6 @@
of throws to be this sure using the inverse or quantile.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"quantile(g6, 0.99) = "</span> <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">g6</span><span class="special">,</span> <span class="number">0.99</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 24.26</span></pre>
<p>
@@ -218,7 +207,6 @@
be faster, and may be more accurate.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">negative_binomial</span> <span class="identifier">nb</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="identifier">success_fraction</span><span class="special">);</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="number">1</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.1389</span>
@@ -230,7 +218,6 @@
- 0.99 = 0.01 (and get the same result):
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"quantile(complement(g6, 1 - p)) "</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">g6</span><span class="special">,</span> <span class="number">0.01</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 24.26</span></pre>
<p>
@@ -250,19 +237,18 @@
So in Boost.Math the equivalent is
</p>
<p>
-
</p>
<pre class="programlisting"> <span class="identifier">geometric</span> <span class="identifier">g05</span><span class="special">(</span><span class="number">0.5</span><span class="special">);</span> <span class="comment">// Probability of success = 0.5 or 50%</span>
<span class="comment">// Output all potentially significant digits for the type, here double.</span>
<span class="preprocessor">#ifdef</span> <span class="identifier">BOOST_NO_NUMERIC_LIMITS_LOWEST</span>
<span class="keyword">int</span> <span class="identifier">max_digits10</span> <span class="special">=</span> <span class="number">2</span> <span class="special">+</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">policies</span><span class="special">::</span><span class="identifier">digits</span><span class="special"><</span><span class="keyword">double</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">policies</span><span class="special">::</span><span class="identifier">policy</span><span class="special"><></span> <span class="special">>()</span> <span class="special">*</span> <span class="number">30103UL</span><span class="special">)</span> <span class="special">/</span> <span class="number">100000UL</
span><span class="special">;</span>
- <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"BOOST_NO_NUMERIC_LIMITS_LOWEST is defined"</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-<span class="preprocessor">#else</span>
+ <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"BOOST_NO_NUMERIC_LIMITS_LOWEST is defined"</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
+<span class="preprocessor">#else</span>
<span class="keyword">int</span> <span class="identifier">max_digits10</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="keyword">double</span><span class="special">>::</span><span class="identifier">max_digits10</span><span class="special">;</span>
<span class="preprocessor">#endif</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Show all potentially significant decimal digits std::numeric_limits<double>::max_digits10 = "</span>
- <span class="special"><<</span> <span class="identifier">max_digits10</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
+ <span class="special"><<</span> <span class="identifier">max_digits10</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span><span class="special">.</span><span class="identifier">precision</span><span class="special">(</span><span class="identifier">max_digits10</span><span class="special">);</span> <span class="comment">// </span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">g05</span><span class="special">,</span> <span class="number">0.0001</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// returns 0.5000346561579232, not exact 0.5.</span></pre>
@@ -273,7 +259,6 @@
the <code class="computeroutput"><span class="identifier">floor</span></code> function.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">g05</span><span class="special">,</span> <span class="identifier">floor</span><span class="special">(</span><span class="number">0.0001</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// returns exactly 0.5</span></pre>
<p>
@@ -287,9 +272,9 @@
next integer above. This may be convenient in practice, and could be
replicated in C++ if desired.
</p>
-<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.surveying_customers_to_find_one_with_a_faulty_product"></a><h6>
-<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.surveying_customers_to_find_one_with_a_faulty_product-heading"></a>
- <a class="link" href="geometric_eg.html#math_toolkit.dist.stat_tut.weg.geometric_eg.surveying_customers_to_find_one_with_a_faulty_product">Surveying
+<h6>
+<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.h1"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.geometric_eg.surveying_customers_to_find_one_with_a_faulty_product"></a></span><a class="link" href="geometric_eg.html#math_toolkit.dist.stat_tut.weg.geometric_eg.surveying_customers_to_find_one_with_a_faulty_product">Surveying
customers to find one with a faulty product</a>
</h6>
<p>
@@ -312,29 +297,28 @@
a fault obviously improves.)
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span><span class="special">.</span><span class="identifier">precision</span><span class="special">(</span><span class="number">5</span><span class="special">);</span>
<span class="identifier">geometric</span> <span class="identifier">g</span><span class="special">(</span><span class="number">0.02</span><span class="special">);</span> <span class="comment">// On average, 2 in 100 products are faulty.</span>
<span class="keyword">double</span> <span class="identifier">c</span> <span class="special">=</span> <span class="number">0.95</span><span class="special">;</span> <span class="comment">// 95% confidence.</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" quantile(g, "</span> <span class="special"><<</span> <span class="identifier">c</span> <span class="special"><<</span> <span class="string">") = "</span> <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">g</span><span class="special">,</span> <span class="identifier">c</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"To be "</span> <span class="special"><<</span> <span class="identifier">c</span> <span class="special">*</span> <span class="number">100</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"To be "</span> <span class="special"><<</span> <span class="identifier">c</span> <span class="special">*</span> <span class="number">100</span>
<span class="special"><<</span> <span class="string">"% confident of finding we customer with a fault, need to survey "</span>
<span class="special"><<</span> <span class="identifier">ceil</span><span class="special">(</span><span class="identifier">quantile</span><span class="special">(</span><span class="identifier">g</span><span class="special">,</span> <span class="identifier">c</span><span class="special">))</span> <span class="special"><<</span> <span class="string">" customers."</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 148</span>
<span class="identifier">c</span> <span class="special">=</span> <span class="number">0.99</span><span class="special">;</span> <span class="comment">// Very confident.</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"To be "</span> <span class="special"><<</span> <span class="identifier">c</span> <span class="special">*</span> <span class="number">100</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"To be "</span> <span class="special"><<</span> <span class="identifier">c</span> <span class="special">*</span> <span class="number">100</span>
<span class="special"><<</span> <span class="string">"% confident of finding we customer with a fault, need to survey "</span>
<span class="special"><<</span> <span class="identifier">ceil</span><span class="special">(</span><span class="identifier">quantile</span><span class="special">(</span><span class="identifier">g</span><span class="special">,</span> <span class="identifier">c</span><span class="special">))</span> <span class="special"><<</span> <span class="string">" customers."</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 227</span>
<span class="identifier">c</span> <span class="special">=</span> <span class="number">0.80</span><span class="special">;</span> <span class="comment">// Only reasonably confident.</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"To be "</span> <span class="special"><<</span> <span class="identifier">c</span> <span class="special">*</span> <span class="number">100</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"To be "</span> <span class="special"><<</span> <span class="identifier">c</span> <span class="special">*</span> <span class="number">100</span>
<span class="special"><<</span> <span class="string">"% confident of finding we customer with a fault, need to survey "</span>
<span class="special"><<</span> <span class="identifier">ceil</span><span class="special">(</span><span class="identifier">quantile</span><span class="special">(</span><span class="identifier">g</span><span class="special">,</span> <span class="identifier">c</span><span class="special">))</span> <span class="special"><<</span> <span class="string">" customers."</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 79</span></pre>
<p>
</p>
-<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.basket_ball_shooters"></a><h6>
-<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.basket_ball_shooters-heading"></a>
- <a class="link" href="geometric_eg.html#math_toolkit.dist.stat_tut.weg.geometric_eg.basket_ball_shooters">Basket
+<h6>
+<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.h2"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.geometric_eg.basket_ball_shooters"></a></span><a class="link" href="geometric_eg.html#math_toolkit.dist.stat_tut.weg.geometric_eg.basket_ball_shooters">Basket
Ball Shooters</a>
</h6>
<p>
@@ -346,7 +330,6 @@
a geometric distribution with success_fraction parameter 75/100 = 0.75.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span><span class="special">.</span><span class="identifier">precision</span><span class="special">(</span><span class="number">2</span><span class="special">);</span>
<span class="identifier">geometric</span> <span class="identifier">gav</span><span class="special">(</span><span class="number">0.75</span><span class="special">);</span> <span class="comment">// Shooter averages 7.5 out of 10 in the basket.</span></pre>
@@ -357,7 +340,6 @@
failures?
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of score on 1st try = "</span> <span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">gav</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.75</span></pre>
<p>
@@ -368,7 +350,6 @@
are 5-1 = 4 failures before the first success.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of score on 5th try = "</span> <span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">gav</span><span class="special">,</span> <span class="number">4</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.0029</span></pre>
<p>
@@ -380,7 +361,6 @@
values:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">geometric</span> <span class="identifier">gbest</span><span class="special">(</span><span class="number">0.95</span><span class="special">);</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of score on 5th try = "</span> <span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">gbest</span><span class="special">,</span> <span class="number">4</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 5.9e-6</span>
@@ -392,9 +372,9 @@
So we can see the very much smaller chance (0.000006) of 4 failures by
the best shooters, compared to the 0.03 of the mediocre.
</p>
-<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.estimating_failures"></a><h6>
-<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.estimating_failures-heading"></a>
- <a class="link" href="geometric_eg.html#math_toolkit.dist.stat_tut.weg.geometric_eg.estimating_failures">Estimating
+<h6>
+<a name="math_toolkit.dist.stat_tut.weg.geometric_eg.h3"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.geometric_eg.estimating_failures"></a></span><a class="link" href="geometric_eg.html#math_toolkit.dist.stat_tut.weg.geometric_eg.estimating_failures">Estimating
failures</a>
</h6>
<p>
@@ -419,13 +399,12 @@
must divide alpha by two.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">alpha</span> <span class="special">=</span> <span class="number">0.05</span><span class="special">;</span>
<span class="keyword">double</span> <span class="identifier">k</span> <span class="special">=</span> <span class="number">100</span><span class="special">;</span> <span class="comment">// So frequency of occurence is 1/100.</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability is failure is "</span> <span class="special"><<</span> <span class="number">1</span><span class="special">/</span><span class="identifier">k</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="keyword">double</span> <span class="identifier">t</span> <span class="special">=</span> <span class="identifier">geometric</span><span class="special">::</span><span class="identifier">find_lower_bound_on_p</span><span class="special">(</span><span class="identifier">k</span><span class="special">,</span> <span class="identifier">alpha</span><span class="special">/</span><span class="number">2</span><span class="special">);</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"geometric::find_lower_bound_on_p("</span> <span class="special"><<</span> <span class="keyword">int</span><span class="special">(</span><span class="identifier">k</span><span class="special">)</span> <span class="special"><<</span> <span class="string">", "</span> <span class="special"><<</span> <span class="identifier">alpha</span><span class="special">/</span><span class="number">2</span> <span class="special"><<</span> <span class="string">") = "</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"geometric::find_lower_bound_on_p("</span> <span class="special"><<</span> <span class="keyword">int</span><span class="special">(</span><span class="identifier">k</span><span class="special">)</span> <span class="special"><<</span> <span class="string">", "</span> <span class="special"><<</span> <span class="identifier">alpha</span><span class="special">/</span><span class="number">2</span> <span class="special"><<</span> <span class="string">") = "</span>
<span class="special"><<</span> <span class="identifier">t</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// 0.00025</span>
<span class="identifier">t</span> <span class="special">=</span> <span class="identifier">geometric</span><span class="special">::</span><span class="identifier">find_upper_bound_on_p</span><span class="special">(</span><span class="identifier">k</span><span class="special">,</span> <span class="identifier">alpha</span><span class="special">/</span><span class="number">2</span><span class="special">);</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"geometric::find_upper_bound_on_p("</span> <span class="special"><<</span> <span class="keyword">int</span><span class="special">(</span><span class="identifier">k</span><span class="special">)</span> <span class="special"><<</span> <span class="string">", "</span> <span class="special"><<</span> <span class="identifier">alpha</span><span class="special">/</span><span class="number">2</span> <span class="special"><<</span> <span class="string">") = "</span>
@@ -439,7 +418,6 @@
they widen to 0.00005 to 0.05.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">alpha</span> <span class="special">=</span> <span class="number">0.1</span><span class="special">;</span> <span class="comment">// 90% confidence.</span>
<span class="identifier">t</span> <span class="special">=</span> <span class="identifier">geometric</span><span class="special">::</span><span class="identifier">find_lower_bound_on_p</span><span class="special">(</span><span class="identifier">k</span><span class="special">,</span> <span class="identifier">alpha</span><span class="special">/</span><span class="number">2</span><span class="special">);</span>
@@ -468,7 +446,6 @@
hope not to use it!
</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">&</span> <span class="identifier">e</span><span class="special">)</span>
@@ -478,7 +455,7 @@
<p>
</p>
<p>
- For example, without a ignore domain error policy, if we asked for
+ For example, without a ignore domain error policy, if we asked for
</p>
<pre class="programlisting"><span class="identifier">pdf</span><span class="special">(</span><span class="identifier">g</span><span class="special">,</span> <span class="special">-</span><span class="number">1</span><span class="special">)</span></pre>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/inverse_chi_squared_eg.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/inverse_chi_squared_eg.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/inverse_chi_squared_eg.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -95,9 +95,9 @@
in a Bayesian analysis with data on a specific single machine to derive
a posterior distribution for that machine.
</p>
-<a name="math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.step_one__using_the_survey_information_"></a><h6>
-<a name="math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.step_one__using_the_survey_information_-heading"></a>
- <a class="link" href="inverse_chi_squared_eg.html#math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.step_one__using_the_survey_information_">Step
+<h6>
+<a name="math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.h0"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.step_one__using_the_survey_information_"></a></span><a class="link" href="inverse_chi_squared_eg.html#math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.step_one__using_the_survey_information_">Step
one: Using the survey information.</a>
</h6>
<p>
@@ -118,10 +118,9 @@
list out a few quantiles:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">priorDF</span> <span class="special">=</span> <span class="number">20.0</span><span class="special">;</span>
-<span class="keyword">double</span> <span class="identifier">priorScale</span> <span class="special">=</span> <span class="number">25.0</span><span class="special">;</span>
+<span class="keyword">double</span> <span class="identifier">priorScale</span> <span class="special">=</span> <span class="number">25.0</span><span class="special">;</span>
<span class="identifier">inverse_chi_squared</span> <span class="identifier">prior</span><span class="special">(</span><span class="identifier">priorDF</span><span class="special">,</span> <span class="identifier">priorScale</span><span class="special">);</span>
<span class="comment">// Using an inverse_gamma distribution instead, we could equivalently write</span>
@@ -152,11 +151,10 @@
and find a probability of about 0.031 (3.1%) for each case.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" probability variance <= 15: "</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">cdf</span><span class="special">(</span><span class="identifier">prior</span><span class="special">,</span> <span class="number">15.0</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" probability variance <= 25: "</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">cdf</span><span class="special">(</span><span class="identifier">prior</span><span class="special">,</span> <span class="number">25.0</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" probability variance > 50: "</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" probability variance > 50: "</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">cdf</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">complement</span><span class="special">(</span><span class="identifier">prior</span><span class="special">,</span> <span class="number">50.0</span><span class="special">))</span>
<span class="special"><<</span> <span class="identifier">endl</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
</pre>
@@ -185,9 +183,9 @@
interpretationally a strict <span class="emphasis"><em>must-not</em></span>) in the frequentist
world.
</p>
-<a name="math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.step_2__investigate_a_single_machine"></a><h6>
-<a name="math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.step_2__investigate_a_single_machine-heading"></a>
- <a class="link" href="inverse_chi_squared_eg.html#math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.step_2__investigate_a_single_machine">Step
+<h6>
+<a name="math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.h1"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.step_2__investigate_a_single_machine"></a></span><a class="link" href="inverse_chi_squared_eg.html#math_toolkit.dist.stat_tut.weg.inverse_chi_squared_eg.step_2__investigate_a_single_machine">Step
2: Investigate a single machine</a>
</h6>
<p>
@@ -233,7 +231,6 @@
with degrees-of-freedom (ν<sub>posterior</sub>) = 120 and scale (s<sub>posterior</sub>) = 49.54.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">ballsSampleSize</span> <span class="special">=</span> <span class="number">100</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span><span class="string">"balls sample size: "</span> <span class="special"><<</span> <span class="identifier">ballsSampleSize</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -244,7 +241,7 @@
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"prior degrees-of-freedom: "</span> <span class="special"><<</span> <span class="identifier">priorDF</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"posterior degrees-of-freedom: "</span> <span class="special"><<</span> <span class="identifier">posteriorDF</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-<span class="keyword">double</span> <span class="identifier">posteriorScale</span> <span class="special">=</span>
+<span class="keyword">double</span> <span class="identifier">posteriorScale</span> <span class="special">=</span>
<span class="special">(</span><span class="identifier">priorDF</span> <span class="special">*</span> <span class="identifier">priorScale</span> <span class="special">+</span> <span class="special">(</span><span class="identifier">ballsSampleVariance</span> <span class="special">*</span> <span class="special">(</span><span class="identifier">ballsSampleSize</span> <span class="special">-</span> <span class="number">1</span><span class="special">)))</span> <span class="special">/</span> <span class="identifier">posteriorDF</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"prior scale: "</span> <span class="special"><<</span> <span class="identifier">priorScale</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"posterior scale: "</span> <span class="special"><<</span> <span class="identifier">posteriorScale</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
@@ -275,7 +272,6 @@
<span class="inlinemediaobject"><img src="../../../../../graphs/prior_posterior_plot.png" align="middle"></span>
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">inverse_chi_squared</span> <span class="identifier">posterior</span><span class="special">(</span><span class="identifier">posteriorDF</span><span class="special">,</span> <span class="identifier">posteriorScale</span><span class="special">);</span>
@@ -286,7 +282,7 @@
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" probability variance <= 15: "</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">cdf</span><span class="special">(</span><span class="identifier">posterior</span><span class="special">,</span> <span class="number">15.0</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" probability variance <= 25: "</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">cdf</span><span class="special">(</span><span class="identifier">posterior</span><span class="special">,</span> <span class="number">25.0</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
- <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" probability variance > 50: "</span>
+ <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" probability variance > 50: "</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">cdf</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">complement</span><span class="special">(</span><span class="identifier">posterior</span><span class="special">,</span> <span class="number">50.0</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
</pre>
@@ -296,11 +292,11 @@
This produces this output:
</p>
<pre class="programlisting"><span class="identifier">Posterior</span> <span class="identifier">distribution</span><span class="special">:</span>
-
+
<span class="number">2.5</span><span class="special">%</span> <span class="identifier">quantile</span><span class="special">:</span> <span class="number">39.1</span>
<span class="number">50</span><span class="special">%</span> <span class="identifier">quantile</span><span class="special">:</span> <span class="number">49.8</span>
<span class="number">97.5</span><span class="special">%</span> <span class="identifier">quantile</span><span class="special">:</span> <span class="number">64.9</span>
-
+
<span class="identifier">probability</span> <span class="identifier">variance</span> <span class="special"><=</span> <span class="number">15</span><span class="special">:</span> <span class="number">2.97e-031</span>
<span class="identifier">probability</span> <span class="identifier">variance</span> <span class="special"><=</span> <span class="number">25</span><span class="special">:</span> <span class="number">8.85e-010</span>
<span class="identifier">probability</span> <span class="identifier">variance</span> <span class="special">></span> <span class="number">50</span><span class="special">:</span> <span class="number">0.489</span>
@@ -325,18 +321,18 @@
<p>
A full sample output is:
</p>
-<pre class="programlisting">Inverse_chi_squared_distribution Bayes example:
-
+<pre class="programlisting">Inverse_chi_squared_distribution Bayes example:
+
Prior distribution:
-
+
2.5% quantile: 14.6
50% quantile: 25.9
97.5% quantile: 52.1
-
+
probability variance <= 15: 0.031
probability variance <= 25: 0.458
probability variance > 50: 0.0318
-
+
balls sample size: 100
balls sample variance: 55
prior degrees-of-freedom: 20
@@ -344,11 +340,11 @@
prior scale: 25
posterior scale: 49.5
Posterior distribution:
-
+
2.5% quantile: 39.1
50% quantile: 49.8
97.5% quantile: 64.9
-
+
probability variance <= 15: 2.97e-031
probability variance <= 25: 8.85e-010
probability variance > 50: 0.489
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -40,7 +40,6 @@
(and some basic std output of course).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">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">></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>
@@ -59,7 +58,6 @@
start with a table header:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</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"><=</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>
@@ -77,7 +75,6 @@
each table cell:
</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"><=</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>
@@ -90,7 +87,6 @@
Calculate the χ<sup>2</sup> statistic for a 5% significance:
</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>
@@ -100,7 +96,6 @@
non-central χ<sup>2</sup> distribution:
</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>
@@ -109,7 +104,6 @@
Then output the cell value:
</p>
<p>
-
</p>
<pre class="programlisting"> <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"["</span> <span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="number">3</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">beta</span> <span class="special"><<</span> <span class="string">"]"</span><span class="special">;</span>
<span class="special">}</span>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -59,7 +59,6 @@
(and some basic std output of course).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">negative_binomial</span><span class="special">.</span><span class="identifier">hpp</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">negative_binomial</span><span class="special">;</span>
@@ -76,7 +75,6 @@
that the true occurrence frequency lies outside the calculated interval:
</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>
@@ -91,7 +89,6 @@
observed frequency of occurrence that follows a negative binomial distribution.
</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>
@@ -131,7 +128,6 @@
two.
</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"><</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>
@@ -154,7 +150,6 @@
of trials, but always the same success fraction 0.1, or 1 in 10.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -47,7 +47,6 @@
sizes (number of trials) for various probability thresholds:
</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>
@@ -58,7 +57,6 @@
will be observed.
</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>
@@ -81,9 +79,8 @@
rounds this up to ensure we have an integral minimum number of trials.
</p>
<p>
-
</p>
-<pre class="programlisting">
+<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>
<span class="special">{</span>
<span class="comment">// trials = number of trials</span>
@@ -118,7 +115,6 @@
confidence levels:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
@@ -148,7 +144,7 @@
number of trials permitted to observe less than a certain number
of <span class="emphasis"><em>failures</em></span> then we would have taken the floor
instead. We would also have called <code class="computeroutput"><span class="identifier">find_minimum_number_of_trials</span></code>
- like this:
+ like this:
</p>
<pre class="programlisting"><span class="identifier">floor</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>
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 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -71,7 +71,6 @@
policy of real, rather than the default policy integer_round_outwards.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_OVERFLOW_ERROR_POLICY</span> <span class="identifier">ignore_error</span>
<span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_DISCRETE_QUANTILE_POLICY</span> <span class="identifier">real</span></pre>
@@ -95,7 +94,6 @@
and we need some std library iostream, of course.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">negative_binomial</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="comment">// for negative_binomial_distribution</span>
@@ -108,7 +106,7 @@
<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span><span class="special">;</span> <span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">noshowpoint</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> <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="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iomanip</span><span class="special">></span>
- <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">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="preprocessor">#include</span> <span class="special"><</span><span class="identifier">limits</span><span class="special">></span>
<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">;</span>
@@ -124,7 +122,6 @@
error message instead of an abrupt program abort.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">try</span>
<span class="special">{</span></pre>
@@ -136,7 +133,6 @@
this takes is therefore = sucesses + failures or k + r = k + 5.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">sales_quota</span> <span class="special">=</span> <span class="number">5</span><span class="special">;</span> <span class="comment">// Pat's sales quota - successes (r).</span></pre>
<p>
@@ -146,7 +142,6 @@
bar and a 0.6 probability (60%) of selling nothing.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">success_fraction</span> <span class="special">=</span> <span class="number">0.4</span><span class="special">;</span> <span class="comment">// success_fraction (p) - so failure_fraction is 0.6.</span></pre>
<p>
@@ -164,7 +159,6 @@
success.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">negative_binomial</span> <span class="identifier">nb</span><span class="special">(</span><span class="identifier">sales_quota</span><span class="special">,</span> <span class="identifier">success_fraction</span><span class="special">);</span> <span class="comment">// type double by default.</span></pre>
<p>
@@ -174,7 +168,6 @@
of the distribution.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Pat has a sales per house success rate of "</span> <span class="special"><<</span> <span class="identifier">success_fraction</span>
<span class="special"><<</span> <span class="string">".\nTherefore he would, on average, sell "</span> <span class="special"><<</span> <span class="identifier">nb</span><span class="special">.</span><span class="identifier">success_fraction</span><span class="special">()</span> <span class="special">*</span> <span class="number">100</span>
@@ -182,7 +175,7 @@
<span class="keyword">int</span> <span class="identifier">all_houses</span> <span class="special">=</span> <span class="number">30</span><span class="special">;</span> <span class="comment">// The number of houses on the estate.</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"With a success rate of "</span> <span class="special"><<</span> <span class="identifier">nb</span><span class="special">.</span><span class="identifier">success_fraction</span><span class="special">()</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"With a success rate of "</span> <span class="special"><<</span> <span class="identifier">nb</span><span class="special">.</span><span class="identifier">success_fraction</span><span class="special">()</span>
<span class="special"><<</span> <span class="string">", he might expect, on average,\n"</span>
<span class="string">"to need to visit about "</span> <span class="special"><<</span> <span class="identifier">success_fraction</span> <span class="special">*</span> <span class="identifier">all_houses</span>
<span class="special"><<</span> <span class="string">" houses in order to sell all "</span> <span class="special"><<</span> <span class="identifier">nb</span><span class="special">.</span><span class="identifier">successes</span><span class="special">()</span> <span class="special"><<</span> <span class="string">" bars. "</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
@@ -191,7 +184,7 @@
<pre class="programlisting">Pat has a sales per house success rate of 0.4.
Therefore he would, on average, sell 40 bars after trying 100 houses.
With a success rate of 0.4, he might expect, on average,
-to need to visit about 12 houses in order to sell all 5 bars.
+to need to visit about 12 houses in order to sell all 5 bars.
</pre>
<p>
The random variable of interest is the number of houses that must be
@@ -205,7 +198,6 @@
We calculate this using the pdf function:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability that Pat finishes on the "</span> <span class="special"><<</span> <span class="identifier">sales_quota</span> <span class="special"><<</span> <span class="string">"th house is "</span>
<span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="number">5</span> <span class="special">-</span> <span class="identifier">sales_quota</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// == pdf(nb, 0)</span></pre>
@@ -222,7 +214,6 @@
Density Function (pdf).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability that Pat finishes on the 6th house is "</span>
<span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="number">6</span> <span class="special">-</span> <span class="identifier">sales_quota</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -241,7 +232,6 @@
Function (cdf). We can calculate it by adding the individual probabilities.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability that Pat finishes on or before the 8th house is sum "</span>
<span class="string">"\n"</span> <span class="special"><<</span> <span class="string">"pdf(sales_quota) + pdf(6) + pdf(7) + pdf(8) = "</span>
@@ -260,7 +250,6 @@
distribution function.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"\nProbability of selling his quota of "</span> <span class="special"><<</span> <span class="identifier">sales_quota</span>
<span class="special"><<</span> <span class="string">" bars\non or before the "</span> <span class="special"><<</span> <span class="number">8</span> <span class="special"><<</span> <span class="string">"th house is "</span>
@@ -270,7 +259,6 @@
<pre class="programlisting">Probability of selling his quota of 5 bars on or before the 8th house is 0.17367
</pre>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"\nProbability that Pat finishes exactly on the 10th house is "</span>
<span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="number">10</span> <span class="special">-</span> <span class="identifier">sales_quota</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -283,7 +271,6 @@
Probability of selling his quota of 5 bars on or before the 10th house is 0.3669
</pre>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability that Pat finishes exactly on the 11th house is "</span>
<span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="number">11</span> <span class="special">-</span> <span class="identifier">sales_quota</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -297,7 +284,6 @@
on or before the 11th house is 0.46723
</pre>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability that Pat finishes exactly on the 12th house is "</span>
<span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="number">12</span> <span class="special">-</span> <span class="identifier">sales_quota</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -318,7 +304,6 @@
would sell all his quota on the very last house.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability that Pat finishes on the "</span> <span class="special"><<</span> <span class="identifier">all_houses</span>
<span class="special"><<</span> <span class="string">" house is "</span> <span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="identifier">all_houses</span> <span class="special">-</span> <span class="identifier">sales_quota</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
@@ -338,7 +323,6 @@
5 candy bars?
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"\nProbability of selling his quota of "</span> <span class="special"><<</span> <span class="identifier">sales_quota</span>
<span class="special"><<</span> <span class="string">" bars\non or before the "</span> <span class="special"><<</span> <span class="identifier">all_houses</span> <span class="special"><<</span> <span class="string">"th house is "</span>
@@ -380,7 +364,6 @@
of the cdf. <a class="link" href="../../overview/complements.html#why_complements">Why complements?</a>
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"\nProbability of failing to sell his quota of "</span> <span class="special"><<</span> <span class="identifier">sales_quota</span>
<span class="special"><<</span> <span class="string">" bars\neven after visiting all "</span> <span class="special"><<</span> <span class="identifier">all_houses</span> <span class="special"><<</span> <span class="string">" houses is "</span>
@@ -395,16 +378,14 @@
to predict which house Pat will finish on. So for the 8th house:
</p>
<p>
-
</p>
-<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">p</span> <span class="special">=</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="special">(</span><span class="number">8</span> <span class="special">-</span> <span class="identifier">sales_quota</span><span class="special">));</span>
+<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">p</span> <span class="special">=</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="special">(</span><span class="number">8</span> <span class="special">-</span> <span class="identifier">sales_quota</span><span class="special">));</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability of meeting sales quota on or before 8th house is "</span><span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
</p>
<pre class="programlisting">Probability of meeting sales quota on or before 8th house is 0.174
</pre>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"If the confidence of meeting sales quota is "</span> <span class="special"><<</span> <span class="identifier">p</span>
<span class="special"><<</span> <span class="string">", then the finishing house is "</span> <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="identifier">p</span><span class="special">)</span> <span class="special">+</span> <span class="identifier">sales_quota</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -421,7 +402,6 @@
his quota).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"If the confidence of meeting sales quota is "</span> <span class="special"><<</span> <span class="number">1.</span>
<span class="special"><<</span> <span class="string">", then the finishing house is "</span> <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="number">1</span><span class="special">)</span> <span class="special">+</span> <span class="identifier">sales_quota</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -434,7 +414,6 @@
And similarly for a few other probabilities:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"If the confidence of meeting sales quota is "</span> <span class="special"><<</span> <span class="number">0.</span>
<span class="special"><<</span> <span class="string">", then the finishing house is "</span> <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="number">0.</span><span class="special">)</span> <span class="special">+</span> <span class="identifier">sales_quota</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -460,9 +439,8 @@
will be successful sales.
</p>
<p>
-
</p>
-<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"If confidence of meeting quota is zero\n(we assume all houses are successful sales)"</span>
+<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"If confidence of meeting quota is zero\n(we assume all houses are successful sales)"</span>
<span class="string">", then finishing house is "</span> <span class="special"><<</span> <span class="identifier">sales_quota</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
</p>
@@ -473,7 +451,6 @@
We can list quantiles for a few probabilities:
</p>
<p>
-
</p>
<pre class="programlisting"> <span class="keyword">double</span> <span class="identifier">ps</span><span class="special">[]</span> <span class="special">=</span> <span class="special">{</span><span class="number">0.</span><span class="special">,</span> <span class="number">0.001</span><span class="special">,</span> <span class="number">0.01</span><span class="special">,</span> <span class="number">0.05</span><span class="special">,</span> <span class="number">0.1</span><span class="special">,</span> <span class="number">0.5</span><span class="special">,</span> <span class="number">0.9</span><span class="special">,</span> <span class="number">0.95</span><span class="special">,</span> <span class="number">0.99</span><span class="special">,</span> <span class="number">0.999</span><span class="special">,</span> <span class="number">1.</span><span class="special">};</span>
<span class="comment">// Confidence as fraction = 1-alpha, as percent = 100 * (1-alpha[i]) %</span>
@@ -500,14 +477,14 @@
</pre>
<p>
We could have applied a ceil function to obtain a 'worst case' integer
- value for house.
+ value for house.
</p>
<pre class="programlisting"><span class="identifier">ceil</span><span class="special">(</span><span class="identifier">quantile</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="identifier">ps</span><span class="special">[</span><span class="identifier">i</span><span class="special">]))</span></pre>
<p>
</p>
<p>
Or, if we had used the default discrete quantile policy, integer_outside,
- by omitting
+ by omitting
</p>
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_DISCRETE_QUANTILE_POLICY</span> <span class="identifier">real</span></pre>
<p>
@@ -530,7 +507,6 @@
on each house.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"\nHouse for "</span> <span class="special"><<</span> <span class="identifier">sales_quota</span> <span class="special"><<</span> <span class="string">"th (last) sale. Probability (%)"</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span><span class="special">.</span><span class="identifier">precision</span><span class="special">(</span><span class="number">5</span><span class="special">);</span>
@@ -542,31 +518,31 @@
<p>
</p>
<pre class="programlisting">House for 5 th (last) sale. Probability (%)
-5 0.01024
-6 0.04096
+5 0.01024
+6 0.04096
7 0.096256
-8 0.17367
-9 0.26657
-10 0.3669
-11 0.46723
-12 0.56182
-13 0.64696
-14 0.72074
-15 0.78272
-16 0.83343
-17 0.874
-18 0.90583
-19 0.93039
-20 0.94905
-21 0.96304
-22 0.97342
-23 0.98103
-24 0.98655
-25 0.99053
-26 0.99337
-27 0.99539
-28 0.99681
-29 0.9978
+8 0.17367
+9 0.26657
+10 0.3669
+11 0.46723
+12 0.56182
+13 0.64696
+14 0.72074
+15 0.78272
+16 0.83343
+17 0.874
+18 0.90583
+19 0.93039
+20 0.94905
+21 0.96304
+22 0.97342
+23 0.98103
+24 0.98655
+25 0.99053
+26 0.99337
+27 0.99539
+28 0.99681
+29 0.9978
30 0.99849
</pre>
<p>
@@ -574,7 +550,6 @@
you do not expect to use it.
</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">&</span> <span class="identifier">e</span><span class="special">)</span>
@@ -585,7 +560,6 @@
</p>
<p>
For example, without a ignore domain error policy, if we asked for
-
</p>
<pre class="programlisting"><span class="identifier">pdf</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> <span class="special">-</span><span class="number">1</span><span class="special">)</span></pre>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/negative_binomial_example2.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/negative_binomial_example2.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/neg_binom_eg/negative_binomial_example2.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -32,7 +32,6 @@
for various k failures.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="comment">// Print a table of values that can be used to plot</span>
<span class="comment">// using Excel, or some other superior graphical display tool.</span>
@@ -56,73 +55,72 @@
<p>
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">k</span> <span class="identifier">pdf</span> <span class="identifier">cdf</span>
- <span class="number">0</span><span class="special">,</span> <span class="number">1.5258789062500000e-005</span> <span class="number">1.5258789062500003e-005</span>
- <span class="number">1</span><span class="special">,</span> <span class="number">9.1552734375000000e-005</span> <span class="number">0.00010681152343750000</span>
- <span class="number">2</span><span class="special">,</span> <span class="number">0.00030899047851562522</span> <span class="number">0.00041580200195312500</span>
- <span class="number">3</span><span class="special">,</span> <span class="number">0.00077247619628906272</span> <span class="number">0.0011882781982421875</span>
- <span class="number">4</span><span class="special">,</span> <span class="number">0.0015932321548461918</span> <span class="number">0.0027815103530883789</span>
- <span class="number">5</span><span class="special">,</span> <span class="number">0.0028678178787231476</span> <span class="number">0.0056493282318115234</span>
- <span class="number">6</span><span class="special">,</span> <span class="number">0.0046602040529251142</span> <span class="number">0.010309532284736633</span>
- <span class="number">7</span><span class="special">,</span> <span class="number">0.0069903060793876605</span> <span class="number">0.017299838364124298</span>
- <span class="number">8</span><span class="special">,</span> <span class="number">0.0098301179241389001</span> <span class="number">0.027129956288263202</span>
- <span class="number">9</span><span class="special">,</span> <span class="number">0.013106823898851871</span> <span class="number">0.040236780187115073</span>
-<span class="number">10</span><span class="special">,</span> <span class="number">0.016711200471036140</span> <span class="number">0.056947980658151209</span>
-<span class="number">11</span><span class="special">,</span> <span class="number">0.020509200578089786</span> <span class="number">0.077457181236241013</span>
-<span class="number">12</span><span class="special">,</span> <span class="number">0.024354675686481652</span> <span class="number">0.10181185692272265</span>
-<span class="number">13</span><span class="special">,</span> <span class="number">0.028101548869017230</span> <span class="number">0.12991340579173993</span>
-<span class="number">14</span><span class="special">,</span> <span class="number">0.031614242477644432</span> <span class="number">0.16152764826938440</span>
-<span class="number">15</span><span class="special">,</span> <span class="number">0.034775666725408917</span> <span class="number">0.19630331499479325</span>
-<span class="number">16</span><span class="special">,</span> <span class="number">0.037492515688331451</span> <span class="number">0.23379583068312471</span>
-<span class="number">17</span><span class="special">,</span> <span class="number">0.039697957787645101</span> <span class="number">0.27349378847076977</span>
-<span class="number">18</span><span class="special">,</span> <span class="number">0.041352039362130305</span> <span class="number">0.31484582783290005</span>
-<span class="number">19</span><span class="special">,</span> <span class="number">0.042440250924291580</span> <span class="number">0.35728607875719176</span>
-<span class="number">20</span><span class="special">,</span> <span class="number">0.042970754060845245</span> <span class="number">0.40025683281803687</span>
-<span class="number">21</span><span class="special">,</span> <span class="number">0.042970754060845225</span> <span class="number">0.44322758687888220</span>
-<span class="number">22</span><span class="special">,</span> <span class="number">0.042482450037426581</span> <span class="number">0.48571003691630876</span>
-<span class="number">23</span><span class="special">,</span> <span class="number">0.041558918514873783</span> <span class="number">0.52726895543118257</span>
-<span class="number">24</span><span class="special">,</span> <span class="number">0.040260202311284021</span> <span class="number">0.56752915774246648</span>
-<span class="number">25</span><span class="special">,</span> <span class="number">0.038649794218832620</span> <span class="number">0.60617895196129912</span>
-<span class="number">26</span><span class="special">,</span> <span class="number">0.036791631035234917</span> <span class="number">0.64297058299653398</span>
-<span class="number">27</span><span class="special">,</span> <span class="number">0.034747651533277427</span> <span class="number">0.67771823452981139</span>
-<span class="number">28</span><span class="special">,</span> <span class="number">0.032575923312447595</span> <span class="number">0.71029415784225891</span>
-<span class="number">29</span><span class="special">,</span> <span class="number">0.030329307911589130</span> <span class="number">0.74062346575384819</span>
-<span class="number">30</span><span class="special">,</span> <span class="number">0.028054609818219924</span> <span class="number">0.76867807557206813</span>
-<span class="number">31</span><span class="special">,</span> <span class="number">0.025792141284492545</span> <span class="number">0.79447021685656061</span>
-<span class="number">32</span><span class="special">,</span> <span class="number">0.023575629142856460</span> <span class="number">0.81804584599941710</span>
-<span class="number">33</span><span class="special">,</span> <span class="number">0.021432390129869489</span> <span class="number">0.83947823612928651</span>
-<span class="number">34</span><span class="special">,</span> <span class="number">0.019383705779220189</span> <span class="number">0.85886194190850684</span>
-<span class="number">35</span><span class="special">,</span> <span class="number">0.017445335201298231</span> <span class="number">0.87630727710980494</span>
-<span class="number">36</span><span class="special">,</span> <span class="number">0.015628112784496322</span> <span class="number">0.89193538989430121</span>
-<span class="number">37</span><span class="special">,</span> <span class="number">0.013938587078064250</span> <span class="number">0.90587397697236549</span>
-<span class="number">38</span><span class="special">,</span> <span class="number">0.012379666154859701</span> <span class="number">0.91825364312722524</span>
-<span class="number">39</span><span class="special">,</span> <span class="number">0.010951243136991251</span> <span class="number">0.92920488626421649</span>
-<span class="number">40</span><span class="special">,</span> <span class="number">0.0096507830144735539</span> <span class="number">0.93885566927869002</span>
-<span class="number">41</span><span class="special">,</span> <span class="number">0.0084738582566109364</span> <span class="number">0.94732952753530097</span>
-<span class="number">42</span><span class="special">,</span> <span class="number">0.0074146259745345548</span> <span class="number">0.95474415350983555</span>
-<span class="number">43</span><span class="special">,</span> <span class="number">0.0064662435824429246</span> <span class="number">0.96121039709227851</span>
-<span class="number">44</span><span class="special">,</span> <span class="number">0.0056212231142827853</span> <span class="number">0.96683162020656122</span>
-<span class="number">45</span><span class="special">,</span> <span class="number">0.0048717266990450708</span> <span class="number">0.97170334690560634</span>
-<span class="number">46</span><span class="special">,</span> <span class="number">0.0042098073105878630</span> <span class="number">0.97591315421619418</span>
-<span class="number">47</span><span class="special">,</span> <span class="number">0.0036275999165703964</span> <span class="number">0.97954075413276465</span>
-<span class="number">48</span><span class="special">,</span> <span class="number">0.0031174686783026818</span> <span class="number">0.98265822281106729</span>
-<span class="number">49</span><span class="special">,</span> <span class="number">0.0026721160099737302</span> <span class="number">0.98533033882104104</span>
-<span class="number">50</span><span class="special">,</span> <span class="number">0.0022846591885275322</span> <span class="number">0.98761499800956853</span>
-<span class="number">51</span><span class="special">,</span> <span class="number">0.0019486798960970148</span> <span class="number">0.98956367790566557</span>
-<span class="number">52</span><span class="special">,</span> <span class="number">0.0016582516423517923</span> <span class="number">0.99122192954801736</span>
-<span class="number">53</span><span class="special">,</span> <span class="number">0.0014079495076571762</span> <span class="number">0.99262987905567457</span>
-<span class="number">54</span><span class="special">,</span> <span class="number">0.0011928461106539983</span> <span class="number">0.99382272516632852</span>
-<span class="number">55</span><span class="special">,</span> <span class="number">0.0010084971662802015</span> <span class="number">0.99483122233260868</span>
-<span class="number">56</span><span class="special">,</span> <span class="number">0.00085091948404891532</span> <span class="number">0.99568214181665760</span>
-<span class="number">57</span><span class="special">,</span> <span class="number">0.00071656377604119542</span> <span class="number">0.99639870559269883</span>
-<span class="number">58</span><span class="special">,</span> <span class="number">0.00060228420831048650</span> <span class="number">0.99700098980100937</span>
-<span class="number">59</span><span class="special">,</span> <span class="number">0.00050530624256557675</span> <span class="number">0.99750629604357488</span>
-<span class="number">60</span><span class="special">,</span> <span class="number">0.00042319397814867202</span> <span class="number">0.99792949002172360</span>
-<span class="number">61</span><span class="special">,</span> <span class="number">0.00035381791615708398</span> <span class="number">0.99828330793788067</span>
-<span class="number">62</span><span class="special">,</span> <span class="number">0.00029532382517950324</span> <span class="number">0.99857863176306016</span>
-<span class="number">63</span><span class="special">,</span> <span class="number">0.00024610318764958566</span> <span class="number">0.99882473495070978</span>
+ <span class="number">0</span><span class="special">,</span> <span class="number">1.5258789062500000e-005</span> <span class="number">1.5258789062500003e-005</span>
+ <span class="number">1</span><span class="special">,</span> <span class="number">9.1552734375000000e-005</span> <span class="number">0.00010681152343750000</span>
+ <span class="number">2</span><span class="special">,</span> <span class="number">0.00030899047851562522</span> <span class="number">0.00041580200195312500</span>
+ <span class="number">3</span><span class="special">,</span> <span class="number">0.00077247619628906272</span> <span class="number">0.0011882781982421875</span>
+ <span class="number">4</span><span class="special">,</span> <span class="number">0.0015932321548461918</span> <span class="number">0.0027815103530883789</span>
+ <span class="number">5</span><span class="special">,</span> <span class="number">0.0028678178787231476</span> <span class="number">0.0056493282318115234</span>
+ <span class="number">6</span><span class="special">,</span> <span class="number">0.0046602040529251142</span> <span class="number">0.010309532284736633</span>
+ <span class="number">7</span><span class="special">,</span> <span class="number">0.0069903060793876605</span> <span class="number">0.017299838364124298</span>
+ <span class="number">8</span><span class="special">,</span> <span class="number">0.0098301179241389001</span> <span class="number">0.027129956288263202</span>
+ <span class="number">9</span><span class="special">,</span> <span class="number">0.013106823898851871</span> <span class="number">0.040236780187115073</span>
+<span class="number">10</span><span class="special">,</span> <span class="number">0.016711200471036140</span> <span class="number">0.056947980658151209</span>
+<span class="number">11</span><span class="special">,</span> <span class="number">0.020509200578089786</span> <span class="number">0.077457181236241013</span>
+<span class="number">12</span><span class="special">,</span> <span class="number">0.024354675686481652</span> <span class="number">0.10181185692272265</span>
+<span class="number">13</span><span class="special">,</span> <span class="number">0.028101548869017230</span> <span class="number">0.12991340579173993</span>
+<span class="number">14</span><span class="special">,</span> <span class="number">0.031614242477644432</span> <span class="number">0.16152764826938440</span>
+<span class="number">15</span><span class="special">,</span> <span class="number">0.034775666725408917</span> <span class="number">0.19630331499479325</span>
+<span class="number">16</span><span class="special">,</span> <span class="number">0.037492515688331451</span> <span class="number">0.23379583068312471</span>
+<span class="number">17</span><span class="special">,</span> <span class="number">0.039697957787645101</span> <span class="number">0.27349378847076977</span>
+<span class="number">18</span><span class="special">,</span> <span class="number">0.041352039362130305</span> <span class="number">0.31484582783290005</span>
+<span class="number">19</span><span class="special">,</span> <span class="number">0.042440250924291580</span> <span class="number">0.35728607875719176</span>
+<span class="number">20</span><span class="special">,</span> <span class="number">0.042970754060845245</span> <span class="number">0.40025683281803687</span>
+<span class="number">21</span><span class="special">,</span> <span class="number">0.042970754060845225</span> <span class="number">0.44322758687888220</span>
+<span class="number">22</span><span class="special">,</span> <span class="number">0.042482450037426581</span> <span class="number">0.48571003691630876</span>
+<span class="number">23</span><span class="special">,</span> <span class="number">0.041558918514873783</span> <span class="number">0.52726895543118257</span>
+<span class="number">24</span><span class="special">,</span> <span class="number">0.040260202311284021</span> <span class="number">0.56752915774246648</span>
+<span class="number">25</span><span class="special">,</span> <span class="number">0.038649794218832620</span> <span class="number">0.60617895196129912</span>
+<span class="number">26</span><span class="special">,</span> <span class="number">0.036791631035234917</span> <span class="number">0.64297058299653398</span>
+<span class="number">27</span><span class="special">,</span> <span class="number">0.034747651533277427</span> <span class="number">0.67771823452981139</span>
+<span class="number">28</span><span class="special">,</span> <span class="number">0.032575923312447595</span> <span class="number">0.71029415784225891</span>
+<span class="number">29</span><span class="special">,</span> <span class="number">0.030329307911589130</span> <span class="number">0.74062346575384819</span>
+<span class="number">30</span><span class="special">,</span> <span class="number">0.028054609818219924</span> <span class="number">0.76867807557206813</span>
+<span class="number">31</span><span class="special">,</span> <span class="number">0.025792141284492545</span> <span class="number">0.79447021685656061</span>
+<span class="number">32</span><span class="special">,</span> <span class="number">0.023575629142856460</span> <span class="number">0.81804584599941710</span>
+<span class="number">33</span><span class="special">,</span> <span class="number">0.021432390129869489</span> <span class="number">0.83947823612928651</span>
+<span class="number">34</span><span class="special">,</span> <span class="number">0.019383705779220189</span> <span class="number">0.85886194190850684</span>
+<span class="number">35</span><span class="special">,</span> <span class="number">0.017445335201298231</span> <span class="number">0.87630727710980494</span>
+<span class="number">36</span><span class="special">,</span> <span class="number">0.015628112784496322</span> <span class="number">0.89193538989430121</span>
+<span class="number">37</span><span class="special">,</span> <span class="number">0.013938587078064250</span> <span class="number">0.90587397697236549</span>
+<span class="number">38</span><span class="special">,</span> <span class="number">0.012379666154859701</span> <span class="number">0.91825364312722524</span>
+<span class="number">39</span><span class="special">,</span> <span class="number">0.010951243136991251</span> <span class="number">0.92920488626421649</span>
+<span class="number">40</span><span class="special">,</span> <span class="number">0.0096507830144735539</span> <span class="number">0.93885566927869002</span>
+<span class="number">41</span><span class="special">,</span> <span class="number">0.0084738582566109364</span> <span class="number">0.94732952753530097</span>
+<span class="number">42</span><span class="special">,</span> <span class="number">0.0074146259745345548</span> <span class="number">0.95474415350983555</span>
+<span class="number">43</span><span class="special">,</span> <span class="number">0.0064662435824429246</span> <span class="number">0.96121039709227851</span>
+<span class="number">44</span><span class="special">,</span> <span class="number">0.0056212231142827853</span> <span class="number">0.96683162020656122</span>
+<span class="number">45</span><span class="special">,</span> <span class="number">0.0048717266990450708</span> <span class="number">0.97170334690560634</span>
+<span class="number">46</span><span class="special">,</span> <span class="number">0.0042098073105878630</span> <span class="number">0.97591315421619418</span>
+<span class="number">47</span><span class="special">,</span> <span class="number">0.0036275999165703964</span> <span class="number">0.97954075413276465</span>
+<span class="number">48</span><span class="special">,</span> <span class="number">0.0031174686783026818</span> <span class="number">0.98265822281106729</span>
+<span class="number">49</span><span class="special">,</span> <span class="number">0.0026721160099737302</span> <span class="number">0.98533033882104104</span>
+<span class="number">50</span><span class="special">,</span> <span class="number">0.0022846591885275322</span> <span class="number">0.98761499800956853</span>
+<span class="number">51</span><span class="special">,</span> <span class="number">0.0019486798960970148</span> <span class="number">0.98956367790566557</span>
+<span class="number">52</span><span class="special">,</span> <span class="number">0.0016582516423517923</span> <span class="number">0.99122192954801736</span>
+<span class="number">53</span><span class="special">,</span> <span class="number">0.0014079495076571762</span> <span class="number">0.99262987905567457</span>
+<span class="number">54</span><span class="special">,</span> <span class="number">0.0011928461106539983</span> <span class="number">0.99382272516632852</span>
+<span class="number">55</span><span class="special">,</span> <span class="number">0.0010084971662802015</span> <span class="number">0.99483122233260868</span>
+<span class="number">56</span><span class="special">,</span> <span class="number">0.00085091948404891532</span> <span class="number">0.99568214181665760</span>
+<span class="number">57</span><span class="special">,</span> <span class="number">0.00071656377604119542</span> <span class="number">0.99639870559269883</span>
+<span class="number">58</span><span class="special">,</span> <span class="number">0.00060228420831048650</span> <span class="number">0.99700098980100937</span>
+<span class="number">59</span><span class="special">,</span> <span class="number">0.00050530624256557675</span> <span class="number">0.99750629604357488</span>
+<span class="number">60</span><span class="special">,</span> <span class="number">0.00042319397814867202</span> <span class="number">0.99792949002172360</span>
+<span class="number">61</span><span class="special">,</span> <span class="number">0.00035381791615708398</span> <span class="number">0.99828330793788067</span>
+<span class="number">62</span><span class="special">,</span> <span class="number">0.00029532382517950324</span> <span class="number">0.99857863176306016</span>
+<span class="number">63</span><span class="special">,</span> <span class="number">0.00024610318764958566</span> <span class="number">0.99882473495070978</span>
</pre>
<p>
</p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/normal_example/normal_misc.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/normal_example/normal_misc.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/normal_example/normal_misc.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -31,9 +31,9 @@
The sample program normal_misc_examples.cpp
illustrates their use.
</p>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.traditional_tables"></a><h5>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.traditional_tables-heading"></a>
- <a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.traditional_tables">Traditional
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.h0"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.traditional_tables"></a></span><a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.traditional_tables">Traditional
Tables</a>
</h5>
<p>
@@ -41,7 +41,6 @@
some std output of course).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></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.</span>
@@ -66,7 +65,6 @@
Let's start by printing some traditional tables.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">step</span> <span class="special">=</span> <span class="number">1.</span><span class="special">;</span> <span class="comment">// in z </span>
<span class="keyword">double</span> <span class="identifier">range</span> <span class="special">=</span> <span class="number">4</span><span class="special">;</span> <span class="comment">// min and max z = -range to +range.</span>
@@ -86,14 +84,13 @@
First the probability distribution function (pdf).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Probability distribution function values"</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" z "</span> <span class="string">" pdf "</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span><span class="special">.</span><span class="identifier">precision</span><span class="special">(</span><span class="number">5</span><span class="special">);</span>
<span class="keyword">for</span> <span class="special">(</span><span class="keyword">double</span> <span class="identifier">z</span> <span class="special">=</span> <span class="special">-</span><span class="identifier">range</span><span class="special">;</span> <span class="identifier">z</span> <span class="special"><</span> <span class="identifier">range</span> <span class="special">+</span> <span class="identifier">step</span><span class="special">;</span> <span class="identifier">z</span> <span class="special">+=</span> <span class="identifier">step</span><span class="special">)</span>
<span class="special">{</span>
- <span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">left</span> <span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="number">3</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">6</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">z</span> <span class="special"><<</span> <span class="string">" "</span>
+ <span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">left</span> <span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="number">3</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">6</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">z</span> <span class="special"><<</span> <span class="string">" "</span>
<span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="identifier">precision</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">12</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">pdf</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span> <span class="identifier">z</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="special">}</span>
<span class="identifier">cout</span><span class="special">.</span><span class="identifier">precision</span><span class="special">(</span><span class="number">6</span><span class="special">);</span> <span class="comment">// default</span></pre>
@@ -104,7 +101,6 @@
function (cdf).
</p>
<p>
-
</p>
<pre class="programlisting"><span class="comment">// For a standard normal distribution </span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Standard normal mean = "</span><span class="special"><<</span> <span class="identifier">s</span><span class="special">.</span><span class="identifier">mean</span><span class="special">()</span>
@@ -113,7 +109,7 @@
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">" z "</span> <span class="string">" cdf "</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="keyword">for</span> <span class="special">(</span><span class="keyword">double</span> <span class="identifier">z</span> <span class="special">=</span> <span class="special">-</span><span class="identifier">range</span><span class="special">;</span> <span class="identifier">z</span> <span class="special"><</span> <span class="identifier">range</span> <span class="special">+</span> <span class="identifier">step</span><span class="special">;</span> <span class="identifier">z</span> <span class="special">+=</span> <span class="identifier">step</span><span class="special">)</span>
<span class="special">{</span>
- <span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">left</span> <span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="number">3</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">6</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">z</span> <span class="special"><<</span> <span class="string">" "</span>
+ <span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">left</span> <span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="number">3</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">6</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">z</span> <span class="special"><<</span> <span class="string">" "</span>
<span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="identifier">precision</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">12</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span> <span class="identifier">z</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="special">}</span>
<span class="identifier">cout</span><span class="special">.</span><span class="identifier">precision</span><span class="special">(</span><span class="number">6</span><span class="special">);</span> <span class="comment">// default</span></pre>
@@ -136,9 +132,8 @@
write
</p>
<p>
-
</p>
-<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">z</span> <span class="special">=</span> <span class="number">2.</span><span class="special">;</span>
+<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">z</span> <span class="special">=</span> <span class="number">2.</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Area for z = "</span> <span class="special"><<</span> <span class="identifier">z</span> <span class="special"><<</span> <span class="string">" is "</span> <span class="special"><<</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span> <span class="identifier">z</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// to get the area for z.</span></pre>
<p>
</p>
@@ -149,7 +144,6 @@
so we can write
</p>
<p>
-
</p>
<pre class="programlisting"> <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"95% of area has a z below "</span> <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span> <span class="number">0.95</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="comment">// 95% of area has a z below 1.64485</span></pre>
@@ -160,7 +154,6 @@
a one-sided test)
</p>
<p>
-
</p>
<pre class="programlisting"> <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"95% of area has a z between "</span> <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span> <span class="number">0.975</span><span class="special">)</span>
<span class="special"><<</span> <span class="string">" and "</span> <span class="special"><<</span> <span class="special">-</span><span class="identifier">quantile</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span> <span class="number">0.975</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -177,7 +170,6 @@
neat number like 0.05, but we can easily calculate it,
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">alpha1</span> <span class="special">=</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">s</span><span class="special">,</span> <span class="special">-</span><span class="number">1</span><span class="special">)</span> <span class="special">*</span> <span class="number">2</span><span class="special">;</span> <span class="comment">// 0.3173105078629142</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="number">17</span><span class="special">)</span> <span class="special"><<</span> <span class="string">"Significance level for z == 1 is "</span> <span class="special"><<</span> <span class="identifier">alpha1</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
@@ -187,7 +179,6 @@
and place in our array of favorite alpha values.
</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.3173105078629142</span><span class="special">,</span> <span class="comment">// z for 1 standard deviation.</span>
<span class="number">0.20</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>
@@ -199,7 +190,6 @@
the calculated interval.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"level of significance (alpha)"</span> <span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="number">4</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"2-sided 1 -sided z(alpha) "</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -229,9 +219,9 @@
the area between -1.96 up to 12.96 is alpha = 0.95. and the sum of
the two tails is 0.025 + 0.025 = 0.05,
</p>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.standard_deviations_either_side_of_the_mean"></a><h5>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.standard_deviations_either_side_of_the_mean-heading"></a>
- <a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.standard_deviations_either_side_of_the_mean">Standard
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.h1"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.standard_deviations_either_side_of_the_mean"></a></span><a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.standard_deviations_either_side_of_the_mean">Standard
deviations either side of the Mean</a>
</h5>
<p>
@@ -240,7 +230,6 @@
3 standard deviations from the mean.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span><span class="special">.</span><span class="identifier">precision</span><span class="special">(</span><span class="number">3</span><span class="special">);</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">showpoint</span> <span class="special"><<</span> <span class="string">"cdf(s, s.standard_deviation()) = "</span>
@@ -279,14 +268,14 @@
deviation</strong></span> are surprisingly wide, especially if you have
estimated the standard deviation from only a few measurements.
</p>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.some_simple_examples"></a><h5>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.some_simple_examples-heading"></a>
- <a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.some_simple_examples">Some
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.h2"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.some_simple_examples"></a></span><a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.some_simple_examples">Some
simple examples</a>
</h5>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.life_of_light_bulbs"></a><h5>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.life_of_light_bulbs-heading"></a>
- <a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.life_of_light_bulbs">Life
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.h3"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.life_of_light_bulbs"></a></span><a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.life_of_light_bulbs">Life
of light bulbs</a>
</h5>
<p>
@@ -298,7 +287,6 @@
A few very simple examples are shown here:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="comment">// K. Krishnamoorthy, Handbook of Statistical Distributions with Applications,</span>
<span class="comment">// ISBN 1 58488 635 8, page 125, example 10.3.5</span></pre>
@@ -311,11 +299,10 @@
<span class="emphasis"><em>bulbs</em></span> with these values:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">mean_life</span> <span class="special">=</span> <span class="number">1100.</span><span class="special">;</span>
<span class="keyword">double</span> <span class="identifier">life_standard_deviation</span> <span class="special">=</span> <span class="number">100.</span><span class="special">;</span>
-<span class="identifier">normal</span> <span class="identifier">bulbs</span><span class="special">(</span><span class="identifier">mean_life</span><span class="special">,</span> <span class="identifier">life_standard_deviation</span><span class="special">);</span>
+<span class="identifier">normal</span> <span class="identifier">bulbs</span><span class="special">(</span><span class="identifier">mean_life</span><span class="special">,</span> <span class="identifier">life_standard_deviation</span><span class="special">);</span>
<span class="keyword">double</span> <span class="identifier">expected_life</span> <span class="special">=</span> <span class="number">1000.</span><span class="special">;</span></pre>
<p>
</p>
@@ -324,7 +311,6 @@
(or percentages, if * 100) that will last various lifetimes.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Fraction of bulbs that will last at best (<=) "</span> <span class="comment">// P(X <= 1000)</span>
<span class="special"><<</span> <span class="identifier">expected_life</span> <span class="special"><<</span> <span class="string">" is "</span><span class="special"><<</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">bulbs</span><span class="special">,</span> <span class="identifier">expected_life</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -350,9 +336,9 @@
by the normal distribution.
</p></td></tr>
</table></div>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.how_many_onions_"></a><h5>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.how_many_onions_-heading"></a>
- <a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.how_many_onions_">How
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.h4"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.how_many_onions_"></a></span><a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.how_many_onions_">How
many onions?</a>
</h5>
<p>
@@ -360,10 +346,9 @@
with mean 140 sacks and standard deviation 10.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">mean</span> <span class="special">=</span> <span class="number">140.</span><span class="special">;</span> <span class="comment">// sacks per week.</span>
-<span class="keyword">double</span> <span class="identifier">standard_deviation</span> <span class="special">=</span> <span class="number">10</span><span class="special">;</span>
+<span class="keyword">double</span> <span class="identifier">standard_deviation</span> <span class="special">=</span> <span class="number">10</span><span class="special">;</span>
<span class="identifier">normal</span> <span class="identifier">sacks</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="keyword">double</span> <span class="identifier">stock</span> <span class="special">=</span> <span class="number">160.</span><span class="special">;</span> <span class="comment">// per week.</span>
@@ -377,7 +362,6 @@
what stock level will meet demand 95% of the weeks.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">stock_95</span> <span class="special">=</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">sacks</span><span class="special">,</span> <span class="number">0.95</span><span class="special">);</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Store should stock "</span> <span class="special"><<</span> <span class="keyword">int</span><span class="special">(</span><span class="identifier">stock_95</span><span class="special">)</span> <span class="special"><<</span> <span class="string">" sacks to meet 95% of demands."</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
@@ -388,16 +372,15 @@
less.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">stock_80</span> <span class="special">=</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">sacks</span><span class="special">,</span> <span class="number">0.80</span><span class="special">);</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Store should stock "</span> <span class="special"><<</span> <span class="keyword">int</span><span class="special">(</span><span class="identifier">stock_80</span><span class="special">)</span> <span class="special"><<</span> <span class="string">" sacks to meet 8 out of 10 demands."</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
</pre>
<p>
</p>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.packing_beef"></a><h5>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.packing_beef-heading"></a>
- <a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.packing_beef">Packing
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.h5"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.packing_beef"></a></span><a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.packing_beef">Packing
beef</a>
</h5>
<p>
@@ -408,7 +391,6 @@
kg.
</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>
@@ -419,7 +401,7 @@
<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">packs</span><span class="special">,</span> <span class="identifier">max_weight</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// P(X > 3.1)</span>
<span class="keyword">double</span> <span class="identifier">under_weight</span> <span class="special">=</span> <span class="number">2.9</span><span class="special">;</span>
-<span class="identifier">cout</span> <span class="special"><<</span><span class="string">"fraction of packs <= "</span> <span class="special"><<</span> <span class="identifier">under_weight</span> <span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">mean</span>
+<span class="identifier">cout</span> <span class="special"><<</span><span class="string">"fraction of packs <= "</span> <span class="special"><<</span> <span class="identifier">under_weight</span> <span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">mean</span>
<span class="special"><<</span> <span class="string">" is "</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">packs</span><span class="special">,</span> <span class="identifier">under_weight</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="comment">// fraction of packs <= 2.9 with a mean of 3 is 0.841345</span>
<span class="comment">// This is 0.84 - more than the target 0.95</span>
@@ -428,7 +410,7 @@
<span class="keyword">double</span> <span class="identifier">over_mean</span> <span class="special">=</span> <span class="number">3.0664</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>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">under_weight</span>
-<span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">xpacks</span><span class="special">.</span><span class="identifier">mean</span><span class="special">()</span>
+<span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">xpacks</span><span class="special">.</span><span class="identifier">mean</span><span class="special">()</span>
<span class="special"><<</span> <span class="string">" is "</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">xpacks</span><span class="special">,</span> <span class="identifier">under_weight</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="comment">// fraction of packs >= 2.9 with a mean of 3.06449 is 0.950005</span>
<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>
@@ -438,7 +420,7 @@
<span class="identifier">normal</span> <span class="identifier">nominal_packs</span><span class="special">(</span><span class="identifier">nominal_mean</span><span class="special">,</span> <span class="identifier">standard_deviation</span><span class="special">);</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Setting the packer to "</span> <span class="special"><<</span> <span class="identifier">nominal_mean</span> <span class="special"><<</span> <span class="string">" will mean that "</span>
- <span class="special"><<</span> <span class="string">"fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">under_weight</span>
+ <span class="special"><<</span> <span class="string">"fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">under_weight</span>
<span class="special"><<</span> <span class="string">" is "</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">nominal_packs</span><span class="special">,</span> <span class="identifier">under_weight</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
</p>
@@ -461,7 +443,6 @@
under_weight limit, 2.9
</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"><<</span> <span class="string">"Quantile of "</span> <span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="string">" = "</span> <span class="special"><<</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>
@@ -481,13 +462,12 @@
standard deviation of 0.05
</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"><<</span> <span class="string">"Quantile of "</span> <span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="string">" = "</span> <span class="special"><<</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>
+<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"><<</span> <span class="string">"Quantile of "</span> <span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="string">" = "</span> <span class="special"><<</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>
<span class="special"><<</span> <span class="string">", mean = "</span> <span class="special"><<</span> <span class="identifier">pack05</span><span class="special">.</span><span class="identifier">mean</span><span class="special">()</span> <span class="special"><<</span> <span class="string">", sd = "</span> <span class="special"><<</span> <span class="identifier">pack05</span><span class="special">.</span><span class="identifier">standard_deviation</span><span class="special">()</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-<span class="identifier">cout</span> <span class="special"><<</span><span class="string">"Fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">under_weight</span> <span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">mean</span>
+<span class="identifier">cout</span> <span class="special"><<</span><span class="string">"Fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">under_weight</span> <span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">mean</span>
<span class="special"><<</span> <span class="string">" and standard deviation of "</span> <span class="special"><<</span> <span class="identifier">pack05</span><span class="special">.</span><span class="identifier">standard_deviation</span><span class="special">()</span>
<span class="special"><<</span> <span class="string">" is "</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">pack05</span><span class="special">,</span> <span class="identifier">under_weight</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="comment">//</span></pre>
@@ -503,13 +483,12 @@
some more guessing to get closer, say by increasing to 0.06
</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"><<</span> <span class="string">"Quantile of "</span> <span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="string">" = "</span> <span class="special"><<</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>
+<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"><<</span> <span class="string">"Quantile of "</span> <span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="string">" = "</span> <span class="special"><<</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>
<span class="special"><<</span> <span class="string">", mean = "</span> <span class="special"><<</span> <span class="identifier">pack06</span><span class="special">.</span><span class="identifier">mean</span><span class="special">()</span> <span class="special"><<</span> <span class="string">", sd = "</span> <span class="special"><<</span> <span class="identifier">pack06</span><span class="special">.</span><span class="identifier">standard_deviation</span><span class="special">()</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-<span class="identifier">cout</span> <span class="special"><<</span><span class="string">"Fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">under_weight</span> <span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">mean</span>
+<span class="identifier">cout</span> <span class="special"><<</span><span class="string">"Fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">under_weight</span> <span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">mean</span>
<span class="special"><<</span> <span class="string">" and standard deviation of "</span> <span class="special"><<</span> <span class="identifier">pack06</span><span class="special">.</span><span class="identifier">standard_deviation</span><span class="special">()</span>
<span class="special"><<</span> <span class="string">" is "</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">pack06</span><span class="special">,</span> <span class="identifier">under_weight</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span></pre>
<p>
@@ -529,7 +508,6 @@
make a direct calculation.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">normal</span> <span class="identifier">s</span><span class="special">;</span> <span class="comment">// For standard normal distribution, </span>
<span class="keyword">double</span> <span class="identifier">sd</span> <span class="special">=</span> <span class="number">0.1</span><span class="special">;</span>
@@ -545,11 +523,11 @@
<span class="comment">// Rearranging, we can directly calculate the required standard deviation:</span>
<span class="keyword">double</span> <span class="identifier">sd95</span> <span class="special">=</span> <span class="identifier">abs</span><span class="special">((</span><span class="identifier">x</span> <span class="special">-</span> <span class="identifier">mean</span><span class="special">))</span> <span class="special">/</span> <span class="identifier">qp</span><span class="special">;</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"If we want the "</span><span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="string">" th quantile to be located at "</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"If we want the "</span><span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="string">" th quantile to be located at "</span>
<span class="special"><<</span> <span class="identifier">x</span> <span class="special"><<</span> <span class="string">", would need a standard deviation of "</span> <span class="special"><<</span> <span class="identifier">sd95</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<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="comment">// Distribution of the 'ideal better' packer.</span>
-<span class="identifier">cout</span> <span class="special"><<</span><span class="string">"Fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">under_weight</span> <span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">mean</span>
+<span class="identifier">cout</span> <span class="special"><<</span><span class="string">"Fraction of packs >= "</span> <span class="special"><<</span> <span class="identifier">under_weight</span> <span class="special"><<</span> <span class="string">" with a mean of "</span> <span class="special"><<</span> <span class="identifier">mean</span>
<span class="special"><<</span> <span class="string">" and standard deviation of "</span> <span class="special"><<</span> <span class="identifier">pack95</span><span class="special">.</span><span class="identifier">standard_deviation</span><span class="special">()</span>
<span class="special"><<</span> <span class="string">" is "</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">pack95</span><span class="special">,</span> <span class="identifier">under_weight</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -564,9 +542,9 @@
almost always less good than we might wish, especially if based on
a few measurements.
</p>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.length_of_bolts"></a><h5>
-<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.length_of_bolts-heading"></a>
- <a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.length_of_bolts">Length
+<h5>
+<a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.h6"></a>
+ <span><a name="math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.length_of_bolts"></a></span><a class="link" href="normal_misc.html#math_toolkit.dist.stat_tut.weg.normal_example.normal_misc.length_of_bolts">Length
of bolts</a>
</h5>
<p>
@@ -577,11 +555,10 @@
deviation to find approximate solutions.
</p>
<p>
-
</p>
<pre class="programlisting"> <span class="identifier">normal</span> <span class="identifier">bolts</span><span class="special">(</span><span class="number">3.95</span><span class="special">,</span> <span class="number">0.1</span><span class="special">);</span>
<span class="keyword">double</span> <span class="identifier">top</span> <span class="special">=</span> <span class="number">4.1</span><span class="special">;</span>
- <span class="keyword">double</span> <span class="identifier">bottom</span> <span class="special">=</span> <span class="number">3.9</span><span class="special">;</span>
+ <span class="keyword">double</span> <span class="identifier">bottom</span> <span class="special">=</span> <span class="number">3.9</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Fraction long enough [ P(X <= "</span> <span class="special"><<</span> <span class="identifier">top</span> <span class="special"><<</span> <span class="string">") ] is "</span> <span class="special"><<</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">bolts</span><span class="special">,</span> <span class="identifier">top</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Fraction too short [ P(X <= "</span> <span class="special"><<</span> <span class="identifier">bottom</span> <span class="special"><<</span> <span class="string">") ] is "</span> <span class="special"><<</span> <span class="identifier">cdf</span><span class="special">(</span><span class="identifier">bolts</span><span class="special">,</span> <span class="identifier">bottom</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
@@ -593,7 +570,7 @@
<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">bolts</span><span class="special">,</span> <span class="identifier">top</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"95% of bolts are shorter than "</span> <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">bolts</span><span class="special">,</span> <span class="number">0.95</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-
+
</pre>
<p>
</p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_intervals.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_intervals.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_intervals.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -114,7 +114,7 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iomanip</span><span class="special">></span>
<span class="comment">// Bring everything into global namespace for ease of use:</span>
<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>
-<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">std</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">std</span><span class="special">;</span>
<span class="keyword">void</span> <span class="identifier">confidence_limits_on_mean</span><span class="special">(</span>
<span class="keyword">double</span> <span class="identifier">Sm</span><span class="special">,</span> <span class="comment">// Sm = Sample Mean.</span>
@@ -125,7 +125,7 @@
<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>
<span class="comment">// Print out general info:</span>
- <span class="identifier">cout</span> <span class="special"><<</span>
+ <span class="identifier">cout</span> <span class="special"><<</span>
<span class="string">"__________________________________\n"</span>
<span class="string">"2-Sided Confidence Limits For Mean\n"</span>
<span class="string">"__________________________________\n\n"</span><span class="special">;</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_size.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_size.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_size.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -47,7 +47,7 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iomanip</span><span class="special">></span>
<span class="comment">// Bring everything into global namespace for ease of use:</span>
<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>
-<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">std</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">std</span><span class="special">;</span>
<span class="keyword">void</span> <span class="identifier">single_sample_find_df</span><span class="special">(</span>
<span class="keyword">double</span> <span class="identifier">M</span><span class="special">,</span> <span class="comment">// M = true mean.</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_test.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_test.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/tut_mean_test.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -70,7 +70,7 @@
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iomanip</span><span class="special">></span>
<span class="comment">// Bring everything into global namespace for ease of use:</span>
<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>
-<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">std</span><span class="special">;</span>
+<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">std</span><span class="special">;</span>
<span class="keyword">void</span> <span class="identifier">single_sample_t_test</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">M</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">Sm</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">Sd</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">Sn</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">alpha</span><span class="special">)</span>
<span class="special">{</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/two_sample_students_t.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/two_sample_students_t.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/dist/stat_tut/weg/st_eg/two_sample_students_t.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -100,7 +100,7 @@
</p>
<pre class="programlisting"><span class="identifier">students_t</span> <span class="identifier">dist</span><span class="special">(</span><span class="identifier">v</span><span class="special">);</span>
<span class="keyword">double</span> <span class="identifier">q</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">dist</span><span class="special">,</span> <span class="identifier">fabs</span><span class="special">(</span><span class="identifier">t_stat</span><span class="special">)));</span>
-<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">55</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">left</span> <span class="special"><<</span> <span class="string">"Probability that difference is due to chance"</span> <span class="special"><<</span> <span class="string">"= "</span>
+<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">55</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">left</span> <span class="special"><<</span> <span class="string">"Probability that difference is due to chance"</span> <span class="special"><<</span> <span class="string">"= "</span>
<span class="special"><<</span> <span class="identifier">setprecision</span><span class="special">(</span><span class="number">3</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">scientific</span> <span class="special"><<</span> <span class="number">2</span> <span class="special">*</span> <span class="identifier">q</span> <span class="special"><<</span> <span class="string">"\n\n"</span><span class="special">;</span>
</pre>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/c99.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/c99.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/c99.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,9 +26,9 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="math_toolkit.extern_c.c99"></a><a class="link" href="c99.html" title="C99 C Functions">C99 C Functions</a>
</h3></div></div></div>
-<a name="math_toolkit.extern_c.c99.supported_c99_functions"></a><h5>
-<a name="math_toolkit.extern_c.c99.supported_c99_functions-heading"></a>
- <a class="link" href="c99.html#math_toolkit.extern_c.c99.supported_c99_functions">Supported
+<h5>
+<a name="math_toolkit.extern_c.c99.h0"></a>
+ <span><a name="math_toolkit.extern_c.c99.supported_c99_functions"></a></span><a class="link" href="c99.html#math_toolkit.extern_c.c99.supported_c99_functions">Supported
C99 Functions</a>
</h5>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">tr1</span><span class="special">{</span> <span class="keyword">extern</span> <span class="string">"C"</span><span class="special">{</span>
@@ -137,9 +137,10 @@
<span class="identifier">acosh</span><span class="special">(</span><span class="number">2.0L</span><span class="special">);</span> <span class="comment">// also calls the long double version.</span>
<span class="identifier">acosh</span><span class="special">(</span><span class="number">2</span><span class="special">);</span> <span class="comment">// integer argument is treated as a double, returns double.</span>
</pre>
-<a name="math_toolkit.extern_c.c99.quick_reference"></a><h5>
-<a name="math_toolkit.extern_c.c99.quick_reference-heading"></a>
- <a class="link" href="c99.html#math_toolkit.extern_c.c99.quick_reference">Quick Reference</a>
+<h5>
+<a name="math_toolkit.extern_c.c99.h1"></a>
+ <span><a name="math_toolkit.extern_c.c99.quick_reference"></a></span><a class="link" href="c99.html#math_toolkit.extern_c.c99.quick_reference">Quick
+ Reference</a>
</h5>
<p>
More detailed descriptions of these functions are available in the C99 standard.
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/tr1.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/tr1.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/tr1.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -257,9 +257,10 @@
installed, and can generally just link against -lboost_math_tr1 etc.
</p></td></tr>
</table></div>
-<a name="math_toolkit.extern_c.tr1.usage_recomendations"></a><h5>
-<a name="math_toolkit.extern_c.tr1.usage_recomendations-heading"></a>
- <a class="link" href="tr1.html#math_toolkit.extern_c.tr1.usage_recomendations">Usage Recomendations</a>
+<h5>
+<a name="math_toolkit.extern_c.tr1.h0"></a>
+ <span><a name="math_toolkit.extern_c.tr1.usage_recomendations"></a></span><a class="link" href="tr1.html#math_toolkit.extern_c.tr1.usage_recomendations">Usage
+ Recomendations</a>
</h5>
<p>
This library now presents the user with a choice:
@@ -294,9 +295,9 @@
and debug builds can be as much as 20 times</a>, so for complex applications
this can be a big win.
</p>
-<a name="math_toolkit.extern_c.tr1.supported_c99_functions"></a><h5>
-<a name="math_toolkit.extern_c.tr1.supported_c99_functions-heading"></a>
- <a class="link" href="tr1.html#math_toolkit.extern_c.tr1.supported_c99_functions">Supported
+<h5>
+<a name="math_toolkit.extern_c.tr1.h1"></a>
+ <span><a name="math_toolkit.extern_c.tr1.supported_c99_functions"></a></span><a class="link" href="tr1.html#math_toolkit.extern_c.tr1.supported_c99_functions">Supported
C99 Functions</a>
</h5>
<p>
@@ -390,9 +391,9 @@
<span class="special">}}}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.extern_c.tr1.supported_tr1_functions"></a><h5>
-<a name="math_toolkit.extern_c.tr1.supported_tr1_functions-heading"></a>
- <a class="link" href="tr1.html#math_toolkit.extern_c.tr1.supported_tr1_functions">Supported
+<h5>
+<a name="math_toolkit.extern_c.tr1.h2"></a>
+ <span><a name="math_toolkit.extern_c.tr1.supported_tr1_functions"></a></span><a class="link" href="tr1.html#math_toolkit.extern_c.tr1.supported_tr1_functions">Supported
TR1 Functions</a>
</h5>
<p>
@@ -400,7 +401,7 @@
for these functions</a>.
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">tr1</span><span class="special">{</span> <span class="keyword">extern</span> <span class="string">"C"</span><span class="special">{</span>
-
+
<span class="comment">// [5.2.1.1] associated Laguerre polynomials:</span>
<span class="keyword">double</span> <span class="identifier">assoc_laguerre</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">m</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">x</span><span class="special">);</span>
<span class="keyword">float</span> <span class="identifier">assoc_laguerref</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">m</span><span class="special">,</span> <span class="keyword">float</span> <span class="identifier">x</span><span class="special">);</span>
@@ -519,9 +520,9 @@
arguments is supported, with the return type determined by the <a class="link" href="../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>result
type calculation rules</em></span></a>.
</p>
-<a name="math_toolkit.extern_c.tr1.currently_unsupported_c99_functions"></a><h5>
-<a name="math_toolkit.extern_c.tr1.currently_unsupported_c99_functions-heading"></a>
- <a class="link" href="tr1.html#math_toolkit.extern_c.tr1.currently_unsupported_c99_functions">Currently
+<h5>
+<a name="math_toolkit.extern_c.tr1.h3"></a>
+ <span><a name="math_toolkit.extern_c.tr1.currently_unsupported_c99_functions"></a></span><a class="link" href="tr1.html#math_toolkit.extern_c.tr1.currently_unsupported_c99_functions">Currently
Unsupported C99 Functions</a>
</h5>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">exp2</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">);</span>
@@ -584,9 +585,9 @@
<span class="keyword">float</span> <span class="identifier">scalbnf</span><span class="special">(</span><span class="keyword">float</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">int</span> <span class="identifier">ex</span><span class="special">);</span>
<span class="keyword">long</span> <span class="keyword">double</span> <span class="identifier">scalbnl</span><span class="special">(</span><span class="keyword">long</span> <span class="keyword">double</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">int</span> <span class="identifier">ex</span><span class="special">);</span>
</pre>
-<a name="math_toolkit.extern_c.tr1.currently_unsupported_tr1_functions"></a><h5>
-<a name="math_toolkit.extern_c.tr1.currently_unsupported_tr1_functions-heading"></a>
- <a class="link" href="tr1.html#math_toolkit.extern_c.tr1.currently_unsupported_tr1_functions">Currently
+<h5>
+<a name="math_toolkit.extern_c.tr1.h4"></a>
+ <span><a name="math_toolkit.extern_c.tr1.currently_unsupported_tr1_functions"></a></span><a class="link" href="tr1.html#math_toolkit.extern_c.tr1.currently_unsupported_tr1_functions">Currently
Unsupported TR1 Functions</a>
</h5>
<pre class="programlisting"><span class="comment">// [5.2.1.7] confluent hypergeometric functions:</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/tr1_ref.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/tr1_ref.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/extern_c/tr1_ref.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,13 +27,13 @@
<a name="math_toolkit.extern_c.tr1_ref"></a><a class="link" href="tr1_ref.html" title="TR1 C Functions Quick Reference">TR1 C Functions Quick
Reference</a>
</h3></div></div></div>
-<a name="math_toolkit.extern_c.tr1_ref.supported_tr1_functions"></a><h5>
-<a name="math_toolkit.extern_c.tr1_ref.supported_tr1_functions-heading"></a>
- <a class="link" href="tr1_ref.html#math_toolkit.extern_c.tr1_ref.supported_tr1_functions">Supported
+<h5>
+<a name="math_toolkit.extern_c.tr1_ref.h0"></a>
+ <span><a name="math_toolkit.extern_c.tr1_ref.supported_tr1_functions"></a></span><a class="link" href="tr1_ref.html#math_toolkit.extern_c.tr1_ref.supported_tr1_functions">Supported
TR1 Functions</a>
</h5>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">tr1</span><span class="special">{</span> <span class="keyword">extern</span> <span class="string">"C"</span><span class="special">{</span>
-
+
<span class="comment">// [5.2.1.1] associated Laguerre polynomials:</span>
<span class="keyword">double</span> <span class="identifier">assoc_laguerre</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">m</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">x</span><span class="special">);</span>
<span class="keyword">float</span> <span class="identifier">assoc_laguerref</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">m</span><span class="special">,</span> <span class="keyword">float</span> <span class="identifier">x</span><span class="special">);</span>
@@ -162,9 +162,10 @@
<span class="identifier">expint</span><span class="special">(</span><span class="number">2.0L</span><span class="special">);</span> <span class="comment">// also calls the long double version.</span>
<span class="identifier">expint</span><span class="special">(</span><span class="number">2</span><span class="special">);</span> <span class="comment">// integer argument is treated as a double, returns double.</span>
</pre>
-<a name="math_toolkit.extern_c.tr1_ref.quick_reference"></a><h5>
-<a name="math_toolkit.extern_c.tr1_ref.quick_reference-heading"></a>
- <a class="link" href="tr1_ref.html#math_toolkit.extern_c.tr1_ref.quick_reference">Quick Reference</a>
+<h5>
+<a name="math_toolkit.extern_c.tr1_ref.h1"></a>
+ <span><a name="math_toolkit.extern_c.tr1_ref.quick_reference"></a></span><a class="link" href="tr1_ref.html#math_toolkit.extern_c.tr1_ref.quick_reference">Quick
+ Reference</a>
</h5>
<pre class="programlisting"><span class="comment">// [5.2.1.1] associated Laguerre polynomials:</span>
<span class="keyword">double</span> <span class="identifier">assoc_laguerre</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">m</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">x</span><span class="special">);</span>
@@ -493,9 +494,9 @@
See also <a class="link" href="../special/bessel/sph_bessel.html" title="Spherical Bessel Functions of the First and Second Kinds">sph_bessel</a>
for the full template (header only) version of this function.
</p>
-<a name="math_toolkit.extern_c.tr1_ref.currently_unsupported_tr1_functions"></a><h5>
-<a name="math_toolkit.extern_c.tr1_ref.currently_unsupported_tr1_functions-heading"></a>
- <a class="link" href="tr1_ref.html#math_toolkit.extern_c.tr1_ref.currently_unsupported_tr1_functions">Currently
+<h5>
+<a name="math_toolkit.extern_c.tr1_ref.h2"></a>
+ <span><a name="math_toolkit.extern_c.tr1_ref.currently_unsupported_tr1_functions"></a></span><a class="link" href="tr1_ref.html#math_toolkit.extern_c.tr1_ref.currently_unsupported_tr1_functions">Currently
Unsupported TR1 Functions</a>
</h5>
<pre class="programlisting"><span class="comment">// [5.2.1.7] confluent hypergeometric functions:</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/building.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/building.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/building.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,9 +27,9 @@
<a name="math_toolkit.main_overview.building"></a><a class="link" href="building.html" title="If and How to Build a Boost.Math Library, and its Examples and Tests">If and How to Build
a Boost.Math Library, and its Examples and Tests</a>
</h3></div></div></div>
-<a name="math_toolkit.main_overview.building.building_a_library__shared__dynamic__dll_or_static__lib_"></a><h5>
-<a name="math_toolkit.main_overview.building.building_a_library__shared__dynamic__dll_or_static__lib_-heading"></a>
- <a class="link" href="building.html#math_toolkit.main_overview.building.building_a_library__shared__dynamic__dll_or_static__lib_">Building
+<h5>
+<a name="math_toolkit.main_overview.building.h0"></a>
+ <span><a name="math_toolkit.main_overview.building.building_a_library__shared__dynamic__dll_or_static__lib_"></a></span><a class="link" href="building.html#math_toolkit.main_overview.building.building_a_library__shared__dynamic__dll_or_static__lib_">Building
a Library (shared, dynamic .dll or static .lib)</a>
</h5>
<p>
@@ -99,9 +99,9 @@
on the command line, both when building the pre-compiled header and when
building the sources. Boost.Build will do this automatically when appropriate.
</p>
-<a name="math_toolkit.main_overview.building.building_the_examples"></a><h5>
-<a name="math_toolkit.main_overview.building.building_the_examples-heading"></a>
- <a class="link" href="building.html#math_toolkit.main_overview.building.building_the_examples">Building
+<h5>
+<a name="math_toolkit.main_overview.building.h1"></a>
+ <span><a name="math_toolkit.main_overview.building.building_the_examples"></a></span><a class="link" href="building.html#math_toolkit.main_overview.building.building_the_examples">Building
the Examples</a>
</h5>
<p>
@@ -110,9 +110,9 @@
Jamfile, or from your compiler's command line. The only requirement is that
the Boost headers are in your compilers #include search path.
</p>
-<a name="math_toolkit.main_overview.building.building_the_tests"></a><h5>
-<a name="math_toolkit.main_overview.building.building_the_tests-heading"></a>
- <a class="link" href="building.html#math_toolkit.main_overview.building.building_the_tests">Building
+<h5>
+<a name="math_toolkit.main_overview.building.h2"></a>
+ <span><a name="math_toolkit.main_overview.building.building_the_tests"></a></span><a class="link" href="building.html#math_toolkit.main_overview.building.building_the_tests">Building
the Tests</a>
</h5>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/directories.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/directories.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/directories.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,9 +27,9 @@
<a name="math_toolkit.main_overview.directories"></a><a class="link" href="directories.html" title="Directory and File Structure">Directory and
File Structure</a>
</h3></div></div></div>
-<a name="math_toolkit.main_overview.directories.boost_math"></a><h5>
-<a name="math_toolkit.main_overview.directories.boost_math-heading"></a>
- <a class="link" href="directories.html#math_toolkit.main_overview.directories.boost_math">boost/math</a>
+<h5>
+<a name="math_toolkit.main_overview.directories.h0"></a>
+ <span><a name="math_toolkit.main_overview.directories.boost_math"></a></span><a class="link" href="directories.html#math_toolkit.main_overview.directories.boost_math">boost/math</a>
</h5>
<div class="variablelist">
<p class="title"><b></b></p>
@@ -72,9 +72,9 @@
</p></dd>
</dl>
</div>
-<a name="math_toolkit.main_overview.directories.boost_libs"></a><h5>
-<a name="math_toolkit.main_overview.directories.boost_libs-heading"></a>
- <a class="link" href="directories.html#math_toolkit.main_overview.directories.boost_libs">boost/libs</a>
+<h5>
+<a name="math_toolkit.main_overview.directories.h1"></a>
+ <span><a name="math_toolkit.main_overview.directories.boost_libs"></a></span><a class="link" href="directories.html#math_toolkit.main_overview.directories.boost_libs">boost/libs</a>
</h5>
<div class="variablelist">
<p class="title"><b></b></p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/error_handling.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/error_handling.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/error_handling.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,9 +26,9 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="math_toolkit.main_overview.error_handling"></a><a class="link" href="error_handling.html" title="Error Handling">Error Handling</a>
</h3></div></div></div>
-<a name="math_toolkit.main_overview.error_handling.quick_reference"></a><h5>
-<a name="math_toolkit.main_overview.error_handling.quick_reference-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling.quick_reference">Quick
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h0"></a>
+ <span><a name="math_toolkit.main_overview.error_handling.quick_reference"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling.quick_reference">Quick
Reference</a>
</h5>
<p>
@@ -746,9 +746,9 @@
or individual using declarations <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><span class="identifier">policies</span><span class="special">::</span><span class="identifier">overflow_error</span><span class="special">;</span></code>.
</p>
-<a name="math_toolkit.main_overview.error_handling.rationale"></a><h5>
-<a name="math_toolkit.main_overview.error_handling.rationale-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling.rationale">Rationale</a>
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h1"></a>
+ <span><a name="math_toolkit.main_overview.error_handling.rationale"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling.rationale">Rationale</a>
</h5>
<p>
The flexibility of the current implementation should be reasonably obvious:
@@ -765,9 +765,9 @@
fatal errors in most cases, so it was felt that these should be ignored.
</li>
</ul></div>
-<a name="math_toolkit.main_overview.error_handling.finding_more_information"></a><h5>
-<a name="math_toolkit.main_overview.error_handling.finding_more_information-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling.finding_more_information">Finding
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h2"></a>
+ <span><a name="math_toolkit.main_overview.error_handling.finding_more_information"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling.finding_more_information">Finding
More Information</a>
</h5>
<p>
@@ -787,9 +787,9 @@
<p>
The various kind of errors are described in more detail below.
</p>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__domain_error___domain_errors"></a><h5>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__domain_error___domain_errors-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__domain_error___domain_errors"><a name="domain_error"></a>Domain Errors</a>
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h3"></a>
+ <span><a name="math_toolkit.main_overview.error_handling._anchor_id__domain_error___domain_errors"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__domain_error___domain_errors"><a name="domain_error"></a>Domain Errors</a>
</h5>
<p>
When a special function is passed an argument that is outside the range of
@@ -858,9 +858,9 @@
<a href="../../../../../../format/index.html" target="_top">Boost.Format</a> documentation
for more details.
</p>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__pole_error___evaluation_at_a_pole"></a><h5>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__pole_error___evaluation_at_a_pole-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__pole_error___evaluation_at_a_pole"><a name="pole_error"></a>Evaluation at a pole</a>
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h4"></a>
+ <span><a name="math_toolkit.main_overview.error_handling._anchor_id__pole_error___evaluation_at_a_pole"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__pole_error___evaluation_at_a_pole"><a name="pole_error"></a>Evaluation at a pole</a>
</h5>
<p>
When a special function is passed an argument that is at a pole without a
@@ -896,9 +896,9 @@
<a href="../../../../../../format/index.html" target="_top">Boost.Format</a> documentation
for more details.
</p>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__overflow_error___numeric_overflow"></a><h5>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__overflow_error___numeric_overflow-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__overflow_error___numeric_overflow"><a name="overflow_error"></a>Numeric Overflow</a>
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h5"></a>
+ <span><a name="math_toolkit.main_overview.error_handling._anchor_id__overflow_error___numeric_overflow"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__overflow_error___numeric_overflow"><a name="overflow_error"></a>Numeric Overflow</a>
</h5>
<p>
When the result of a special function is too large to fit in the argument
@@ -920,9 +920,9 @@
In this situation if the type <code class="computeroutput"><span class="identifier">T</span></code>
doesn't support infinities, the maximum value for the type is returned.
</p>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__underflow_error___numeric_underflow"></a><h5>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__underflow_error___numeric_underflow-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__underflow_error___numeric_underflow"><a name="underflow_error"></a>Numeric Underflow</a>
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h6"></a>
+ <span><a name="math_toolkit.main_overview.error_handling._anchor_id__underflow_error___numeric_underflow"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__underflow_error___numeric_underflow"><a name="underflow_error"></a>Numeric Underflow</a>
</h5>
<p>
If the result of a special function is known to be non-zero, but the calculated
@@ -942,9 +942,9 @@
like <code class="computeroutput"><span class="identifier">throw_on_error</span></code>, throws
an <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">underflow_error</span></code> C++ exception.
</p>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__denorm_error___denormalisation_errors"></a><h5>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__denorm_error___denormalisation_errors-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__denorm_error___denormalisation_errors"><a name="denorm_error"></a>Denormalisation Errors</a>
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h7"></a>
+ <span><a name="math_toolkit.main_overview.error_handling._anchor_id__denorm_error___denormalisation_errors"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__denorm_error___denormalisation_errors"><a name="denorm_error"></a>Denormalisation Errors</a>
</h5>
<p>
If the result of a special function is a denormalised value <span class="emphasis"><em>z</em></span>
@@ -964,9 +964,9 @@
with another policy, like <code class="computeroutput"><span class="identifier">throw_on_error</span></code>
throws an <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">underflow_error</span></code> C++ exception.
</p>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__evaluation_error___evaluation_errors"></a><h5>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__evaluation_error___evaluation_errors-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__evaluation_error___evaluation_errors"><a name="evaluation_error"></a>Evaluation Errors</a>
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h8"></a>
+ <span><a name="math_toolkit.main_overview.error_handling._anchor_id__evaluation_error___evaluation_errors"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__evaluation_error___evaluation_errors"><a name="evaluation_error"></a>Evaluation Errors</a>
</h5>
<p>
When a special function calculates a result that is known to be erroneous,
@@ -1000,9 +1000,9 @@
<a href="../../../../../../format/index.html" target="_top">Boost.Format</a> documentation
for more details.
</p>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__indeterminate_result_error___indeterminate_result_errors"></a><h5>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__indeterminate_result_error___indeterminate_result_errors-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__indeterminate_result_error___indeterminate_result_errors"><a name="indeterminate_result_error"></a>Indeterminate Result Errors</a>
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h9"></a>
+ <span><a name="math_toolkit.main_overview.error_handling._anchor_id__indeterminate_result_error___indeterminate_result_errors"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__indeterminate_result_error___indeterminate_result_errors"><a name="indeterminate_result_error"></a>Indeterminate Result Errors</a>
</h5>
<p>
When the result of a special function is indeterminate for the value that
@@ -1028,9 +1028,9 @@
for what the result should be: for example the C99 standard specifies that
the result of 0<sup>0</sup> is 1, even though the result is actually mathematically indeterminate.
</p>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__rounding_error___rounding_errors"></a><h5>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__rounding_error___rounding_errors-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__rounding_error___rounding_errors"><a name="rounding_error"></a>Rounding Errors</a>
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h10"></a>
+ <span><a name="math_toolkit.main_overview.error_handling._anchor_id__rounding_error___rounding_errors"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__rounding_error___rounding_errors"><a name="rounding_error"></a>Rounding Errors</a>
</h5>
<p>
When one of the rounding functions <a class="link" href="../utils/rounding/round.html" title="Rounding Functions">round</a>,
@@ -1067,9 +1067,9 @@
<a href="../../../../../../format/index.html" target="_top">Boost.Format</a> documentation
for more details.
</p>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__checked_narrowing_cast___errors_from_typecasts"></a><h5>
-<a name="math_toolkit.main_overview.error_handling._anchor_id__checked_narrowing_cast___errors_from_typecasts-heading"></a>
- <a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__checked_narrowing_cast___errors_from_typecasts"><a name="checked_narrowing_cast"></a>Errors from typecasts</a>
+<h5>
+<a name="math_toolkit.main_overview.error_handling.h11"></a>
+ <span><a name="math_toolkit.main_overview.error_handling._anchor_id__checked_narrowing_cast___errors_from_typecasts"></a></span><a class="link" href="error_handling.html#math_toolkit.main_overview.error_handling._anchor_id__checked_narrowing_cast___errors_from_typecasts"><a name="checked_narrowing_cast"></a>Errors from typecasts</a>
</h5>
<p>
Many special functions evaluate their results at a higher precision than
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/history1.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/history1.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/history1.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,9 +27,9 @@
<a name="math_toolkit.main_overview.history1"></a><a class="link" href="history1.html" title="History and What's New">History and What's
New</a>
</h3></div></div></div>
-<a name="math_toolkit.main_overview.history1.boost_1_48"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_48-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_48">Boost-1.48</a>
+<h5>
+<a name="math_toolkit.main_overview.history1.h0"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_48"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_48">Boost-1.48</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -78,9 +78,9 @@
Minor patches for Cray compiler compatibility.
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.boost_1_47"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_47-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_47">Boost-1.47</a>
+<h5>
+<a name="math_toolkit.main_overview.history1.h1"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_47"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_47">Boost-1.47</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -95,17 +95,17 @@
Added tests and documentation of changesign from Johan Rade.
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.boost_1_46_1"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_46_1-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_46_1">Boost-1.46.1</a>
+<h5>
+<a name="math_toolkit.main_overview.history1.h2"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_46_1"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_46_1">Boost-1.46.1</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Fixed issues #5095,
<a href="https://svn.boost.org/trac/boost/ticket/5095" target="_top">#5113</a>.
</li></ul></div>
-<a name="math_toolkit.main_overview.history1.boost_1_46_0"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_46_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_46_0">Boost-1.46.0</a>
+<h5>
+<a name="math_toolkit.main_overview.history1.h3"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_46_0"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_46_0">Boost-1.46.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -118,9 +118,9 @@
Added support for mpreal as a real-numbered type.
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.boost_1_45_0"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_45_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_45_0">Boost-1.45.0</a>
+<h5>
+<a name="math_toolkit.main_overview.history1.h4"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_45_0"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_45_0">Boost-1.45.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -135,9 +135,9 @@
Editorial revision of documentation, and added FAQ.
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.boost_1_44_0"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_44_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_44_0">Boost-1.44.0</a>
+<h5>
+<a name="math_toolkit.main_overview.history1.h5"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_44_0"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_44_0">Boost-1.44.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -149,17 +149,17 @@
freedom between 2 and 3.
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.boost_1_41_0"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_41_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_41_0">Boost-1.41.0</a>
+<h5>
+<a name="math_toolkit.main_overview.history1.h6"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_41_0"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_41_0">Boost-1.41.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Significantly improved performance for the incomplete gamma function
and its inverse.
</li></ul></div>
-<a name="math_toolkit.main_overview.history1.boost_1_40_0"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_40_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_40_0">Boost-1.40.0</a>
+<h5>
+<a name="math_toolkit.main_overview.history1.h7"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_40_0"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_40_0">Boost-1.40.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -194,9 +194,9 @@
Fixed minor bugs #2873.
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.boost_1_38_0"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_38_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_38_0">Boost-1.38.0</a>
+<h5>
+<a name="math_toolkit.main_overview.history1.h8"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_38_0"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_38_0">Boost-1.38.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -206,16 +206,16 @@
Fixed code so that it compiles in GCC's -pedantic mode (bug report #1451).
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.boost_1_37_0"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_37_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_37_0">Boost-1.37.0</a>
+<h5>
+<a name="math_toolkit.main_overview.history1.h9"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_37_0"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_37_0">Boost-1.37.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Improved accuracy and testing of the inverse hypergeometric functions.
</li></ul></div>
-<a name="math_toolkit.main_overview.history1.boost_1_36_0"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_36_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_36_0">Boost-1.36.0</a>
+<h5>
+<a name="math_toolkit.main_overview.history1.h10"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_36_0"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_36_0">Boost-1.36.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -246,9 +246,9 @@
Added SSE2 optimizations for Lanczos evaluation.
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.boost_1_35_0__post_review_first_official_release"></a><h5>
-<a name="math_toolkit.main_overview.history1.boost_1_35_0__post_review_first_official_release-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_35_0__post_review_first_official_release">Boost-1.35.0:
+<h5>
+<a name="math_toolkit.main_overview.history1.h11"></a>
+ <span><a name="math_toolkit.main_overview.history1.boost_1_35_0__post_review_first_official_release"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.boost_1_35_0__post_review_first_official_release">Boost-1.35.0:
Post Review First Official Release</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
@@ -278,9 +278,9 @@
Added performance test program.
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.milestone_4__second_review_candidate__1st_march_2007_"></a><h5>
-<a name="math_toolkit.main_overview.history1.milestone_4__second_review_candidate__1st_march_2007_-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.milestone_4__second_review_candidate__1st_march_2007_">Milestone
+<h5>
+<a name="math_toolkit.main_overview.history1.h12"></a>
+ <span><a name="math_toolkit.main_overview.history1.milestone_4__second_review_candidate__1st_march_2007_"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.milestone_4__second_review_candidate__1st_march_2007_">Milestone
4: Second Review Candidate (1st March 2007)</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
@@ -292,9 +292,9 @@
Added C# "Distribution Explorer" demo application.
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.milestone_3__first_review_candidate__31st_dec_2006_"></a><h5>
-<a name="math_toolkit.main_overview.history1.milestone_3__first_review_candidate__31st_dec_2006_-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.milestone_3__first_review_candidate__31st_dec_2006_">Milestone
+<h5>
+<a name="math_toolkit.main_overview.history1.h13"></a>
+ <span><a name="math_toolkit.main_overview.history1.milestone_3__first_review_candidate__31st_dec_2006_"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.milestone_3__first_review_candidate__31st_dec_2006_">Milestone
3: First Review Candidate (31st Dec 2006)</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
@@ -320,9 +320,9 @@
library and brought them into line with the rest of the code.
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.milestone_2__released_september_10th_2006"></a><h5>
-<a name="math_toolkit.main_overview.history1.milestone_2__released_september_10th_2006-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.milestone_2__released_september_10th_2006">Milestone
+<h5>
+<a name="math_toolkit.main_overview.history1.h14"></a>
+ <span><a name="math_toolkit.main_overview.history1.milestone_2__released_september_10th_2006"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.milestone_2__released_september_10th_2006">Milestone
2: Released September 10th 2006</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
@@ -356,9 +356,9 @@
Implemented Rational function generation (the Remez method).
</li>
</ul></div>
-<a name="math_toolkit.main_overview.history1.milestone_1__released_march_31st_2006"></a><h5>
-<a name="math_toolkit.main_overview.history1.milestone_1__released_march_31st_2006-heading"></a>
- <a class="link" href="history1.html#math_toolkit.main_overview.history1.milestone_1__released_march_31st_2006">Milestone
+<h5>
+<a name="math_toolkit.main_overview.history1.h15"></a>
+ <span><a name="math_toolkit.main_overview.history1.milestone_1__released_march_31st_2006"></a></span><a class="link" href="history1.html#math_toolkit.main_overview.history1.milestone_1__released_march_31st_2006">Milestone
1: Released March 31st 2006</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/intro.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/intro.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/intro.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -29,9 +29,9 @@
<p>
This library is divided into three interconnected parts:
</p>
-<a name="math_toolkit.main_overview.intro.statistical_distributions"></a><h5>
-<a name="math_toolkit.main_overview.intro.statistical_distributions-heading"></a>
- <a class="link" href="intro.html#math_toolkit.main_overview.intro.statistical_distributions">Statistical
+<h5>
+<a name="math_toolkit.main_overview.intro.h0"></a>
+ <span><a name="math_toolkit.main_overview.intro.statistical_distributions"></a></span><a class="link" href="intro.html#math_toolkit.main_overview.intro.statistical_distributions">Statistical
Distributions</a>
</h5>
<p>
@@ -55,9 +55,9 @@
examples</a> illustrating how the library is used to conduct statistical
tests.
</p>
-<a name="math_toolkit.main_overview.intro.mathematical_special_functions"></a><h5>
-<a name="math_toolkit.main_overview.intro.mathematical_special_functions-heading"></a>
- <a class="link" href="intro.html#math_toolkit.main_overview.intro.mathematical_special_functions">Mathematical
+<h5>
+<a name="math_toolkit.main_overview.intro.h1"></a>
+ <span><a name="math_toolkit.main_overview.intro.mathematical_special_functions"></a></span><a class="link" href="intro.html#math_toolkit.main_overview.intro.mathematical_special_functions">Mathematical
Special Functions</a>
</h5>
<p>
@@ -82,9 +82,9 @@
<code class="computeroutput"><span class="keyword">double</span></code> or <code class="computeroutput"><span class="keyword">long</span>
<span class="keyword">double</span></code>.
</p>
-<a name="math_toolkit.main_overview.intro.implementation_toolkit"></a><h5>
-<a name="math_toolkit.main_overview.intro.implementation_toolkit-heading"></a>
- <a class="link" href="intro.html#math_toolkit.main_overview.intro.implementation_toolkit">Implementation
+<h5>
+<a name="math_toolkit.main_overview.intro.h2"></a>
+ <span><a name="math_toolkit.main_overview.intro.implementation_toolkit"></a></span><a class="link" href="intro.html#math_toolkit.main_overview.intro.implementation_toolkit">Implementation
Toolkit</a>
</h5>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/navigation.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/navigation.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/navigation.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -30,9 +30,9 @@
Used in combination with the configured browser key, the following keys act
as handy shortcuts for common navigation tasks.
</p>
-<a name="math_toolkit.main_overview.navigation.shortcuts"></a><h6>
-<a name="math_toolkit.main_overview.navigation.shortcuts-heading"></a>
- <a class="link" href="navigation.html#math_toolkit.main_overview.navigation.shortcuts">Shortcuts</a>
+<h6>
+<a name="math_toolkit.main_overview.navigation.h0"></a>
+ <span><a name="math_toolkit.main_overview.navigation.shortcuts"></a></span><a class="link" href="navigation.html#math_toolkit.main_overview.navigation.shortcuts">Shortcuts</a>
</h6>
<div class="blockquote"><blockquote class="blockquote">
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/tr1.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/tr1.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/tr1.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -258,9 +258,9 @@
installed, and can generally just link against -lboost_math_tr1 etc.
</p></td></tr>
</table></div>
-<a name="math_toolkit.main_overview.tr1.usage_recomendations"></a><h5>
-<a name="math_toolkit.main_overview.tr1.usage_recomendations-heading"></a>
- <a class="link" href="tr1.html#math_toolkit.main_overview.tr1.usage_recomendations">Usage
+<h5>
+<a name="math_toolkit.main_overview.tr1.h0"></a>
+ <span><a name="math_toolkit.main_overview.tr1.usage_recomendations"></a></span><a class="link" href="tr1.html#math_toolkit.main_overview.tr1.usage_recomendations">Usage
Recomendations</a>
</h5>
<p>
@@ -296,9 +296,9 @@
and debug builds can be as much as 20 times</a>, so for complex applications
this can be a big win.
</p>
-<a name="math_toolkit.main_overview.tr1.supported_c99_functions"></a><h5>
-<a name="math_toolkit.main_overview.tr1.supported_c99_functions-heading"></a>
- <a class="link" href="tr1.html#math_toolkit.main_overview.tr1.supported_c99_functions">Supported
+<h5>
+<a name="math_toolkit.main_overview.tr1.h1"></a>
+ <span><a name="math_toolkit.main_overview.tr1.supported_c99_functions"></a></span><a class="link" href="tr1.html#math_toolkit.main_overview.tr1.supported_c99_functions">Supported
C99 Functions</a>
</h5>
<p>
@@ -392,9 +392,9 @@
<span class="special">}}}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.main_overview.tr1.supported_tr1_functions"></a><h5>
-<a name="math_toolkit.main_overview.tr1.supported_tr1_functions-heading"></a>
- <a class="link" href="tr1.html#math_toolkit.main_overview.tr1.supported_tr1_functions">Supported
+<h5>
+<a name="math_toolkit.main_overview.tr1.h2"></a>
+ <span><a name="math_toolkit.main_overview.tr1.supported_tr1_functions"></a></span><a class="link" href="tr1.html#math_toolkit.main_overview.tr1.supported_tr1_functions">Supported
TR1 Functions</a>
</h5>
<p>
@@ -402,7 +402,7 @@
for these functions</a>.
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">tr1</span><span class="special">{</span> <span class="keyword">extern</span> <span class="string">"C"</span><span class="special">{</span>
-
+
<span class="comment">// [5.2.1.1] associated Laguerre polynomials:</span>
<span class="keyword">double</span> <span class="identifier">assoc_laguerre</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">m</span><span class="special">,</span> <span class="keyword">double</span> <span class="identifier">x</span><span class="special">);</span>
<span class="keyword">float</span> <span class="identifier">assoc_laguerref</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">m</span><span class="special">,</span> <span class="keyword">float</span> <span class="identifier">x</span><span class="special">);</span>
@@ -521,9 +521,9 @@
arguments is supported, with the return type determined by the <a class="link" href="result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>result
type calculation rules</em></span></a>.
</p>
-<a name="math_toolkit.main_overview.tr1.currently_unsupported_c99_functions"></a><h5>
-<a name="math_toolkit.main_overview.tr1.currently_unsupported_c99_functions-heading"></a>
- <a class="link" href="tr1.html#math_toolkit.main_overview.tr1.currently_unsupported_c99_functions">Currently
+<h5>
+<a name="math_toolkit.main_overview.tr1.h3"></a>
+ <span><a name="math_toolkit.main_overview.tr1.currently_unsupported_c99_functions"></a></span><a class="link" href="tr1.html#math_toolkit.main_overview.tr1.currently_unsupported_c99_functions">Currently
Unsupported C99 Functions</a>
</h5>
<pre class="programlisting"><span class="keyword">double</span> <span class="identifier">exp2</span><span class="special">(</span><span class="keyword">double</span> <span class="identifier">x</span><span class="special">);</span>
@@ -586,9 +586,9 @@
<span class="keyword">float</span> <span class="identifier">scalbnf</span><span class="special">(</span><span class="keyword">float</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">int</span> <span class="identifier">ex</span><span class="special">);</span>
<span class="keyword">long</span> <span class="keyword">double</span> <span class="identifier">scalbnl</span><span class="special">(</span><span class="keyword">long</span> <span class="keyword">double</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">int</span> <span class="identifier">ex</span><span class="special">);</span>
</pre>
-<a name="math_toolkit.main_overview.tr1.currently_unsupported_tr1_functions"></a><h5>
-<a name="math_toolkit.main_overview.tr1.currently_unsupported_tr1_functions-heading"></a>
- <a class="link" href="tr1.html#math_toolkit.main_overview.tr1.currently_unsupported_tr1_functions">Currently
+<h5>
+<a name="math_toolkit.main_overview.tr1.h4"></a>
+ <span><a name="math_toolkit.main_overview.tr1.currently_unsupported_tr1_functions"></a></span><a class="link" href="tr1.html#math_toolkit.main_overview.tr1.currently_unsupported_tr1_functions">Currently
Unsupported TR1 Functions</a>
</h5>
<pre class="programlisting"><span class="comment">// [5.2.1.7] confluent hypergeometric functions:</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf/comparisons.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf/comparisons.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/perf/comparisons.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -45,9 +45,9 @@
different choices with regard to performance verses numerical stability.
</p></td></tr>
</table></div>
-<a name="math_toolkit.perf.comparisons.comparison_to_gsl_1_13_and_cephes"></a><h5>
-<a name="math_toolkit.perf.comparisons.comparison_to_gsl_1_13_and_cephes-heading"></a>
- <a class="link" href="comparisons.html#math_toolkit.perf.comparisons.comparison_to_gsl_1_13_and_cephes">Comparison
+<h5>
+<a name="math_toolkit.perf.comparisons.h0"></a>
+ <span><a name="math_toolkit.perf.comparisons.comparison_to_gsl_1_13_and_cephes"></a></span><a class="link" href="comparisons.html#math_toolkit.perf.comparisons.comparison_to_gsl_1_13_and_cephes">Comparison
to GSL-1.13 and Cephes</a>
</h5>
<p>
@@ -344,7 +344,7 @@
</td>
<td>
<p>
- +INF <sup>[<a name="id1463577" href="#ftn.id1463577" class="footnote">1</a>]</sup>
+ +INF <sup>[<a name="math_toolkit.perf.comparisons.f0" href="#ftn.math_toolkit.perf.comparisons.f0" class="footnote">1</a>]</sup>
</p>
</td>
</tr>
@@ -423,7 +423,7 @@
<td>
<p>
</p>
-<p>17.89<sup>[<a name="id1463734" href="#ftn.id1463734" class="footnote">2</a>]</sup></p>
+<p>17.89<sup>[<a name="math_toolkit.perf.comparisons.f1" href="#ftn.math_toolkit.perf.comparisons.f1" class="footnote">2</a>]</sup></p>
<p> </p>
<p>(4.248e-005s)</p>
<p>
@@ -548,11 +548,11 @@
</tr>
</tbody>
<tbody class="footnotes"><tr><td colspan="4">
-<div class="footnote"><p><sup>[<a id="ftn.id1463577" href="#id1463577" class="para">1</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f0" href="#math_toolkit.perf.comparisons.f0" class="para">1</a>] </sup>
Cephes gets stuck in an infinite loop while trying to execute
our test cases.
</p></div>
-<div class="footnote"><p><sup>[<a id="ftn.id1463734" href="#id1463734" class="para">2</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f1" href="#math_toolkit.perf.comparisons.f1" class="para">2</a>] </sup>
The performance here is dominated by a few cases where the parameters
grow very large: faster asymptotic expansions are available,
but are of limited (or even frankly terrible) precision. The
@@ -562,9 +562,9 @@
</p></div>
</td></tr></tbody>
</table></div>
-<a name="math_toolkit.perf.comparisons.comparison_to_the_r_and_dcdflib_statistical_libraries_on_windows"></a><h5>
-<a name="math_toolkit.perf.comparisons.comparison_to_the_r_and_dcdflib_statistical_libraries_on_windows-heading"></a>
- <a class="link" href="comparisons.html#math_toolkit.perf.comparisons.comparison_to_the_r_and_dcdflib_statistical_libraries_on_windows">Comparison
+<h5>
+<a name="math_toolkit.perf.comparisons.h1"></a>
+ <span><a name="math_toolkit.perf.comparisons.comparison_to_the_r_and_dcdflib_statistical_libraries_on_windows"></a></span><a class="link" href="comparisons.html#math_toolkit.perf.comparisons.comparison_to_the_r_and_dcdflib_statistical_libraries_on_windows">Comparison
to the R and DCDFLIB Statistical Libraries on Windows</a>
</h5>
<p>
@@ -659,7 +659,7 @@
<td>
<p>
</p>
-<p>67.66<sup>[<a name="id1464142" href="#ftn.id1464142" class="footnote">1</a>]</sup></p>
+<p>67.66<sup>[<a name="math_toolkit.perf.comparisons.f2" href="#ftn.math_toolkit.perf.comparisons.f2" class="footnote">1</a>]</sup></p>
<p> </p>
<p>(3.366e-004s)</p>
<p>
@@ -1088,7 +1088,7 @@
<td>
<p>
</p>
-<p>3.60<sup>[<a name="id1464911" href="#ftn.id1464911" class="footnote">2</a>]</sup></p>
+<p>3.60<sup>[<a name="math_toolkit.perf.comparisons.f3" href="#ftn.math_toolkit.perf.comparisons.f3" class="footnote">2</a>]</sup></p>
<p> </p>
<p>(5.987e-007s)</p>
<p>
@@ -1317,7 +1317,7 @@
<td>
<p>
</p>
-<p>43.43<sup>[<a name="id1465318" href="#ftn.id1465318" class="footnote">3</a>]</sup></p>
+<p>43.43<sup>[<a name="math_toolkit.perf.comparisons.f4" href="#ftn.math_toolkit.perf.comparisons.f4" class="footnote">3</a>]</sup></p>
<p> </p>
<p>(3.732e-004s)</p>
<p>
@@ -1387,7 +1387,7 @@
<td>
<p>
</p>
-<p>393.90<sup>[<a name="id1465444" href="#ftn.id1465444" class="footnote">4</a>]</sup></p>
+<p>393.90<sup>[<a name="math_toolkit.perf.comparisons.f5" href="#ftn.math_toolkit.perf.comparisons.f5" class="footnote">4</a>]</sup></p>
<p> </p>
<p>(2.673e-002s)</p>
<p>
@@ -1523,7 +1523,7 @@
<td>
<p>
</p>
-<p><span class="bold"><strong>1.00</strong></span><sup>[<a name="id1465694" href="#ftn.id1465694" class="footnote">5</a>]</sup></p>
+<p><span class="bold"><strong>1.00</strong></span><sup>[<a name="math_toolkit.perf.comparisons.f6" href="#ftn.math_toolkit.perf.comparisons.f6" class="footnote">5</a>]</sup></p>
<p> </p>
<p>(4.411e-004s)</p>
<p>
@@ -1809,28 +1809,28 @@
</tr>
</tbody>
<tbody class="footnotes"><tr><td colspan="4">
-<div class="footnote"><p><sup>[<a id="ftn.id1464142" href="#id1464142" class="para">1</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f2" href="#math_toolkit.perf.comparisons.f2" class="para">1</a>] </sup>
There are a small number of our test cases where the R library
fails to converge on a result: these tend to dominate the performance
result.
</p></div>
-<div class="footnote"><p><sup>[<a id="ftn.id1464911" href="#id1464911" class="para">2</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f3" href="#math_toolkit.perf.comparisons.f3" class="para">2</a>] </sup>
This result is somewhat misleading: for small values of the parameters
there is virtually no difference between the two libraries, but
for large values the Boost implementation is <span class="emphasis"><em>much</em></span>
slower, albeit with much improved precision.
</p></div>
-<div class="footnote"><p><sup>[<a id="ftn.id1465318" href="#id1465318" class="para">3</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f4" href="#math_toolkit.perf.comparisons.f4" class="para">3</a>] </sup>
The R library appears to use a linear-search strategy, that can
perform very badly in a small number of pathological cases, but
may or may not be more efficient in "typical" cases
</p></div>
-<div class="footnote"><p><sup>[<a id="ftn.id1465444" href="#id1465444" class="para">4</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f5" href="#math_toolkit.perf.comparisons.f5" class="para">4</a>] </sup>
There are a small number of our test cases where the R library
fails to converge on a result: these tend to dominate the performance
result.
</p></div>
-<div class="footnote"><p><sup>[<a id="ftn.id1465694" href="#id1465694" class="para">5</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f6" href="#math_toolkit.perf.comparisons.f6" class="para">5</a>] </sup>
There are a small number of our test cases where the R library
fails to converge on a result: these tend to dominate the performance
result.
@@ -1838,9 +1838,9 @@
</td></tr></tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.perf.comparisons.comparison_to_the_r_statistical_library_on_linux"></a><h5>
-<a name="math_toolkit.perf.comparisons.comparison_to_the_r_statistical_library_on_linux-heading"></a>
- <a class="link" href="comparisons.html#math_toolkit.perf.comparisons.comparison_to_the_r_statistical_library_on_linux">Comparison
+<br class="table-break"><h5>
+<a name="math_toolkit.perf.comparisons.h2"></a>
+ <span><a name="math_toolkit.perf.comparisons.comparison_to_the_r_statistical_library_on_linux"></a></span><a class="link" href="comparisons.html#math_toolkit.perf.comparisons.comparison_to_the_r_statistical_library_on_linux">Comparison
to the R Statistical Library on Linux</a>
</h5>
<p>
@@ -1934,7 +1934,7 @@
<td>
<p>
</p>
-<p>30.51<sup>[<a name="id1466363" href="#ftn.id1466363" class="footnote">1</a>]</sup></p>
+<p>30.51<sup>[<a name="math_toolkit.perf.comparisons.f7" href="#ftn.math_toolkit.perf.comparisons.f7" class="footnote">1</a>]</sup></p>
<p> </p>
<p>(3.616e-004s)</p>
<p>
@@ -2363,7 +2363,7 @@
<td>
<p>
</p>
-<p>2.20<sup>[<a name="id1467115" href="#ftn.id1467115" class="footnote">2</a>]</sup></p>
+<p>2.20<sup>[<a name="math_toolkit.perf.comparisons.f8" href="#ftn.math_toolkit.perf.comparisons.f8" class="footnote">2</a>]</sup></p>
<p> </p>
<p>(3.522e-007s)</p>
<p>
@@ -2592,7 +2592,7 @@
<td>
<p>
</p>
-<p>25.92<sup>[<a name="id1467524" href="#ftn.id1467524" class="footnote">3</a>]</sup></p>
+<p>25.92<sup>[<a name="math_toolkit.perf.comparisons.f9" href="#ftn.math_toolkit.perf.comparisons.f9" class="footnote">3</a>]</sup></p>
<p> </p>
<p>(4.407e-004s)</p>
<p>
@@ -2662,7 +2662,7 @@
<td>
<p>
</p>
-<p>144.91<sup>[<a name="id1467650" href="#ftn.id1467650" class="footnote">4</a>]</sup></p>
+<p>144.91<sup>[<a name="math_toolkit.perf.comparisons.f10" href="#ftn.math_toolkit.perf.comparisons.f10" class="footnote">4</a>]</sup></p>
<p> </p>
<p>(3.214e-002s)</p>
<p>
@@ -2798,7 +2798,7 @@
<td>
<p>
</p>
-<p><span class="bold"><strong>1.00</strong></span><sup>[<a name="id1467896" href="#ftn.id1467896" class="footnote">5</a>]</sup></p>
+<p><span class="bold"><strong>1.00</strong></span><sup>[<a name="math_toolkit.perf.comparisons.f11" href="#ftn.math_toolkit.perf.comparisons.f11" class="footnote">5</a>]</sup></p>
<p> </p>
<p>(5.916e-004s)</p>
<p>
@@ -3084,28 +3084,28 @@
</tr>
</tbody>
<tbody class="footnotes"><tr><td colspan="4">
-<div class="footnote"><p><sup>[<a id="ftn.id1466363" href="#id1466363" class="para">1</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f7" href="#math_toolkit.perf.comparisons.f7" class="para">1</a>] </sup>
There are a small number of our test cases where the R library
fails to converge on a result: these tend to dominate the performance
result.
</p></div>
-<div class="footnote"><p><sup>[<a id="ftn.id1467115" href="#id1467115" class="para">2</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f8" href="#math_toolkit.perf.comparisons.f8" class="para">2</a>] </sup>
This result is somewhat misleading: for small values of the parameters
there is virtually no difference between the two libraries, but
for large values the Boost implementation is <span class="emphasis"><em>much</em></span>
slower, albeit with much improved precision.
</p></div>
-<div class="footnote"><p><sup>[<a id="ftn.id1467524" href="#id1467524" class="para">3</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f9" href="#math_toolkit.perf.comparisons.f9" class="para">3</a>] </sup>
The R library appears to use a linear-search strategy, that can
perform very badly in a small number of pathological cases, but
may or may not be more efficient in "typical" cases
</p></div>
-<div class="footnote"><p><sup>[<a id="ftn.id1467650" href="#id1467650" class="para">4</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f10" href="#math_toolkit.perf.comparisons.f10" class="para">4</a>] </sup>
There are a small number of our test cases where the R library
fails to converge on a result: these tend to dominate the performance
result.
</p></div>
-<div class="footnote"><p><sup>[<a id="ftn.id1467896" href="#id1467896" class="para">5</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.perf.comparisons.f11" href="#math_toolkit.perf.comparisons.f11" class="para">5</a>] </sup>
There are a small number of our test cases where the R library
fails to converge on a result: these tend to dominate the performance
result.
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/assert_undefined.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/assert_undefined.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/assert_undefined.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -67,7 +67,7 @@
<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>
<span class="comment">// This will not compile, cauchy has no mean!</span>
-<span class="keyword">double</span> <span class="identifier">m1</span> <span class="special">=</span> <span class="identifier">mean</span><span class="special">(</span><span class="identifier">cauchy</span><span class="special">());</span>
+<span class="keyword">double</span> <span class="identifier">m1</span> <span class="special">=</span> <span class="identifier">mean</span><span class="special">(</span><span class="identifier">cauchy</span><span class="special">());</span>
<span class="comment">// This will compile, but raises a domain error!</span>
<span class="keyword">double</span> <span class="identifier">m2</span> <span class="special">=</span> <span class="identifier">mean</span><span class="special">(</span><span class="identifier">cauchy_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">policy</span><span class="special"><</span><span class="identifier">assert_undefined</span><span class="special"><</span><span class="keyword">false</span><span class="special">></span> <span class="special">></span> <span class="special">>());</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/discrete_quant_ref.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/discrete_quant_ref.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/discrete_quant_ref.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -54,16 +54,15 @@
The values that <code class="computeroutput"><span class="identifier">discrete_quantile</span></code>
can take have the following meanings:
</p>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.real"></a><h6>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.real-heading"></a>
- <a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.real">real</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.h0"></a>
+ <span><a name="math_toolkit.policy.pol_ref.discrete_quant_ref.real"></a></span><a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.real">real</a>
</h6>
<p>
Ignores the discreteness of the distribution, and returns a real-valued
result. For example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">negative_binomial</span><span class="special">.</span><span class="identifier">hpp</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">negative_binomial_distribution</span><span class="special">;</span>
@@ -71,10 +70,10 @@
<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><span class="identifier">policies</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">negative_binomial_distribution</span><span class="special"><</span>
- <span class="keyword">double</span><span class="special">,</span>
- <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">real</span><span class="special">></span> <span class="special">></span>
+ <span class="keyword">double</span><span class="special">,</span>
+ <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">real</span><span class="special">></span> <span class="special">></span>
<span class="special">></span> <span class="identifier">dist_type</span><span class="special">;</span>
-
+
<span class="comment">// Lower 5% quantile:</span>
<span class="keyword">double</span> <span class="identifier">x</span> <span class="special">=</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">dist_type</span><span class="special">(</span><span class="number">20</span><span class="special">,</span> <span class="number">0.3</span><span class="special">),</span> <span class="number">0.05</span><span class="special">);</span>
<span class="comment">// Upper 95% quantile:</span>
@@ -88,9 +87,9 @@
<span class="number">27.3898</span></code> and <code class="computeroutput"><span class="identifier">y</span>
<span class="special">=</span> <span class="number">68.1584</span></code>.
</p>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_outwards"></a><h6>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_outwards-heading"></a>
- <a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_outwards">integer_round_outwards</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.h1"></a>
+ <span><a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_outwards"></a></span><a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_outwards">integer_round_outwards</a>
</h6>
<p>
This is the default policy: an integer value is returned so that:
@@ -111,7 +110,6 @@
the requested coverage. For example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">negative_binomial</span><span class="special">.</span><span class="identifier">hpp</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">negative_binomial</span><span class="special">;</span>
@@ -142,9 +140,9 @@
region overall</em></span>, and also <span class="emphasis"><em>no more than 5% coverage
in each tail</em></span>.
</p>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_inwards"></a><h6>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_inwards-heading"></a>
- <a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_inwards">integer_round_inwards</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.h2"></a>
+ <span><a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_inwards"></a></span><a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_inwards">integer_round_inwards</a>
</h6>
<p>
This is the opposite of <span class="emphasis"><em>integer_round_outwards</em></span>: an
@@ -164,7 +162,6 @@
For example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">negative_binomial</span><span class="special">.</span><span class="identifier">hpp</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">negative_binomial_distribution</span><span class="special">;</span>
@@ -172,10 +169,10 @@
<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><span class="identifier">policies</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">negative_binomial_distribution</span><span class="special"><</span>
- <span class="keyword">double</span><span class="special">,</span>
- <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_inwards</span><span class="special">></span> <span class="special">></span>
+ <span class="keyword">double</span><span class="special">,</span>
+ <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_inwards</span><span class="special">></span> <span class="special">></span>
<span class="special">></span> <span class="identifier">dist_type</span><span class="special">;</span>
-
+
<span class="comment">// Lower quantile rounded up:</span>
<span class="keyword">double</span> <span class="identifier">x</span> <span class="special">=</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">dist_type</span><span class="special">(</span><span class="number">20</span><span class="special">,</span> <span class="number">0.3</span><span class="special">),</span> <span class="number">0.05</span><span class="special">);</span> <span class="comment">// 28 rounded up from 27.3898</span>
<span class="comment">// Upper quantile rounded down:</span>
@@ -201,25 +198,25 @@
central region overall</em></span>, and also <span class="emphasis"><em>at least 5% coverage
in each tail</em></span>.
</p>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_down"></a><h6>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_down-heading"></a>
- <a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_down">integer_round_down</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.h3"></a>
+ <span><a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_down"></a></span><a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_down">integer_round_down</a>
</h6>
<p>
Always rounds down to an integer value, no matter whether it's an upper
or a lower quantile.
</p>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_up"></a><h6>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_up-heading"></a>
- <a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_up">integer_round_up</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.h4"></a>
+ <span><a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_up"></a></span><a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_up">integer_round_up</a>
</h6>
<p>
Always rounds up to an integer value, no matter whether it's an upper or
a lower quantile.
</p>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_nearest"></a><h6>
-<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_nearest-heading"></a>
- <a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_nearest">integer_round_nearest</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.discrete_quant_ref.h5"></a>
+ <span><a name="math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_nearest"></a></span><a class="link" href="discrete_quant_ref.html#math_toolkit.policy.pol_ref.discrete_quant_ref.integer_round_nearest">integer_round_nearest</a>
</h6>
<p>
Always rounds to the nearest integer value, no matter whether it's an upper
@@ -232,7 +229,6 @@
For example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">negative_binomial</span><span class="special">.</span><span class="identifier">hpp</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">negative_binomial_distribution</span><span class="special">;</span>
@@ -240,10 +236,10 @@
<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><span class="identifier">policies</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">negative_binomial_distribution</span><span class="special"><</span>
- <span class="keyword">double</span><span class="special">,</span>
- <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_nearest</span><span class="special">></span> <span class="special">></span>
+ <span class="keyword">double</span><span class="special">,</span>
+ <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_nearest</span><span class="special">></span> <span class="special">></span>
<span class="special">></span> <span class="identifier">dist_type</span><span class="special">;</span>
-
+
<span class="comment">// Lower quantile rounded (down) to nearest:</span>
<span class="keyword">double</span> <span class="identifier">x</span> <span class="special">=</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">dist_type</span><span class="special">(</span><span class="number">20</span><span class="special">,</span> <span class="number">0.3</span><span class="special">),</span> <span class="number">0.05</span><span class="special">);</span> <span class="comment">// 27</span>
<span class="comment">// Upper quantile rounded (down) to nearest:</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/error_handling_policies.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/error_handling_policies.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/error_handling_policies.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -38,9 +38,9 @@
What kind of error is being raised.
</li>
</ul></div>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.available_actions_when_an_error_is_raised"></a><h5>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.available_actions_when_an_error_is_raised-heading"></a>
- <a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.available_actions_when_an_error_is_raised">Available
+<h5>
+<a name="math_toolkit.policy.pol_ref.error_handling_policies.h0"></a>
+ <span><a name="math_toolkit.policy.pol_ref.error_handling_policies.available_actions_when_an_error_is_raised"></a></span><a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.available_actions_when_an_error_is_raised">Available
Actions When an Error is Raised</a>
</h5>
<p>
@@ -61,9 +61,9 @@
<p>
The various enumerated values have the following meanings:
</p>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.throw_on_error"></a><h6>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.throw_on_error-heading"></a>
- <a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.throw_on_error">throw_on_error</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.error_handling_policies.h1"></a>
+ <span><a name="math_toolkit.policy.pol_ref.error_handling_policies.throw_on_error"></a></span><a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.throw_on_error">throw_on_error</a>
</h6>
<p>
Will throw one of the following exceptions, depending upon the type of
@@ -173,9 +173,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.errno_on_error"></a><h6>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.errno_on_error-heading"></a>
- <a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.errno_on_error">errno_on_error</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.error_handling_policies.h2"></a>
+ <span><a name="math_toolkit.policy.pol_ref.error_handling_policies.errno_on_error"></a></span><a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.errno_on_error">errno_on_error</a>
</h6>
<p>
Will set global ::errno
@@ -288,9 +288,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.ignore_error"></a><h6>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.ignore_error-heading"></a>
- <a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.ignore_error">ignore_error</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.error_handling_policies.h3"></a>
+ <span><a name="math_toolkit.policy.pol_ref.error_handling_policies.ignore_error"></a></span><a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.ignore_error">ignore_error</a>
</h6>
<p>
Will return one of the values below depending on the error type (<code class="computeroutput"><span class="special">::</span><span class="identifier">errno</span></code>
@@ -401,9 +401,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.user_error"></a><h6>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.user_error-heading"></a>
- <a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.user_error">user_error</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.error_handling_policies.h4"></a>
+ <span><a name="math_toolkit.policy.pol_ref.error_handling_policies.user_error"></a></span><a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.user_error">user_error</a>
</h6>
<p>
Will call a user defined error handler: these are forward declared in boost/math/policies/error_handling.hpp,
@@ -450,9 +450,9 @@
There is more information on user-defined error handlers in the <a class="link" href="../pol_tutorial/user_def_err_pol.html" title="Calling User Defined Error Handlers">tutorial
here</a>.
</p>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.kinds_of_error_raised"></a><h5>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.kinds_of_error_raised-heading"></a>
- <a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.kinds_of_error_raised">Kinds
+<h5>
+<a name="math_toolkit.policy.pol_ref.error_handling_policies.h5"></a>
+ <span><a name="math_toolkit.policy.pol_ref.error_handling_policies.kinds_of_error_raised"></a></span><a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.kinds_of_error_raised">Kinds
of Error Raised</a>
</h5>
<p>
@@ -690,9 +690,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.examples"></a><h5>
-<a name="math_toolkit.policy.pol_ref.error_handling_policies.examples-heading"></a>
- <a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.examples">Examples</a>
+<h5>
+<a name="math_toolkit.policy.pol_ref.error_handling_policies.h6"></a>
+ <span><a name="math_toolkit.policy.pol_ref.error_handling_policies.examples"></a></span><a class="link" href="error_handling_policies.html#math_toolkit.policy.pol_ref.error_handling_policies.examples">Examples</a>
</h5>
<p>
Suppose we want a call to <code class="computeroutput"><span class="identifier">tgamma</span></code>
@@ -700,7 +700,6 @@
we can achieve this at the call site using:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</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">tgamma</span><span class="special">;</span>
@@ -716,10 +715,10 @@
<span class="comment">// Define a policy:</span>
<span class="keyword">typedef</span> <span class="identifier">policy</span><span class="special"><</span>
- <span class="identifier">domain_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>,</span>
+ <span class="identifier">domain_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>,</span>
<span class="identifier">pole_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>,</span>
<span class="identifier">overflow_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>,</span>
- <span class="identifier">evaluation_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">></span>
+ <span class="identifier">evaluation_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">></span>
<span class="special">></span> <span class="identifier">my_policy</span><span class="special">;</span>
<span class="keyword">double</span> <span class="identifier">my_value</span> <span class="special">=</span> <span class="number">0.</span><span class="special">;</span> <span class="comment">// </span>
@@ -731,7 +730,7 @@
<span class="comment">// make_policy and define everything at the call site:</span>
<span class="keyword">double</span> <span class="identifier">t2</span> <span class="special">=</span> <span class="identifier">tgamma</span><span class="special">(</span><span class="identifier">my_value</span><span class="special">,</span>
<span class="identifier">make_policy</span><span class="special">(</span>
- <span class="identifier">domain_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>(),</span>
+ <span class="identifier">domain_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>(),</span>
<span class="identifier">pole_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>(),</span>
<span class="identifier">overflow_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>(),</span>
<span class="identifier">evaluation_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>()</span> <span class="special">)</span>
@@ -744,7 +743,6 @@
than throw exceptions, then we can use:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</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">normal_distribution</span><span class="special">;</span>
@@ -755,7 +753,7 @@
<span class="keyword">typedef</span> <span class="identifier">policy</span><span class="special"><</span>
<span class="identifier">overflow_error</span><span class="special"><</span><span class="identifier">ignore_error</span><span class="special">></span>
<span class="special">></span> <span class="identifier">my_policy</span><span class="special">;</span>
-
+
<span class="comment">// Define the distribution, using my_policy:</span>
<span class="keyword">typedef</span> <span class="identifier">normal_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">my_policy</span><span class="special">></span> <span class="identifier">my_norm</span><span class="special">;</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/internal_promotion.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/internal_promotion.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/internal_promotion.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -84,9 +84,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.policy.pol_ref.internal_promotion.examples"></a><h5>
-<a name="math_toolkit.policy.pol_ref.internal_promotion.examples-heading"></a>
- <a class="link" href="internal_promotion.html#math_toolkit.policy.pol_ref.internal_promotion.examples">Examples</a>
+<h5>
+<a name="math_toolkit.policy.pol_ref.internal_promotion.h0"></a>
+ <span><a name="math_toolkit.policy.pol_ref.internal_promotion.examples"></a></span><a class="link" href="internal_promotion.html#math_toolkit.policy.pol_ref.internal_promotion.examples">Examples</a>
</h5>
<p>
Suppose we want <code class="computeroutput"><span class="identifier">tgamma</span></code>
@@ -94,7 +94,6 @@
<span class="keyword">double</span></code>, then we could use:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -103,9 +102,9 @@
<span class="comment">// Define a new policy *not* internally promoting RealType to double:</span>
<span class="keyword">typedef</span> <span class="identifier">policy</span><span class="special"><</span>
- <span class="identifier">promote_double</span><span class="special"><</span><span class="keyword">false</span><span class="special">></span>
+ <span class="identifier">promote_double</span><span class="special"><</span><span class="keyword">false</span><span class="special">></span>
<span class="special">></span> <span class="identifier">my_policy</span><span class="special">;</span>
-
+
<span class="comment">// Call the function, applying the new policy:</span>
<span class="keyword">double</span> <span class="identifier">t1</span> <span class="special">=</span> <span class="identifier">tgamma</span><span class="special">(</span><span class="identifier">some_value</span><span class="special">,</span> <span class="identifier">my_policy</span><span class="special">());</span>
@@ -121,7 +120,6 @@
promoting <code class="computeroutput"><span class="keyword">float</span></code> to <code class="computeroutput"><span class="keyword">double</span></code>, then we could use:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</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">normal_distribution</span><span class="special">;</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/namespace_pol.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/namespace_pol.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/namespace_pol.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -45,7 +45,6 @@
or distribution header. For example:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="comment">//using boost::math::tgamma;</span>
@@ -95,7 +94,6 @@
to specify the floating-point type to use:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">cauchy</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -104,7 +102,7 @@
<span class="comment">// Define a policy called my_policy to use.</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">policy</span><span class="special">;</span>
-
+
<span class="comment">// In this case we want all the distribution accessor functions to compile,</span>
<span class="comment">// even if they are mathematically undefined, so</span>
<span class="comment">// make the policy assert_undefined.</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/pol_ref_ref.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/pol_ref_ref.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/pol_ref_ref.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -32,7 +32,6 @@
class is just a rag-bag compile-time container for a collection of policies:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">policies</span><span class="special">/</span><span class="identifier">policy</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
@@ -41,8 +40,8 @@
<span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
<span class="keyword">namespace</span> <span class="identifier">policies</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">A1</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
- <span class="keyword">class</span> <span class="identifier">A2</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">A1</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">A2</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
<span class="keyword">class</span> <span class="identifier">A3</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
<span class="keyword">class</span> <span class="identifier">A4</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
<span class="keyword">class</span> <span class="identifier">A5</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
@@ -75,9 +74,9 @@
<span class="keyword">template</span> <span class="special"><...</span><span class="identifier">argument</span> <span class="identifier">list</span><span class="special">...></span>
<span class="keyword">typename</span> <span class="identifier">normalise</span><span class="special"><</span><span class="identifier">policy</span><span class="special"><>,</span> <span class="identifier">A1</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">make_policy</span><span class="special">(...</span><span class="identifier">argument</span> <span class="identifier">list</span><span class="special">..);</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Policy</span><span class="special">,</span>
- <span class="keyword">class</span> <span class="identifier">A1</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
- <span class="keyword">class</span> <span class="identifier">A2</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Policy</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">A1</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">A2</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
<span class="keyword">class</span> <span class="identifier">A3</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
<span class="keyword">class</span> <span class="identifier">A4</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
<span class="keyword">class</span> <span class="identifier">A5</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
@@ -207,9 +206,9 @@
<code class="computeroutput"><span class="identifier">make_policy</span></code> is a helper
function that converts a list of policies into a normalised <code class="computeroutput"><span class="identifier">policy</span></code> class.
</p>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Policy</span><span class="special">,</span>
- <span class="keyword">class</span> <span class="identifier">A1</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
- <span class="keyword">class</span> <span class="identifier">A2</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
+<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Policy</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">A1</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
+ <span class="keyword">class</span> <span class="identifier">A2</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
<span class="keyword">class</span> <span class="identifier">A3</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
<span class="keyword">class</span> <span class="identifier">A4</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
<span class="keyword">class</span> <span class="identifier">A5</span> <span class="special">=</span> <span class="identifier">default_policy</span><span class="special">,</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/policy_defaults.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/policy_defaults.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/policy_defaults.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -60,9 +60,9 @@
If you want to alter the defaults for any or all of the policies for <span class="bold"><strong>all</strong></span> functions and distributions, installation-wide,
then you can do so by defining various macros in boost/math/tools/user.hpp.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_domain_error_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_domain_error_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_domain_error_policy">BOOST_MATH_DOMAIN_ERROR_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h0"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_domain_error_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_domain_error_policy">BOOST_MATH_DOMAIN_ERROR_POLICY</a>
</h6>
<p>
Defines what happens when a domain error occurs, if not defined then defaults
@@ -70,9 +70,9 @@
can be set to any of the enumerated actions for error handing: <code class="computeroutput"><span class="identifier">throw_on_error</span></code>, <code class="computeroutput"><span class="identifier">errno_on_error</span></code>,
<code class="computeroutput"><span class="identifier">ignore_error</span></code> or <code class="computeroutput"><span class="identifier">user_error</span></code>.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_pole_error_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_pole_error_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_pole_error_policy">BOOST_MATH_POLE_ERROR_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h1"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_pole_error_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_pole_error_policy">BOOST_MATH_POLE_ERROR_POLICY</a>
</h6>
<p>
Defines what happens when a pole error occurs, if not defined then defaults
@@ -80,9 +80,9 @@
can be set to any of the enumerated actions for error handing: <code class="computeroutput"><span class="identifier">throw_on_error</span></code>, <code class="computeroutput"><span class="identifier">errno_on_error</span></code>,
<code class="computeroutput"><span class="identifier">ignore_error</span></code> or <code class="computeroutput"><span class="identifier">user_error</span></code>.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_overflow_error_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_overflow_error_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_overflow_error_policy">BOOST_MATH_OVERFLOW_ERROR_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h2"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_overflow_error_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_overflow_error_policy">BOOST_MATH_OVERFLOW_ERROR_POLICY</a>
</h6>
<p>
Defines what happens when an overflow error occurs, if not defined then
@@ -90,9 +90,9 @@
but can be set to any of the enumerated actions for error handing: <code class="computeroutput"><span class="identifier">throw_on_error</span></code>, <code class="computeroutput"><span class="identifier">errno_on_error</span></code>,
<code class="computeroutput"><span class="identifier">ignore_error</span></code> or <code class="computeroutput"><span class="identifier">user_error</span></code>.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_rounding_error_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_rounding_error_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_rounding_error_policy">BOOST_MATH_ROUNDING_ERROR_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h3"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_rounding_error_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_rounding_error_policy">BOOST_MATH_ROUNDING_ERROR_POLICY</a>
</h6>
<p>
Defines what happens when a rounding error occurs, if not defined then
@@ -100,9 +100,9 @@
but can be set to any of the enumerated actions for error handing: <code class="computeroutput"><span class="identifier">throw_on_error</span></code>, <code class="computeroutput"><span class="identifier">errno_on_error</span></code>,
<code class="computeroutput"><span class="identifier">ignore_error</span></code> or <code class="computeroutput"><span class="identifier">user_error</span></code>.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_evaluation_error_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_evaluation_error_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_evaluation_error_policy">BOOST_MATH_EVALUATION_ERROR_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h4"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_evaluation_error_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_evaluation_error_policy">BOOST_MATH_EVALUATION_ERROR_POLICY</a>
</h6>
<p>
Defines what happens when an internal evaluation error occurs, if not defined
@@ -110,9 +110,9 @@
but can be set to any of the enumerated actions for error handing: <code class="computeroutput"><span class="identifier">throw_on_error</span></code>, <code class="computeroutput"><span class="identifier">errno_on_error</span></code>,
<code class="computeroutput"><span class="identifier">ignore_error</span></code> or <code class="computeroutput"><span class="identifier">user_error</span></code>.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_underflow_error_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_underflow_error_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_underflow_error_policy">BOOST_MATH_UNDERFLOW_ERROR_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h5"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_underflow_error_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_underflow_error_policy">BOOST_MATH_UNDERFLOW_ERROR_POLICY</a>
</h6>
<p>
Defines what happens when an overflow error occurs, if not defined then
@@ -120,9 +120,9 @@
but can be set to any of the enumerated actions for error handing: <code class="computeroutput"><span class="identifier">throw_on_error</span></code>, <code class="computeroutput"><span class="identifier">errno_on_error</span></code>,
<code class="computeroutput"><span class="identifier">ignore_error</span></code> or <code class="computeroutput"><span class="identifier">user_error</span></code>.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_denorm_error_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_denorm_error_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_denorm_error_policy">BOOST_MATH_DENORM_ERROR_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h6"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_denorm_error_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_denorm_error_policy">BOOST_MATH_DENORM_ERROR_POLICY</a>
</h6>
<p>
Defines what happens when a denormalisation error occurs, if not defined
@@ -130,9 +130,9 @@
but can be set to any of the enumerated actions for error handing: <code class="computeroutput"><span class="identifier">throw_on_error</span></code>, <code class="computeroutput"><span class="identifier">errno_on_error</span></code>,
<code class="computeroutput"><span class="identifier">ignore_error</span></code> or <code class="computeroutput"><span class="identifier">user_error</span></code>.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_indeterminate_result_error_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_indeterminate_result_error_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_indeterminate_result_error_policy">BOOST_MATH_INDETERMINATE_RESULT_ERROR_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h7"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_indeterminate_result_error_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_indeterminate_result_error_policy">BOOST_MATH_INDETERMINATE_RESULT_ERROR_POLICY</a>
</h6>
<p>
Defines what happens when the result is indeterminate, but where there
@@ -141,9 +141,9 @@
be set to any of the enumerated actions for error handing: <code class="computeroutput"><span class="identifier">throw_on_error</span></code>, <code class="computeroutput"><span class="identifier">errno_on_error</span></code>,
<code class="computeroutput"><span class="identifier">ignore_error</span></code> or <code class="computeroutput"><span class="identifier">user_error</span></code>.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_digits10_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_digits10_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_digits10_policy">BOOST_MATH_DIGITS10_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h8"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_digits10_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_digits10_policy">BOOST_MATH_DIGITS10_POLICY</a>
</h6>
<p>
Defines how many decimal digits to use in internal computations: defaults
@@ -152,9 +152,9 @@
is likely to have a substantial impact on accuracy, it's not generally
recommended that you change this from the default.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_promote_float_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_promote_float_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_promote_float_policy">BOOST_MATH_PROMOTE_FLOAT_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h9"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_promote_float_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_promote_float_policy">BOOST_MATH_PROMOTE_FLOAT_POLICY</a>
</h6>
<p>
Determines whether <code class="computeroutput"><span class="keyword">float</span></code> types
@@ -164,9 +164,9 @@
turn promotion of <code class="computeroutput"><span class="keyword">float</span></code>'s
off.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_promote_double_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_promote_double_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_promote_double_policy">BOOST_MATH_PROMOTE_DOUBLE_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h10"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_promote_double_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_promote_double_policy">BOOST_MATH_PROMOTE_DOUBLE_POLICY</a>
</h6>
<p>
Determines whether <code class="computeroutput"><span class="keyword">double</span></code>
@@ -176,9 +176,9 @@
turn promotion of <code class="computeroutput"><span class="keyword">double</span></code>'s
off.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_discrete_quantile_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_discrete_quantile_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_discrete_quantile_policy">BOOST_MATH_DISCRETE_QUANTILE_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h11"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_discrete_quantile_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_discrete_quantile_policy">BOOST_MATH_DISCRETE_QUANTILE_POLICY</a>
</h6>
<p>
Determines how discrete quantiles return their results: either as an integer,
@@ -187,9 +187,9 @@
<code class="computeroutput"><span class="identifier">integer_round_down</span></code>, <code class="computeroutput"><span class="identifier">integer_round_up</span></code>, <code class="computeroutput"><span class="identifier">integer_round_nearest</span></code>.
Defaults to <code class="computeroutput"><span class="identifier">integer_round_outwards</span></code>.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_assert_undefined_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_assert_undefined_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_assert_undefined_policy">BOOST_MATH_ASSERT_UNDEFINED_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h12"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_assert_undefined_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_assert_undefined_policy">BOOST_MATH_ASSERT_UNDEFINED_POLICY</a>
</h6>
<p>
Determines whether functions that are mathematically undefined for a specific
@@ -200,27 +200,27 @@
code, that needs to work with all distributions and determine at runtime
whether or not a particular property is well defined.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_max_series_iteration_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_max_series_iteration_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_max_series_iteration_policy">BOOST_MATH_MAX_SERIES_ITERATION_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h13"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_max_series_iteration_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_max_series_iteration_policy">BOOST_MATH_MAX_SERIES_ITERATION_POLICY</a>
</h6>
<p>
Determines how many series iterations a special function is permitted to
perform before it gives up and returns an <a class="link" href="../../main_overview/error_handling.html#evaluation_error">evaluation_error</a>:
Defaults to 1000000.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_max_root_iteration_policy"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_max_root_iteration_policy-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_max_root_iteration_policy">BOOST_MATH_MAX_ROOT_ITERATION_POLICY</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h14"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.boost_math_max_root_iteration_policy"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.boost_math_max_root_iteration_policy">BOOST_MATH_MAX_ROOT_ITERATION_POLICY</a>
</h6>
<p>
Determines how many root-finding iterations a special function is permitted
to perform before it gives up and returns an <a class="link" href="../../main_overview/error_handling.html#evaluation_error">evaluation_error</a>:
Defaults to 200.
</p>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.example"></a><h6>
-<a name="math_toolkit.policy.pol_ref.policy_defaults.example-heading"></a>
- <a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.example">Example</a>
+<h6>
+<a name="math_toolkit.policy.pol_ref.policy_defaults.h15"></a>
+ <span><a name="math_toolkit.policy.pol_ref.policy_defaults.example"></a></span><a class="link" href="policy_defaults.html#math_toolkit.policy.pol_ref.policy_defaults.example">Example</a>
</h6>
<p>
Suppose we want overflow errors to set <code class="computeroutput"><span class="special">::</span><span class="identifier">errno</span></code> and return an infinity, discrete
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/precision_pol.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/precision_pol.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_ref/precision_pol.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -60,7 +60,6 @@
to approximately 5 decimal digits using:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</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">tgamma</span><span class="special">;</span>
@@ -76,7 +75,6 @@
Or again using helper function <code class="computeroutput"><span class="identifier">make_policy</span></code>:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</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">tgamma</span><span class="special">;</span>
@@ -92,7 +90,6 @@
And for a quantile of a distribution to approximately 25-bit precision:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">normal</span><span class="special">.</span><span class="identifier">hpp</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">normal_distribution</span><span class="special">;</span>
@@ -102,7 +99,7 @@
<span class="keyword">const</span> <span class="keyword">int</span> <span class="identifier">bits</span> <span class="special">=</span> <span class="number">25</span><span class="special">;</span> <span class="comment">// approximate precision.</span>
<span class="keyword">double</span> <span class="identifier">q</span> <span class="special">=</span> <span class="identifier">quantile</span><span class="special">(</span>
- <span class="identifier">normal_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">policy</span><span class="special"><</span><span class="identifier">digits2</span><span class="special"><</span><span class="identifier">bits</span><span class="special">></span> <span class="special">></span> <span class="special">>(),</span>
+ <span class="identifier">normal_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">policy</span><span class="special"><</span><span class="identifier">digits2</span><span class="special"><</span><span class="identifier">bits</span><span class="special">></span> <span class="special">></span> <span class="special">>(),</span>
<span class="number">0.05</span><span class="special">);</span> <span class="comment">// 5% quantile.</span>
</pre>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/ad_hoc_dist_policies.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/ad_hoc_dist_policies.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/ad_hoc_dist_policies.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -55,7 +55,6 @@
then here's how it can be done:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">binomial</span><span class="special">.</span><span class="identifier">hpp</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">binomial_distribution</span><span class="special">;</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/ad_hoc_sf_policies.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/ad_hoc_sf_policies.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/ad_hoc_sf_policies.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -59,7 +59,6 @@
throw an exception:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</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">tgamma</span><span class="special">;</span>
@@ -84,7 +83,7 @@
<span class="identifier">domain_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>,</span>
<span class="identifier">pole_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>,</span>
<span class="identifier">overflow_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>,</span>
- <span class="identifier">evaluation_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">></span>
+ <span class="identifier">evaluation_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">></span>
<span class="special">></span> <span class="identifier">c_policy</span><span class="special">;</span>
<span class="comment">//</span>
<span class="comment">// Now use the policy when calling tgamma:</span>
@@ -95,10 +94,10 @@
<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
<span class="identifier">errno</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span> <span class="comment">// Reset.</span>
- <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of tgamma(30000) is: "</span>
+ <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of tgamma(30000) is: "</span>
<span class="special"><<</span> <span class="identifier">tgamma</span><span class="special">(</span><span class="number">30000</span><span class="special">,</span> <span class="identifier">c_policy</span><span class="special">())</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// Too big parameter</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"errno = "</span> <span class="special"><<</span> <span class="identifier">errno</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// errno 34 Numerical result out of range.</span>
- <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of tgamma(-10) is: "</span>
+ <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of tgamma(-10) is: "</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">tgamma</span><span class="special">(-</span><span class="number">10</span><span class="special">,</span> <span class="identifier">c_policy</span><span class="special">())</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// Negative parameter.</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"errno = "</span> <span class="special"><<</span> <span class="identifier">errno</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span> <span class="comment">// error 33 Numerical argument out of domain.</span>
<span class="special">}</span> <span class="comment">// int main()</span>
@@ -120,7 +119,6 @@
so is probably only preferred when a policy is going to be used once only:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</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">tgamma</span><span class="special">;</span>
@@ -136,27 +134,27 @@
<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">evaluation_error</span><span class="special">;</span>
<span class="identifier">errno</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of tgamma(30000) is: "</span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of tgamma(30000) is: "</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">tgamma</span><span class="special">(</span>
- <span class="number">30000</span><span class="special">,</span>
+ <span class="number">30000</span><span class="special">,</span>
<span class="identifier">make_policy</span><span class="special">(</span>
<span class="identifier">domain_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>(),</span>
<span class="identifier">pole_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>(),</span>
<span class="identifier">overflow_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>(),</span>
- <span class="identifier">evaluation_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>()</span>
+ <span class="identifier">evaluation_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>()</span>
<span class="special">)</span>
<span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="comment">// Check errno was set:</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"errno = "</span> <span class="special"><<</span> <span class="identifier">errno</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="comment">// and again with evaluation at a pole:</span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of tgamma(-10) is: "</span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of tgamma(-10) is: "</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">tgamma</span><span class="special">(</span>
- <span class="special">-</span><span class="number">10</span><span class="special">,</span>
+ <span class="special">-</span><span class="number">10</span><span class="special">,</span>
<span class="identifier">make_policy</span><span class="special">(</span>
<span class="identifier">domain_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>(),</span>
<span class="identifier">pole_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>(),</span>
<span class="identifier">overflow_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>(),</span>
- <span class="identifier">evaluation_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>()</span>
+ <span class="identifier">evaluation_error</span><span class="special"><</span><span class="identifier">errno_on_error</span><span class="special">>()</span>
<span class="special">)</span>
<span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="comment">// Check errno was set:</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/changing_policy_defaults.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/changing_policy_defaults.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/changing_policy_defaults.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -48,7 +48,6 @@
C/C++, Preprocessor, Preprocessor definitions like:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">BOOST_MATH_ASSERT_UNDEFINED_POLICY</span><span class="special">=</span><span class="number">0</span>
<span class="identifier">BOOST_MATH_OVERFLOW_ERROR_POLICY</span><span class="special">=</span><span class="identifier">errno_on_error</span></pre>
@@ -59,7 +58,6 @@
that may mean that the equivalent definitions in source code:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_ASSERT_UNDEFINED_POLICY</span> <span class="keyword">false</span>
<span class="preprocessor">#define</span> <span class="identifier">BOOST_MATH_OVERFLOW_ERROR_POLICY</span> <span class="identifier">errno_on_error</span></pre>
@@ -72,7 +70,6 @@
The compiler command line shows:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="special">/</span><span class="identifier">D</span> <span class="string">"BOOST_MATH_ASSERT_UNDEFINED_POLICY=0"</span>
<span class="special">/</span><span class="identifier">D</span> <span class="string">"BOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error"</span></pre>
@@ -164,7 +161,6 @@
We'll begin our sample program with the needed includes:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="comment">// Boost</span>
<span class="preprocessor">#include</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">distributions</span><span class="special">/</span><span class="identifier">students_t</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -188,7 +184,6 @@
handle either an exception or a NaN:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/namespace_policies.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/namespace_policies.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/namespace_policies.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -51,7 +51,6 @@
We'll begin by including the needed header for our function:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="comment">//using boost::math::tgamma; // Not needed because using C::tgamma.</span></pre>
@@ -66,7 +65,6 @@
Any policies we don't specify here will inherit the defaults.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">C</span>
<span class="special">{</span> <span class="comment">// To hold our C-style policy.</span>
@@ -92,7 +90,6 @@
passing our policy type c_policy as the single argument:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">BOOST_MATH_DECLARE_SPECIAL_FUNCTIONS</span><span class="special">(</span><span class="identifier">c_policy</span><span class="special">)</span>
@@ -104,7 +101,6 @@
look something like this:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">></span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">tools</span><span class="special">::</span><span class="identifier">promote_args</span><span class="special"><</span><span class="identifier">RT</span><span class="special">>::</span><span class="identifier">type</span>
@@ -121,7 +117,6 @@
<span class="identifier">C</span><span class="special">::</span><span class="identifier">c_policy</span><span class="special">())</span></code>:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
@@ -154,7 +149,6 @@
alternate policies present in other translation units:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
<span class="comment">// using boost::math::tgamma; // Would create an ambiguity between</span>
@@ -182,7 +176,6 @@
<span class="identifier">anonymous</span><span class="special">-</span><span class="keyword">namespace</span><span class="special">::</span><span class="identifier">c_policy</span><span class="special">())</span></code>.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="special">}</span> <span class="comment">// close unnamed namespace</span>
@@ -236,7 +229,6 @@
We'll begin by including the needed header for all the distributions:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
@@ -247,7 +239,6 @@
we don't specify here will inherit the defaults:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">my_distributions</span>
<span class="special">{</span>
@@ -271,7 +262,6 @@
as arguments:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">BOOST_MATH_DECLARE_DISTRIBUTIONS</span><span class="special">(</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">my_policy</span><span class="special">)</span>
@@ -283,7 +273,6 @@
all look something like this:
</p>
<p>
-
</p>
<pre class="programlisting"><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">normal_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">my_policy</span><span class="special">></span> <span class="identifier">normal</span><span class="special">;</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">cauchy_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">my_policy</span><span class="special">></span> <span class="identifier">cauchy</span><span class="special">;</span>
@@ -296,7 +285,6 @@
So that when we use my_distributions::normal we really end up using <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">normal_distribution</span><span class="special"><</span><span class="keyword">double</span><span class="special">,</span> <span class="identifier">my_policy</span><span class="special">></span></code>:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
@@ -355,7 +343,6 @@
with any alternate policies present in other translation units:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">distributions</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> <span class="comment">// All distributions.</span>
<span class="comment">// using boost::math::normal; // Would create an ambguity between</span>
@@ -385,19 +372,19 @@
<span class="comment">// Construct distribution with something we know will overflow.</span>
<span class="identifier">normal</span> <span class="identifier">norm</span><span class="special">(</span><span class="number">10</span><span class="special">,</span> <span class="number">2</span><span class="special">);</span> <span class="comment">// using 'anonymous-namespace'::normal</span>
<span class="identifier">errno</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
- <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of quantile(norm, 0) is: "</span>
+ <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of quantile(norm, 0) is: "</span>
<span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">norm</span><span class="special">,</span> <span class="number">0</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"errno = "</span> <span class="special"><<</span> <span class="identifier">errno</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">errno</span> <span class="special">=</span> <span class="number">0</span><span class="special">;</span>
- <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of quantile(norm, 1) is: "</span>
+ <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of quantile(norm, 1) is: "</span>
<span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">norm</span><span class="special">,</span> <span class="number">1</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"errno = "</span> <span class="special"><<</span> <span class="identifier">errno</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="comment">//</span>
<span class="comment">// Now try a discrete distribution:</span>
<span class="identifier">binomial</span> <span class="identifier">binom</span><span class="special">(</span><span class="number">20</span><span class="special">,</span> <span class="number">0.25</span><span class="special">);</span>
- <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of quantile(binom, 0.05) is: "</span>
+ <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of quantile(binom, 0.05) is: "</span>
<span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom</span><span class="special">,</span> <span class="number">0.05</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
- <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of quantile(complement(binom, 0.05)) is: "</span>
+ <span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Result of quantile(complement(binom, 0.05)) is: "</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">binom</span><span class="special">,</span> <span class="number">0.05</span><span class="special">))</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="special">}</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/understand_dis_quant.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/understand_dis_quant.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/understand_dis_quant.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -176,9 +176,9 @@
when dealing with a discrete distribution</em></span>, and if in doubt,
<span class="emphasis"><em>base your comparisons on CDF's instead</em></span>.
</p>
-<a name="math_toolkit.policy.pol_tutorial.understand_dis_quant.other_rounding_policies_are_available"></a><h6>
-<a name="math_toolkit.policy.pol_tutorial.understand_dis_quant.other_rounding_policies_are_available-heading"></a>
- <a class="link" href="understand_dis_quant.html#math_toolkit.policy.pol_tutorial.understand_dis_quant.other_rounding_policies_are_available">Other
+<h6>
+<a name="math_toolkit.policy.pol_tutorial.understand_dis_quant.h0"></a>
+ <span><a name="math_toolkit.policy.pol_tutorial.understand_dis_quant.other_rounding_policies_are_available"></a></span><a class="link" href="understand_dis_quant.html#math_toolkit.policy.pol_tutorial.understand_dis_quant.other_rounding_policies_are_available">Other
Rounding Policies are Available</a>
</h6>
<p>
@@ -248,7 +248,6 @@
Begin by including the needed headers (and some using statements for conciseness):
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">iostream</span><span class="special">></span>
<span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span><span class="special">;</span> <span class="keyword">using</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
@@ -265,7 +264,6 @@
types for all the available rounding policies:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="comment">// Avoid </span>
<span class="comment">// using namespace std; // and </span>
@@ -288,33 +286,33 @@
<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="comment">// Not std::binomial_distribution.</span>
<span class="keyword">typedef</span> <span class="identifier">binomial_distribution</span><span class="special"><</span>
- <span class="keyword">double</span><span class="special">,</span>
- <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_outwards</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
+ <span class="keyword">double</span><span class="special">,</span>
+ <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_outwards</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
<span class="identifier">binom_round_outwards</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">binomial_distribution</span><span class="special"><</span>
- <span class="keyword">double</span><span class="special">,</span>
- <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_inwards</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
+ <span class="keyword">double</span><span class="special">,</span>
+ <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_inwards</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
<span class="identifier">binom_round_inwards</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">binomial_distribution</span><span class="special"><</span>
- <span class="keyword">double</span><span class="special">,</span>
- <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_down</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
+ <span class="keyword">double</span><span class="special">,</span>
+ <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_down</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
<span class="identifier">binom_round_down</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">binomial_distribution</span><span class="special"><</span>
- <span class="keyword">double</span><span class="special">,</span>
- <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_up</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
+ <span class="keyword">double</span><span class="special">,</span>
+ <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_up</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
<span class="identifier">binom_round_up</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">binomial_distribution</span><span class="special"><</span>
- <span class="keyword">double</span><span class="special">,</span>
- <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_nearest</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
+ <span class="keyword">double</span><span class="special">,</span>
+ <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">integer_round_nearest</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
<span class="identifier">binom_round_nearest</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">binomial_distribution</span><span class="special"><</span>
- <span class="keyword">double</span><span class="special">,</span>
- <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">real</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
+ <span class="keyword">double</span><span class="special">,</span>
+ <span class="identifier">policy</span><span class="special"><</span><span class="identifier">discrete_quantile</span><span class="special"><</span><span class="identifier">real</span><span class="special">></span> <span class="special">></span> <span class="special">></span>
<span class="identifier">binom_real_quantile</span><span class="special">;</span></pre>
<p>
</p>
@@ -322,73 +320,72 @@
Now let's set to work calling those quantiles:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
- <span class="identifier">cout</span> <span class="special"><<</span>
+ <span class="identifier">cout</span> <span class="special"><<</span>
<span class="string">"Testing rounding policies for a 50 sample binomial distribution,\n"</span>
<span class="string">"with a success fraction of 0.5.\n\n"</span>
<span class="string">"Lower quantiles are calculated at p = 0.05\n\n"</span>
<span class="string">"Upper quantiles at p = 0.95.\n\n"</span><span class="special">;</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">25</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
- <span class="special"><<</span> <span class="string">"Policy"</span><span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
- <span class="special"><<</span> <span class="string">"Lower Quantile"</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
+ <span class="special"><<</span> <span class="string">"Policy"</span><span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
+ <span class="special"><<</span> <span class="string">"Lower Quantile"</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="string">"Upper Quantile"</span> <span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-
+
<span class="comment">// Test integer_round_outwards:</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">25</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="string">"integer_round_outwards"</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_outwards</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.05</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
- <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_outwards</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
+ <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_outwards</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-
+
<span class="comment">// Test integer_round_inwards:</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">25</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="string">"integer_round_inwards"</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_inwards</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.05</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
- <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_inwards</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
+ <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_inwards</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-
+
<span class="comment">// Test integer_round_down:</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">25</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="string">"integer_round_down"</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_down</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.05</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
- <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_down</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
+ <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_down</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-
+
<span class="comment">// Test integer_round_up:</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">25</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="string">"integer_round_up"</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_up</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.05</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
- <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_up</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
+ <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_up</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-
+
<span class="comment">// Test integer_round_nearest:</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">25</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="string">"integer_round_nearest"</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_nearest</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.05</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
- <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_nearest</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
+ <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_round_nearest</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
-
+
<span class="comment">// Test real:</span>
<span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">25</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="string">"real"</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
<span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_real_quantile</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.05</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">setw</span><span class="special">(</span><span class="number">18</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">right</span>
- <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_real_quantile</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
+ <span class="special"><<</span> <span class="identifier">quantile</span><span class="special">(</span><span class="identifier">binom_real_quantile</span><span class="special">(</span><span class="number">50</span><span class="special">,</span> <span class="number">0.5</span><span class="special">),</span> <span class="number">0.95</span><span class="special">)</span>
<span class="special"><<</span> <span class="identifier">endl</span><span class="special">;</span>
<span class="special">}</span> <span class="comment">// int main()</span></pre>
<p>
@@ -399,11 +396,11 @@
<pre class="programlisting">policy_eg_10.vcxproj -> J:\Cpp\MathToolkit\test\Math_test\Release\policy_eg_10.exe
Testing rounding policies for a 50 sample binomial distribution,
with a success fraction of 0.5.
-
+
Lower quantiles are calculated at p = 0.05
-
+
Upper quantiles at p = 0.95.
-
+
Policy Lower Quantile Upper Quantile
integer_round_outwards 18 31
integer_round_inwards 19 30
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/user_def_err_pol.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/user_def_err_pol.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/policy/pol_tutorial/user_def_err_pol.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -63,7 +63,6 @@
overflow and underflow use the default.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
@@ -93,7 +92,6 @@
and define some forwarding functions that make use of the policy:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">namespace</span><span class="special">{</span>
@@ -114,7 +112,6 @@
that all look something like this:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">></span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">tools</span><span class="special">::</span><span class="identifier">promote_args</span><span class="special"><</span><span class="identifier">RT</span><span class="special">>::</span><span class="identifier">type</span>
@@ -132,7 +129,6 @@
and any errors will get directed to our own error handlers.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
@@ -199,7 +195,6 @@
As before we'll include the headers we need first:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
@@ -209,7 +204,6 @@
with domain errors:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
<span class="keyword">namespace</span> <span class="identifier">policies</span>
@@ -225,7 +219,6 @@
are empty:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">if</span><span class="special">(</span><span class="identifier">function</span> <span class="special">==</span> <span class="number">0</span><span class="special">)</span>
<span class="identifier">function</span> <span class="special">=</span> <span class="string">"Unknown function with arguments of type %1%"</span><span class="special">;</span>
@@ -238,7 +231,6 @@
double:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">msg</span><span class="special">(</span><span class="string">"Error in function "</span><span class="special">);</span>
<span class="identifier">msg</span> <span class="special">+=</span> <span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">format</span><span class="special">(</span><span class="identifier">function</span><span class="special">)</span> <span class="special">%</span> <span class="keyword">typeid</span><span class="special">(</span><span class="identifier">T</span><span class="special">).</span><span class="identifier">name</span><span class="special">()).</span><span class="identifier">str</span><span class="special">();</span></pre>
@@ -249,7 +241,6 @@
making sure we output all the potentially significant digits of <span class="emphasis"><em>val</em></span>:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">msg</span> <span class="special">+=</span> <span class="string">": \n"</span><span class="special">;</span>
<span class="keyword">int</span> <span class="identifier">prec</span> <span class="special">=</span> <span class="number">2</span> <span class="special">+</span> <span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">digits</span> <span class="special">*</span> <span class="number">30103UL</span><span class="special">)</span> <span class="special">/</span> <span class="number">100000UL</span><span class="special">;</span>
@@ -262,7 +253,6 @@
but for the purposes of this example we'll just dump the message to std::cerr:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">cerr</span> <span class="special"><<</span> <span class="identifier">msg</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span></pre>
<p>
@@ -272,7 +262,6 @@
NaN:
</p>
<p>
-
</p>
<pre class="programlisting"> <span class="keyword">return</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">quiet_NaN</span><span class="special">();</span>
<span class="special">}</span></pre>
@@ -283,7 +272,6 @@
example we'll just return the result of a domain error:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">T</span> <span class="identifier">user_pole_error</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">function</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">message</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">val</span><span class="special">)</span>
@@ -297,7 +285,6 @@
no %1% format specifier in the <span class="emphasis"><em>message</em></span> parameter:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">T</span> <span class="identifier">user_overflow_error</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">function</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">message</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">val</span><span class="special">)</span>
@@ -324,7 +311,6 @@
Underflow errors are much the same as overflow:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">T</span> <span class="identifier">user_underflow_error</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">function</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">message</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">val</span><span class="special">)</span>
@@ -351,7 +337,6 @@
Denormalised results are much the same as underflow:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">T</span> <span class="identifier">user_denorm_error</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">function</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">message</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">val</span><span class="special">)</span>
@@ -381,7 +366,6 @@
found so far:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">T</span> <span class="identifier">user_evaluation_error</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">function</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">message</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">val</span><span class="special">)</span>
@@ -416,7 +400,6 @@
and define some forwarding functions that make use of the policy:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">namespace</span>
<span class="special">{</span> <span class="comment">// unnamed.</span>
@@ -442,7 +425,6 @@
that all look something like this:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">RealType</span><span class="special">></span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">tools</span><span class="special">::</span><span class="identifier">promote_args</span><span class="special"><</span><span class="identifier">RT</span><span class="special">>::</span><span class="identifier">type</span>
@@ -460,7 +442,6 @@
and any errors will get directed to our own error handlers:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/bessel.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/bessel.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/bessel.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,9 +27,9 @@
<a name="math_toolkit.special.bessel.bessel"></a><a class="link" href="bessel.html" title="Bessel Functions of the First and Second Kinds">Bessel Functions
of the First and Second Kinds</a>
</h4></div></div></div>
-<a name="math_toolkit.special.bessel.bessel.synopsis"></a><h5>
-<a name="math_toolkit.special.bessel.bessel.synopsis-heading"></a>
- <a class="link" href="bessel.html#math_toolkit.special.bessel.bessel.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.bessel.bessel.h0"></a>
+ <span><a name="math_toolkit.special.bessel.bessel.synopsis"></a></span><a class="link" href="bessel.html#math_toolkit.special.bessel.bessel.synopsis">Synopsis</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">cyl_bessel_j</span><span class="special">(</span><span class="identifier">T1</span> <span class="identifier">v</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">x</span><span class="special">);</span>
@@ -43,9 +43,9 @@
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">cyl_neumann</span><span class="special">(</span><span class="identifier">T1</span> <span class="identifier">v</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
-<a name="math_toolkit.special.bessel.bessel.description"></a><h5>
-<a name="math_toolkit.special.bessel.bessel.description-heading"></a>
- <a class="link" href="bessel.html#math_toolkit.special.bessel.bessel.description">Description</a>
+<h5>
+<a name="math_toolkit.special.bessel.bessel.h1"></a>
+ <span><a name="math_toolkit.special.bessel.bessel.description"></a></span><a class="link" href="bessel.html#math_toolkit.special.bessel.bessel.description">Description</a>
</h5>
<p>
The functions <a class="link" href="bessel.html" title="Bessel Functions of the First and Second Kinds">cyl_bessel_j</a>
@@ -104,18 +104,18 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/cyl_neumann.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.bessel.bessel.testing"></a><h5>
-<a name="math_toolkit.special.bessel.bessel.testing-heading"></a>
- <a class="link" href="bessel.html#math_toolkit.special.bessel.bessel.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.bessel.bessel.h2"></a>
+ <span><a name="math_toolkit.special.bessel.bessel.testing"></a></span><a class="link" href="bessel.html#math_toolkit.special.bessel.bessel.testing">Testing</a>
</h5>
<p>
There are two sets of test values: spot values calculated using functions.wolfram.com, and a
much larger set of tests computed using a simplified version of this implementation
(with all the special case handling removed).
</p>
-<a name="math_toolkit.special.bessel.bessel.accuracy"></a><h5>
-<a name="math_toolkit.special.bessel.bessel.accuracy-heading"></a>
- <a class="link" href="bessel.html#math_toolkit.special.bessel.bessel.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.bessel.bessel.h3"></a>
+ <span><a name="math_toolkit.special.bessel.bessel.accuracy"></a></span><a class="link" href="bessel.html#math_toolkit.special.bessel.bessel.accuracy">Accuracy</a>
</h5>
<p>
The following tables show how the accuracy of these functions varies on
@@ -488,9 +488,9 @@
and the result checked against our test data: no errors in the test data
were found.
</p>
-<a name="math_toolkit.special.bessel.bessel.implementation"></a><h5>
-<a name="math_toolkit.special.bessel.bessel.implementation-heading"></a>
- <a class="link" href="bessel.html#math_toolkit.special.bessel.bessel.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.bessel.bessel.h4"></a>
+ <span><a name="math_toolkit.special.bessel.bessel.implementation"></a></span><a class="link" href="bessel.html#math_toolkit.special.bessel.bessel.implementation">Implementation</a>
</h5>
<p>
The implementation is mostly about filtering off various special cases:
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/bessel_over.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/bessel_over.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/bessel_over.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,9 +27,9 @@
<a name="math_toolkit.special.bessel.bessel_over"></a><a class="link" href="bessel_over.html" title="Bessel Function Overview">Bessel Function
Overview</a>
</h4></div></div></div>
-<a name="math_toolkit.special.bessel.bessel_over.ordinary_bessel_functions"></a><h5>
-<a name="math_toolkit.special.bessel.bessel_over.ordinary_bessel_functions-heading"></a>
- <a class="link" href="bessel_over.html#math_toolkit.special.bessel.bessel_over.ordinary_bessel_functions">Ordinary
+<h5>
+<a name="math_toolkit.special.bessel.bessel_over.h0"></a>
+ <span><a name="math_toolkit.special.bessel.bessel_over.ordinary_bessel_functions"></a></span><a class="link" href="bessel_over.html#math_toolkit.special.bessel.bessel_over.ordinary_bessel_functions">Ordinary
Bessel Functions</a>
</h5>
<p>
@@ -102,9 +102,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../equations/bessel10.png"></span>
</p>
-<a name="math_toolkit.special.bessel.bessel_over.modified_bessel_functions"></a><h5>
-<a name="math_toolkit.special.bessel.bessel_over.modified_bessel_functions-heading"></a>
- <a class="link" href="bessel_over.html#math_toolkit.special.bessel.bessel_over.modified_bessel_functions">Modified
+<h5>
+<a name="math_toolkit.special.bessel.bessel_over.h1"></a>
+ <span><a name="math_toolkit.special.bessel.bessel_over.modified_bessel_functions"></a></span><a class="link" href="bessel_over.html#math_toolkit.special.bessel.bessel_over.modified_bessel_functions">Modified
Bessel Functions</a>
</h5>
<p>
@@ -166,9 +166,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../equations/mbessel10.png"></span>
</p>
-<a name="math_toolkit.special.bessel.bessel_over.spherical_bessel_functions"></a><h5>
-<a name="math_toolkit.special.bessel.bessel_over.spherical_bessel_functions-heading"></a>
- <a class="link" href="bessel_over.html#math_toolkit.special.bessel.bessel_over.spherical_bessel_functions">Spherical
+<h5>
+<a name="math_toolkit.special.bessel.bessel_over.h2"></a>
+ <span><a name="math_toolkit.special.bessel.bessel_over.spherical_bessel_functions"></a></span><a class="link" href="bessel_over.html#math_toolkit.special.bessel.bessel_over.spherical_bessel_functions">Spherical
Bessel Functions</a>
</h5>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/mbessel.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/mbessel.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/mbessel.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,9 +27,9 @@
<a name="math_toolkit.special.bessel.mbessel"></a><a class="link" href="mbessel.html" title="Modified Bessel Functions of the First and Second Kinds">Modified Bessel
Functions of the First and Second Kinds</a>
</h4></div></div></div>
-<a name="math_toolkit.special.bessel.mbessel.synopsis"></a><h5>
-<a name="math_toolkit.special.bessel.mbessel.synopsis-heading"></a>
- <a class="link" href="mbessel.html#math_toolkit.special.bessel.mbessel.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.bessel.mbessel.h0"></a>
+ <span><a name="math_toolkit.special.bessel.mbessel.synopsis"></a></span><a class="link" href="mbessel.html#math_toolkit.special.bessel.mbessel.synopsis">Synopsis</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">cyl_bessel_i</span><span class="special">(</span><span class="identifier">T1</span> <span class="identifier">v</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">x</span><span class="special">);</span>
@@ -43,9 +43,9 @@
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">cyl_bessel_k</span><span class="special">(</span><span class="identifier">T1</span> <span class="identifier">v</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
-<a name="math_toolkit.special.bessel.mbessel.description"></a><h5>
-<a name="math_toolkit.special.bessel.mbessel.description-heading"></a>
- <a class="link" href="mbessel.html#math_toolkit.special.bessel.mbessel.description">Description</a>
+<h5>
+<a name="math_toolkit.special.bessel.mbessel.h1"></a>
+ <span><a name="math_toolkit.special.bessel.mbessel.description"></a></span><a class="link" href="mbessel.html#math_toolkit.special.bessel.mbessel.description">Description</a>
</h5>
<p>
The functions <a class="link" href="mbessel.html" title="Modified Bessel Functions of the First and Second Kinds">cyl_bessel_i</a>
@@ -103,18 +103,18 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/cyl_bessel_k.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.bessel.mbessel.testing"></a><h5>
-<a name="math_toolkit.special.bessel.mbessel.testing-heading"></a>
- <a class="link" href="mbessel.html#math_toolkit.special.bessel.mbessel.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.bessel.mbessel.h2"></a>
+ <span><a name="math_toolkit.special.bessel.mbessel.testing"></a></span><a class="link" href="mbessel.html#math_toolkit.special.bessel.mbessel.testing">Testing</a>
</h5>
<p>
There are two sets of test values: spot values calculated using functions.wolfram.com, and a
much larger set of tests computed using a simplified version of this implementation
(with all the special case handling removed).
</p>
-<a name="math_toolkit.special.bessel.mbessel.accuracy"></a><h5>
-<a name="math_toolkit.special.bessel.mbessel.accuracy-heading"></a>
- <a class="link" href="mbessel.html#math_toolkit.special.bessel.mbessel.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.bessel.mbessel.h3"></a>
+ <span><a name="math_toolkit.special.bessel.mbessel.accuracy"></a></span><a class="link" href="mbessel.html#math_toolkit.special.bessel.mbessel.accuracy">Accuracy</a>
</h5>
<p>
The following tables show how the accuracy of these functions varies on
@@ -320,9 +320,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.special.bessel.mbessel.implementation"></a><h5>
-<a name="math_toolkit.special.bessel.mbessel.implementation-heading"></a>
- <a class="link" href="mbessel.html#math_toolkit.special.bessel.mbessel.implementation">Implementation</a>
+<br class="table-break"><h5>
+<a name="math_toolkit.special.bessel.mbessel.h4"></a>
+ <span><a name="math_toolkit.special.bessel.mbessel.implementation"></a></span><a class="link" href="mbessel.html#math_toolkit.special.bessel.mbessel.implementation">Implementation</a>
</h5>
<p>
The following are handled as special cases first:
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/sph_bessel.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/sph_bessel.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/bessel/sph_bessel.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,9 +27,9 @@
<a name="math_toolkit.special.bessel.sph_bessel"></a><a class="link" href="sph_bessel.html" title="Spherical Bessel Functions of the First and Second Kinds">Spherical Bessel
Functions of the First and Second Kinds</a>
</h4></div></div></div>
-<a name="math_toolkit.special.bessel.sph_bessel.synopsis"></a><h5>
-<a name="math_toolkit.special.bessel.sph_bessel.synopsis-heading"></a>
- <a class="link" href="sph_bessel.html#math_toolkit.special.bessel.sph_bessel.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.bessel.sph_bessel.h0"></a>
+ <span><a name="math_toolkit.special.bessel.sph_bessel.synopsis"></a></span><a class="link" href="sph_bessel.html#math_toolkit.special.bessel.sph_bessel.synopsis">Synopsis</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">sph_bessel</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">v</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">x</span><span class="special">);</span>
@@ -43,9 +43,9 @@
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">sph_neumann</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">v</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
-<a name="math_toolkit.special.bessel.sph_bessel.description"></a><h5>
-<a name="math_toolkit.special.bessel.sph_bessel.description-heading"></a>
- <a class="link" href="sph_bessel.html#math_toolkit.special.bessel.sph_bessel.description">Description</a>
+<h5>
+<a name="math_toolkit.special.bessel.sph_bessel.h1"></a>
+ <span><a name="math_toolkit.special.bessel.sph_bessel.description"></a></span><a class="link" href="sph_bessel.html#math_toolkit.special.bessel.sph_bessel.description">Description</a>
</h5>
<p>
The functions <a class="link" href="sph_bessel.html" title="Spherical Bessel Functions of the First and Second Kinds">sph_bessel</a>
@@ -91,18 +91,18 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/sph_neumann.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.bessel.sph_bessel.testing"></a><h5>
-<a name="math_toolkit.special.bessel.sph_bessel.testing-heading"></a>
- <a class="link" href="sph_bessel.html#math_toolkit.special.bessel.sph_bessel.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.bessel.sph_bessel.h2"></a>
+ <span><a name="math_toolkit.special.bessel.sph_bessel.testing"></a></span><a class="link" href="sph_bessel.html#math_toolkit.special.bessel.sph_bessel.testing">Testing</a>
</h5>
<p>
There are two sets of test values: spot values calculated using functions.wolfram.com, and
a much larger set of tests computed using a simplified version of this
implementation (with all the special case handling removed).
</p>
-<a name="math_toolkit.special.bessel.sph_bessel.accuracy"></a><h5>
-<a name="math_toolkit.special.bessel.sph_bessel.accuracy-heading"></a>
- <a class="link" href="sph_bessel.html#math_toolkit.special.bessel.sph_bessel.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.bessel.sph_bessel.h3"></a>
+ <span><a name="math_toolkit.special.bessel.sph_bessel.accuracy"></a></span><a class="link" href="sph_bessel.html#math_toolkit.special.bessel.sph_bessel.accuracy">Accuracy</a>
</h5>
<p>
Other than for some special cases, these functions are computed in terms
@@ -110,9 +110,9 @@
and <a class="link" href="bessel.html" title="Bessel Functions of the First and Second Kinds">cyl_neumann</a>:
refer to these functions for accuracy data.
</p>
-<a name="math_toolkit.special.bessel.sph_bessel.implementation"></a><h5>
-<a name="math_toolkit.special.bessel.sph_bessel.implementation-heading"></a>
- <a class="link" href="sph_bessel.html#math_toolkit.special.bessel.sph_bessel.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.bessel.sph_bessel.h4"></a>
+ <span><a name="math_toolkit.special.bessel.sph_bessel.implementation"></a></span><a class="link" href="sph_bessel.html#math_toolkit.special.bessel.sph_bessel.implementation">Implementation</a>
</h5>
<p>
Other than error handling and a couple of special cases these functions
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_1.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_1.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_1.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.ellint.ellint_1"></a><a class="link" href="ellint_1.html" title="Elliptic Integrals of the First Kind - Legendre Form">Elliptic Integrals
of the First Kind - Legendre Form</a>
</h4></div></div></div>
-<a name="math_toolkit.special.ellint.ellint_1.synopsis"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_1.synopsis-heading"></a>
- <a class="link" href="ellint_1.html#math_toolkit.special.ellint.ellint_1.synopsis">Synopsis</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_1.h0"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_1.synopsis"></a></span><a class="link" href="ellint_1.html#math_toolkit.special.ellint.ellint_1.synopsis">Synopsis</a>
</h6>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">ellint_1</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -54,9 +53,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.ellint.ellint_1.description"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_1.description-heading"></a>
- <a class="link" href="ellint_1.html#math_toolkit.special.ellint.ellint_1.description">Description</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_1.h1"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_1.description"></a></span><a class="link" href="ellint_1.html#math_toolkit.special.ellint.ellint_1.description">Description</a>
</h6>
<p>
These two functions evaluate the incomplete elliptic integral of the first
@@ -112,9 +111,9 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.ellint.ellint_1.accuracy"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_1.accuracy-heading"></a>
- <a class="link" href="ellint_1.html#math_toolkit.special.ellint.ellint_1.accuracy">Accuracy</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_1.h2"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_1.accuracy"></a></span><a class="link" href="ellint_1.html#math_toolkit.special.ellint.ellint_1.accuracy">Accuracy</a>
</h6>
<p>
These functions are computed using only basic arithmetic operations, so
@@ -224,9 +223,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.special.ellint.ellint_1.testing"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_1.testing-heading"></a>
- <a class="link" href="ellint_1.html#math_toolkit.special.ellint.ellint_1.testing">Testing</a>
+<br class="table-break"><h6>
+<a name="math_toolkit.special.ellint.ellint_1.h3"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_1.testing"></a></span><a class="link" href="ellint_1.html#math_toolkit.special.ellint.ellint_1.testing">Testing</a>
</h6>
<p>
The tests use a mixture of spot test values calculated using the online
@@ -234,9 +233,9 @@
and random test data generated using NTL::RR at 1000-bit precision and
this implementation.
</p>
-<a name="math_toolkit.special.ellint.ellint_1.implementation"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_1.implementation-heading"></a>
- <a class="link" href="ellint_1.html#math_toolkit.special.ellint.ellint_1.implementation">Implementation</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_1.h4"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_1.implementation"></a></span><a class="link" href="ellint_1.html#math_toolkit.special.ellint.ellint_1.implementation">Implementation</a>
</h6>
<p>
These functions are implemented in terms of Carlson's integrals using the
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_2.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_2.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_2.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.ellint.ellint_2"></a><a class="link" href="ellint_2.html" title="Elliptic Integrals of the Second Kind - Legendre Form">Elliptic Integrals
of the Second Kind - Legendre Form</a>
</h4></div></div></div>
-<a name="math_toolkit.special.ellint.ellint_2.synopsis"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_2.synopsis-heading"></a>
- <a class="link" href="ellint_2.html#math_toolkit.special.ellint.ellint_2.synopsis">Synopsis</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_2.h0"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_2.synopsis"></a></span><a class="link" href="ellint_2.html#math_toolkit.special.ellint.ellint_2.synopsis">Synopsis</a>
</h6>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">ellint_2</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -54,9 +53,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.ellint.ellint_2.description"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_2.description-heading"></a>
- <a class="link" href="ellint_2.html#math_toolkit.special.ellint.ellint_2.description">Description</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_2.h1"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_2.description"></a></span><a class="link" href="ellint_2.html#math_toolkit.special.ellint.ellint_2.description">Description</a>
</h6>
<p>
These two functions evaluate the incomplete elliptic integral of the second
@@ -112,9 +111,9 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.ellint.ellint_2.accuracy"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_2.accuracy-heading"></a>
- <a class="link" href="ellint_2.html#math_toolkit.special.ellint.ellint_2.accuracy">Accuracy</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_2.h2"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_2.accuracy"></a></span><a class="link" href="ellint_2.html#math_toolkit.special.ellint.ellint_2.accuracy">Accuracy</a>
</h6>
<p>
These functions are computed using only basic arithmetic operations, so
@@ -224,9 +223,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.special.ellint.ellint_2.testing"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_2.testing-heading"></a>
- <a class="link" href="ellint_2.html#math_toolkit.special.ellint.ellint_2.testing">Testing</a>
+<br class="table-break"><h6>
+<a name="math_toolkit.special.ellint.ellint_2.h3"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_2.testing"></a></span><a class="link" href="ellint_2.html#math_toolkit.special.ellint.ellint_2.testing">Testing</a>
</h6>
<p>
The tests use a mixture of spot test values calculated using the online
@@ -234,9 +233,9 @@
and random test data generated using NTL::RR at 1000-bit precision and
this implementation.
</p>
-<a name="math_toolkit.special.ellint.ellint_2.implementation"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_2.implementation-heading"></a>
- <a class="link" href="ellint_2.html#math_toolkit.special.ellint.ellint_2.implementation">Implementation</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_2.h4"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_2.implementation"></a></span><a class="link" href="ellint_2.html#math_toolkit.special.ellint.ellint_2.implementation">Implementation</a>
</h6>
<p>
These functions are implemented in terms of Carlson's integrals using the
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_3.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_3.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_3.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.ellint.ellint_3"></a><a class="link" href="ellint_3.html" title="Elliptic Integrals of the Third Kind - Legendre Form">Elliptic Integrals
of the Third Kind - Legendre Form</a>
</h4></div></div></div>
-<a name="math_toolkit.special.ellint.ellint_3.synopsis"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_3.synopsis-heading"></a>
- <a class="link" href="ellint_3.html#math_toolkit.special.ellint.ellint_3.synopsis">Synopsis</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_3.h0"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_3.synopsis"></a></span><a class="link" href="ellint_3.html#math_toolkit.special.ellint.ellint_3.synopsis">Synopsis</a>
</h6>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">ellint_3</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -54,9 +53,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.ellint.ellint_3.description"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_3.description-heading"></a>
- <a class="link" href="ellint_3.html#math_toolkit.special.ellint.ellint_3.description">Description</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_3.h1"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_3.description"></a></span><a class="link" href="ellint_3.html#math_toolkit.special.ellint.ellint_3.description">Description</a>
</h6>
<p>
These two functions evaluate the incomplete elliptic integral of the third
@@ -118,9 +117,9 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.ellint.ellint_3.accuracy"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_3.accuracy-heading"></a>
- <a class="link" href="ellint_3.html#math_toolkit.special.ellint.ellint_3.accuracy">Accuracy</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_3.h2"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_3.accuracy"></a></span><a class="link" href="ellint_3.html#math_toolkit.special.ellint.ellint_3.accuracy">Accuracy</a>
</h6>
<p>
These functions are computed using only basic arithmetic operations, so
@@ -230,9 +229,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.special.ellint.ellint_3.testing"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_3.testing-heading"></a>
- <a class="link" href="ellint_3.html#math_toolkit.special.ellint.ellint_3.testing">Testing</a>
+<br class="table-break"><h6>
+<a name="math_toolkit.special.ellint.ellint_3.h3"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_3.testing"></a></span><a class="link" href="ellint_3.html#math_toolkit.special.ellint.ellint_3.testing">Testing</a>
</h6>
<p>
The tests use a mixture of spot test values calculated using the online
@@ -240,9 +239,9 @@
and random test data generated using NTL::RR at 1000-bit precision and
this implementation.
</p>
-<a name="math_toolkit.special.ellint.ellint_3.implementation"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_3.implementation-heading"></a>
- <a class="link" href="ellint_3.html#math_toolkit.special.ellint.ellint_3.implementation">Implementation</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_3.h4"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_3.implementation"></a></span><a class="link" href="ellint_3.html#math_toolkit.special.ellint.ellint_3.implementation">Implementation</a>
</h6>
<p>
The implementation for Π(n, φ, k) first siphons off the special cases:
@@ -278,7 +277,7 @@
<span class="emphasis"><em>Π(n, φ+mπ, k) = Π(n, φ, k) + 2mΠ(n, k) ; n <= 1</em></span>
</p>
<p>
- <span class="emphasis"><em>Π(n, φ+mπ, k) = Π(n, φ, k) ; n > 1</em></span> <sup>[<a name="id1308635" href="#ftn.id1308635" class="footnote">1</a>]</sup>
+ <span class="emphasis"><em>Π(n, φ+mπ, k) = Π(n, φ, k) ; n > 1</em></span> <sup>[<a name="math_toolkit.special.ellint.ellint_3.f0" href="#ftn.math_toolkit.special.ellint.ellint_3.f0" class="footnote">1</a>]</sup>
</p>
<p>
are used to move φ   to the range [0, π/2].
@@ -298,7 +297,7 @@
</p>
<div class="footnotes">
<br><hr width="100" align="left">
-<div class="footnote"><p><sup>[<a id="ftn.id1308635" href="#id1308635" class="para">1</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.special.ellint.ellint_3.f0" href="#math_toolkit.special.ellint.ellint_3.f0" class="para">1</a>] </sup>
I haven't been able to find a literature reference for this relation,
but it appears to be the convention used by Mathematica. Intuitively
the first <span class="emphasis"><em>2 * m * Π(n, k)</em></span> terms cancel out as the
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_carlson.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_carlson.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_carlson.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.ellint.ellint_carlson"></a><a class="link" href="ellint_carlson.html" title="Elliptic Integrals - Carlson Form">Elliptic
Integrals - Carlson Form</a>
</h4></div></div></div>
-<a name="math_toolkit.special.ellint.ellint_carlson.synopsis"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_carlson.synopsis-heading"></a>
- <a class="link" href="ellint_carlson.html#math_toolkit.special.ellint.ellint_carlson.synopsis">Synopsis</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_carlson.h0"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_carlson.synopsis"></a></span><a class="link" href="ellint_carlson.html#math_toolkit.special.ellint.ellint_carlson.synopsis">Synopsis</a>
</h6>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">ellint_rf</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -49,7 +48,6 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">ellint_rd</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -66,7 +64,6 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">ellint_rj</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -83,7 +80,6 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">ellint_rc</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -99,9 +95,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.ellint.ellint_carlson.description"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_carlson.description-heading"></a>
- <a class="link" href="ellint_carlson.html#math_toolkit.special.ellint.ellint_carlson.description">Description</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_carlson.h1"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_carlson.description"></a></span><a class="link" href="ellint_carlson.html#math_toolkit.special.ellint.ellint_carlson.description">Description</a>
</h6>
<p>
These functions return Carlson's symmetrical elliptic integrals, the functions
@@ -215,9 +211,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../equations/ellint18.png"></span>
</p>
-<a name="math_toolkit.special.ellint.ellint_carlson.testing"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_carlson.testing-heading"></a>
- <a class="link" href="ellint_carlson.html#math_toolkit.special.ellint.ellint_carlson.testing">Testing</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_carlson.h2"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_carlson.testing"></a></span><a class="link" href="ellint_carlson.html#math_toolkit.special.ellint.ellint_carlson.testing">Testing</a>
</h6>
<p>
There are two sets of tests.
@@ -238,9 +234,9 @@
There are also sanity checks that use the inter-relations between the integrals
to verify their correctness: see the above Carlson paper for details.
</p>
-<a name="math_toolkit.special.ellint.ellint_carlson.accuracy"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_carlson.accuracy-heading"></a>
- <a class="link" href="ellint_carlson.html#math_toolkit.special.ellint.ellint_carlson.accuracy">Accuracy</a>
+<h6>
+<a name="math_toolkit.special.ellint.ellint_carlson.h3"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_carlson.accuracy"></a></span><a class="link" href="ellint_carlson.html#math_toolkit.special.ellint.ellint_carlson.accuracy">Accuracy</a>
</h6>
<p>
These functions are computed using only basic arithmetic operations, so
@@ -392,9 +388,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.special.ellint.ellint_carlson.implementation"></a><h6>
-<a name="math_toolkit.special.ellint.ellint_carlson.implementation-heading"></a>
- <a class="link" href="ellint_carlson.html#math_toolkit.special.ellint.ellint_carlson.implementation">Implementation</a>
+<br class="table-break"><h6>
+<a name="math_toolkit.special.ellint.ellint_carlson.h4"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_carlson.implementation"></a></span><a class="link" href="ellint_carlson.html#math_toolkit.special.ellint.ellint_carlson.implementation">Implementation</a>
</h6>
<p>
The key of Carlson's algorithm [<a class="link" href="ellint_intro.html#ellint_ref_carlson79">Carlson79</a>]
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_intro.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_intro.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/ellint/ellint_intro.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -48,16 +48,16 @@
As does <a href="http://en.wikipedia.org/wiki/Elliptic_integral" target="_top">Wikipedia
Elliptic integral</a>.
</p>
-<a name="math_toolkit.special.ellint.ellint_intro.notation"></a><h5>
-<a name="math_toolkit.special.ellint.ellint_intro.notation-heading"></a>
- <a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro.notation">Notation</a>
+<h5>
+<a name="math_toolkit.special.ellint.ellint_intro.h0"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_intro.notation"></a></span><a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro.notation">Notation</a>
</h5>
<p>
All variables are real numbers unless otherwise noted.
</p>
-<a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_def___definition"></a><h5>
-<a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_def___definition-heading"></a>
- <a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_def___definition"><a name="ellint_def"></a>Definition</a>
+<h5>
+<a name="math_toolkit.special.ellint.ellint_intro.h1"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_def___definition"></a></span><a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_def___definition"><a name="ellint_def"></a>Definition</a>
</h5>
<p>
<span class="inlinemediaobject"><img src="../../../../equations/ellint1.png"></span>
@@ -244,9 +244,9 @@
</p>
</td></tr>
</table></div>
-<a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_theorem___duplication_theorem"></a><h5>
-<a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_theorem___duplication_theorem-heading"></a>
- <a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_theorem___duplication_theorem"><a name="ellint_theorem"></a>Duplication Theorem</a>
+<h5>
+<a name="math_toolkit.special.ellint.ellint_intro.h2"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_theorem___duplication_theorem"></a></span><a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_theorem___duplication_theorem"><a name="ellint_theorem"></a>Duplication Theorem</a>
</h5>
<p>
Carlson proved in [<a class="link" href="ellint_intro.html#ellint_ref_carlson78">Carlson78</a>]
@@ -255,9 +255,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../equations/ellint13.png"></span>
</p>
-<a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_formula___carlson_s_formulas"></a><h5>
-<a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_formula___carlson_s_formulas-heading"></a>
- <a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_formula___carlson_s_formulas"><a name="ellint_formula"></a>Carlson's Formulas</a>
+<h5>
+<a name="math_toolkit.special.ellint.ellint_intro.h3"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_formula___carlson_s_formulas"></a></span><a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_formula___carlson_s_formulas"><a name="ellint_formula"></a>Carlson's Formulas</a>
</h5>
<p>
The Legendre form and Carlson form of elliptic integrals are related by
@@ -272,9 +272,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../equations/ellint15.png"></span>
</p>
-<a name="math_toolkit.special.ellint.ellint_intro.numerical_algorithms"></a><h5>
-<a name="math_toolkit.special.ellint.ellint_intro.numerical_algorithms-heading"></a>
- <a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro.numerical_algorithms">Numerical
+<h5>
+<a name="math_toolkit.special.ellint.ellint_intro.h4"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_intro.numerical_algorithms"></a></span><a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro.numerical_algorithms">Numerical
Algorithms</a>
</h5>
<p>
@@ -286,9 +286,9 @@
by contrast, provides a unified method for all three kinds of elliptic
integrals with satisfactory precisions.
</p>
-<a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_refs___references"></a><h5>
-<a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_refs___references-heading"></a>
- <a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_refs___references"><a name="ellint_refs"></a>References</a>
+<h5>
+<a name="math_toolkit.special.ellint.ellint_intro.h5"></a>
+ <span><a name="math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_refs___references"></a></span><a class="link" href="ellint_intro.html#math_toolkit.special.ellint.ellint_intro._anchor_id__ellint_refs___references"><a name="ellint_refs"></a>References</a>
</h5>
<p>
Special mention goes to:
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/expint/expint_i.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/expint/expint_i.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/expint/expint_i.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.expint.expint_i"></a><a class="link" href="expint_i.html" title="Exponential Integral Ei">Exponential Integral
Ei</a>
</h4></div></div></div>
-<a name="math_toolkit.special.expint.expint_i.synopsis"></a><h5>
-<a name="math_toolkit.special.expint.expint_i.synopsis-heading"></a>
- <a class="link" href="expint_i.html#math_toolkit.special.expint.expint_i.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.expint.expint_i.h0"></a>
+ <span><a name="math_toolkit.special.expint.expint_i.synopsis"></a></span><a class="link" href="expint_i.html#math_toolkit.special.expint.expint_i.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">expint</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -57,9 +56,9 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.expint.expint_i.description"></a><h5>
-<a name="math_toolkit.special.expint.expint_i.description-heading"></a>
- <a class="link" href="expint_i.html#math_toolkit.special.expint.expint_i.description">Description</a>
+<h5>
+<a name="math_toolkit.special.expint.expint_i.h1"></a>
+ <span><a name="math_toolkit.special.expint.expint_i.description"></a></span><a class="link" href="expint_i.html#math_toolkit.special.expint.expint_i.description">Description</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">expint</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">z</span><span class="special">);</span>
@@ -77,9 +76,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/expint_i.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.expint.expint_i.accuracy"></a><h5>
-<a name="math_toolkit.special.expint.expint_i.accuracy-heading"></a>
- <a class="link" href="expint_i.html#math_toolkit.special.expint.expint_i.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.expint.expint_i.h2"></a>
+ <span><a name="math_toolkit.special.expint.expint_i.accuracy"></a></span><a class="link" href="expint_i.html#math_toolkit.special.expint.expint_i.accuracy">Accuracy</a>
</h5>
<p>
The following table shows the peak errors (in units of epsilon) found on
@@ -201,9 +200,9 @@
SPECFUN along with this implementation increase their error rates very
slightly over the range [4,6].
</p>
-<a name="math_toolkit.special.expint.expint_i.testing"></a><h5>
-<a name="math_toolkit.special.expint.expint_i.testing-heading"></a>
- <a class="link" href="expint_i.html#math_toolkit.special.expint.expint_i.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.expint.expint_i.h3"></a>
+ <span><a name="math_toolkit.special.expint.expint_i.testing"></a></span><a class="link" href="expint_i.html#math_toolkit.special.expint.expint_i.testing">Testing</a>
</h5>
<p>
The tests for these functions come in two parts: basic sanity checks use
@@ -216,9 +215,9 @@
"known good" implementations also provides an additional sanity
check.
</p>
-<a name="math_toolkit.special.expint.expint_i.implementation"></a><h5>
-<a name="math_toolkit.special.expint.expint_i.implementation-heading"></a>
- <a class="link" href="expint_i.html#math_toolkit.special.expint.expint_i.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.expint.expint_i.h4"></a>
+ <span><a name="math_toolkit.special.expint.expint_i.implementation"></a></span><a class="link" href="expint_i.html#math_toolkit.special.expint.expint_i.implementation">Implementation</a>
</h5>
<p>
For x < 0 this function just calls <a class="link" href="expint_n.html" title="Exponential Integral En">zeta</a>(1,
@@ -247,7 +246,7 @@
a minimax rational approximation rescaled so that it is evaluated over
[-1,1]. Note that while the rational approximation over [0,6] converges
rapidly to the minimax solution it is rather ill-conditioned in practice.
- Cody and Thacher <sup>[<a name="id1312639" href="#ftn.id1312639" class="footnote">2</a>]</sup> experienced the same issue and converted the polynomials into
+ Cody and Thacher <sup>[<a name="math_toolkit.special.expint.expint_i.f0" href="#ftn.math_toolkit.special.expint.expint_i.f0" class="footnote">2</a>]</sup> experienced the same issue and converted the polynomials into
Chebeshev form to ensure stable computation. By experiment we found that
the polynomials are just as stable in polynomial as Chebyshev form, <span class="emphasis"><em>provided</em></span>
they are computed over the interval [-1,1].
@@ -277,7 +276,7 @@
</p>
<div class="footnotes">
<br><hr width="100" align="left">
-<div class="footnote"><p><sup>[<a id="ftn.id1312639" href="#id1312639" class="para">2</a>] </sup>
+<div class="footnote"><p><sup>[<a id="ftn.math_toolkit.special.expint.expint_i.f0" href="#math_toolkit.special.expint.expint_i.f0" class="para">2</a>] </sup>
W. J. Cody and H. C. Thacher, Jr., Rational Chebyshev approximations
for the exponential integral E<sub>1</sub>(x), Math. Comp. 22 (1968), 641-649, and
W. J. Cody and H. C. Thacher, Jr., Chebyshev approximations for the exponential
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/expint/expint_n.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/expint/expint_n.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/expint/expint_n.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.expint.expint_n"></a><a class="link" href="expint_n.html" title="Exponential Integral En">Exponential Integral
En</a>
</h4></div></div></div>
-<a name="math_toolkit.special.expint.expint_n.synopsis"></a><h5>
-<a name="math_toolkit.special.expint.expint_n.synopsis-heading"></a>
- <a class="link" href="expint_n.html#math_toolkit.special.expint.expint_n.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.expint.expint_n.h0"></a>
+ <span><a name="math_toolkit.special.expint.expint_n.synopsis"></a></span><a class="link" href="expint_n.html#math_toolkit.special.expint.expint_n.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">expint</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -57,9 +56,9 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.expint.expint_n.description"></a><h5>
-<a name="math_toolkit.special.expint.expint_n.description-heading"></a>
- <a class="link" href="expint_n.html#math_toolkit.special.expint.expint_n.description">Description</a>
+<h5>
+<a name="math_toolkit.special.expint.expint_n.h1"></a>
+ <span><a name="math_toolkit.special.expint.expint_n.description"></a></span><a class="link" href="expint_n.html#math_toolkit.special.expint.expint_n.description">Description</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">expint</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="identifier">T</span> <span class="identifier">z</span><span class="special">);</span>
@@ -77,9 +76,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/expint2.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.expint.expint_n.accuracy"></a><h5>
-<a name="math_toolkit.special.expint.expint_n.accuracy-heading"></a>
- <a class="link" href="expint_n.html#math_toolkit.special.expint.expint_n.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.expint.expint_n.h2"></a>
+ <span><a name="math_toolkit.special.expint.expint_n.accuracy"></a></span><a class="link" href="expint_n.html#math_toolkit.special.expint.expint_n.accuracy">Accuracy</a>
</h5>
<p>
The following table shows the peak errors (in units of epsilon) found on
@@ -219,9 +218,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.special.expint.expint_n.testing"></a><h5>
-<a name="math_toolkit.special.expint.expint_n.testing-heading"></a>
- <a class="link" href="expint_n.html#math_toolkit.special.expint.expint_n.testing">Testing</a>
+<br class="table-break"><h5>
+<a name="math_toolkit.special.expint.expint_n.h3"></a>
+ <span><a name="math_toolkit.special.expint.expint_n.testing"></a></span><a class="link" href="expint_n.html#math_toolkit.special.expint.expint_n.testing">Testing</a>
</h5>
<p>
The tests for these functions come in two parts: basic sanity checks use
@@ -234,9 +233,9 @@
"known good" implementations also provides an additional sanity
check.
</p>
-<a name="math_toolkit.special.expint.expint_n.implementation"></a><h5>
-<a name="math_toolkit.special.expint.expint_n.implementation-heading"></a>
- <a class="link" href="expint_n.html#math_toolkit.special.expint.expint_n.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.expint.expint_n.h4"></a>
+ <span><a name="math_toolkit.special.expint.expint_n.implementation"></a></span><a class="link" href="expint_n.html#math_toolkit.special.expint.expint_n.implementation">Implementation</a>
</h5>
<p>
The generic version of this function uses the continued fraction:
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_binomial.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_binomial.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_binomial.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,7 +28,6 @@
Coefficients</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">binomial</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -89,25 +88,25 @@
</p>
</td></tr>
</table></div>
-<a name="math_toolkit.special.factorials.sf_binomial.accuracy"></a><h5>
-<a name="math_toolkit.special.factorials.sf_binomial.accuracy-heading"></a>
- <a class="link" href="sf_binomial.html#math_toolkit.special.factorials.sf_binomial.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_binomial.h0"></a>
+ <span><a name="math_toolkit.special.factorials.sf_binomial.accuracy"></a></span><a class="link" href="sf_binomial.html#math_toolkit.special.factorials.sf_binomial.accuracy">Accuracy</a>
</h5>
<p>
The accuracy will be the same as for the factorials for small arguments
(i.e. no more than one or two epsilon), and the <a class="link" href="../sf_beta/beta_function.html" title="Beta">beta</a>
function for larger arguments.
</p>
-<a name="math_toolkit.special.factorials.sf_binomial.testing"></a><h5>
-<a name="math_toolkit.special.factorials.sf_binomial.testing-heading"></a>
- <a class="link" href="sf_binomial.html#math_toolkit.special.factorials.sf_binomial.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_binomial.h1"></a>
+ <span><a name="math_toolkit.special.factorials.sf_binomial.testing"></a></span><a class="link" href="sf_binomial.html#math_toolkit.special.factorials.sf_binomial.testing">Testing</a>
</h5>
<p>
The spot tests for the binomial coefficients use data generated by functions.wolfram.com.
</p>
-<a name="math_toolkit.special.factorials.sf_binomial.implementation"></a><h5>
-<a name="math_toolkit.special.factorials.sf_binomial.implementation-heading"></a>
- <a class="link" href="sf_binomial.html#math_toolkit.special.factorials.sf_binomial.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_binomial.h2"></a>
+ <span><a name="math_toolkit.special.factorials.sf_binomial.implementation"></a></span><a class="link" href="sf_binomial.html#math_toolkit.special.factorials.sf_binomial.implementation">Implementation</a>
</h5>
<p>
Binomial coefficients are calculated using table lookup of factorials where
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_double_factorial.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_double_factorial.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_double_factorial.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,7 +28,6 @@
Factorial</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">factorials</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -91,7 +90,6 @@
and comment just after the will be:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">BOOST_STATIC_ASSERT</span><span class="special">(!</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_integral</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">value</span><span class="special">);</span>
<span class="comment">// factorial<unsigned int>(n) is not implemented</span>
@@ -105,24 +103,24 @@
</p>
</td></tr>
</table></div>
-<a name="math_toolkit.special.factorials.sf_double_factorial.accuracy"></a><h5>
-<a name="math_toolkit.special.factorials.sf_double_factorial.accuracy-heading"></a>
- <a class="link" href="sf_double_factorial.html#math_toolkit.special.factorials.sf_double_factorial.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_double_factorial.h0"></a>
+ <span><a name="math_toolkit.special.factorials.sf_double_factorial.accuracy"></a></span><a class="link" href="sf_double_factorial.html#math_toolkit.special.factorials.sf_double_factorial.accuracy">Accuracy</a>
</h5>
<p>
The implementation uses a trivial adaptation of the factorial function,
so error rates should be no more than a couple of epsilon higher.
</p>
-<a name="math_toolkit.special.factorials.sf_double_factorial.testing"></a><h5>
-<a name="math_toolkit.special.factorials.sf_double_factorial.testing-heading"></a>
- <a class="link" href="sf_double_factorial.html#math_toolkit.special.factorials.sf_double_factorial.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_double_factorial.h1"></a>
+ <span><a name="math_toolkit.special.factorials.sf_double_factorial.testing"></a></span><a class="link" href="sf_double_factorial.html#math_toolkit.special.factorials.sf_double_factorial.testing">Testing</a>
</h5>
<p>
The spot tests for the double factorial use data generated by functions.wolfram.com.
</p>
-<a name="math_toolkit.special.factorials.sf_double_factorial.implementation"></a><h5>
-<a name="math_toolkit.special.factorials.sf_double_factorial.implementation-heading"></a>
- <a class="link" href="sf_double_factorial.html#math_toolkit.special.factorials.sf_double_factorial.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_double_factorial.h2"></a>
+ <span><a name="math_toolkit.special.factorials.sf_double_factorial.implementation"></a></span><a class="link" href="sf_double_factorial.html#math_toolkit.special.factorials.sf_double_factorial.implementation">Implementation</a>
</h5>
<p>
The double factorial is implemented in terms of the factorial and gamma
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_factorial.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_factorial.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_factorial.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,12 +26,11 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.special.factorials.sf_factorial"></a><a class="link" href="sf_factorial.html" title="Factorial">Factorial</a>
</h4></div></div></div>
-<a name="math_toolkit.special.factorials.sf_factorial.synopsis"></a><h5>
-<a name="math_toolkit.special.factorials.sf_factorial.synopsis-heading"></a>
- <a class="link" href="sf_factorial.html#math_toolkit.special.factorials.sf_factorial.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_factorial.h0"></a>
+ <span><a name="math_toolkit.special.factorials.sf_factorial.synopsis"></a></span><a class="link" href="sf_factorial.html#math_toolkit.special.factorials.sf_factorial.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">factorials</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -53,9 +52,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.factorials.sf_factorial.description"></a><h5>
-<a name="math_toolkit.special.factorials.sf_factorial.description-heading"></a>
- <a class="link" href="sf_factorial.html#math_toolkit.special.factorials.sf_factorial.description">Description</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_factorial.h1"></a>
+ <span><a name="math_toolkit.special.factorials.sf_factorial.description"></a></span><a class="link" href="sf_factorial.html#math_toolkit.special.factorials.sf_factorial.description">Description</a>
</h5>
<div class="important"><table border="0" summary="Important">
<tr>
@@ -93,7 +92,6 @@
and comment just after the will be:
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">BOOST_STATIC_ASSERT</span><span class="special">(!</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_integral</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">value</span><span class="special">);</span>
<span class="comment">// factorial<unsigned int>(n) is not implemented</span>
@@ -156,27 +154,27 @@
used where integral constant expressions are required: for example to define
the size of further tables that depend on the factorials.
</p>
-<a name="math_toolkit.special.factorials.sf_factorial.accuracy"></a><h5>
-<a name="math_toolkit.special.factorials.sf_factorial.accuracy-heading"></a>
- <a class="link" href="sf_factorial.html#math_toolkit.special.factorials.sf_factorial.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_factorial.h2"></a>
+ <span><a name="math_toolkit.special.factorials.sf_factorial.accuracy"></a></span><a class="link" href="sf_factorial.html#math_toolkit.special.factorials.sf_factorial.accuracy">Accuracy</a>
</h5>
<p>
For arguments smaller than <code class="computeroutput"><span class="identifier">max_factorial</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">value</span></code>
the result should be correctly rounded. For larger arguments the accuracy
will be the same as for <a class="link" href="../sf_gamma/tgamma.html" title="Gamma">tgamma</a>.
</p>
-<a name="math_toolkit.special.factorials.sf_factorial.testing"></a><h5>
-<a name="math_toolkit.special.factorials.sf_factorial.testing-heading"></a>
- <a class="link" href="sf_factorial.html#math_toolkit.special.factorials.sf_factorial.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_factorial.h3"></a>
+ <span><a name="math_toolkit.special.factorials.sf_factorial.testing"></a></span><a class="link" href="sf_factorial.html#math_toolkit.special.factorials.sf_factorial.testing">Testing</a>
</h5>
<p>
Basic sanity checks and spot values to verify the data tables: the main
tests for the <a class="link" href="../sf_gamma/tgamma.html" title="Gamma">tgamma</a>
function handle those cases already.
</p>
-<a name="math_toolkit.special.factorials.sf_factorial.implementation"></a><h5>
-<a name="math_toolkit.special.factorials.sf_factorial.implementation-heading"></a>
- <a class="link" href="sf_factorial.html#math_toolkit.special.factorials.sf_factorial.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_factorial.h4"></a>
+ <span><a name="math_toolkit.special.factorials.sf_factorial.implementation"></a></span><a class="link" href="sf_factorial.html#math_toolkit.special.factorials.sf_factorial.implementation">Implementation</a>
</h5>
<p>
The factorial function is table driven for small arguments, and is implemented
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_falling_factorial.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_falling_factorial.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_falling_factorial.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,7 +28,6 @@
Factorial</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">factorials</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -70,24 +69,24 @@
type calculation rules</em></span></a>: the type of the result is <code class="computeroutput"><span class="keyword">double</span></code> if T is an integer type, otherwise
the type of the result is T.
</p>
-<a name="math_toolkit.special.factorials.sf_falling_factorial.accuracy"></a><h5>
-<a name="math_toolkit.special.factorials.sf_falling_factorial.accuracy-heading"></a>
- <a class="link" href="sf_falling_factorial.html#math_toolkit.special.factorials.sf_falling_factorial.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_falling_factorial.h0"></a>
+ <span><a name="math_toolkit.special.factorials.sf_falling_factorial.accuracy"></a></span><a class="link" href="sf_falling_factorial.html#math_toolkit.special.factorials.sf_falling_factorial.accuracy">Accuracy</a>
</h5>
<p>
The accuracy will be the same as the <a class="link" href="../sf_gamma/gamma_ratios.html" title="Ratios of Gamma Functions">tgamma_delta_ratio</a>
function.
</p>
-<a name="math_toolkit.special.factorials.sf_falling_factorial.testing"></a><h5>
-<a name="math_toolkit.special.factorials.sf_falling_factorial.testing-heading"></a>
- <a class="link" href="sf_falling_factorial.html#math_toolkit.special.factorials.sf_falling_factorial.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_falling_factorial.h1"></a>
+ <span><a name="math_toolkit.special.factorials.sf_falling_factorial.testing"></a></span><a class="link" href="sf_falling_factorial.html#math_toolkit.special.factorials.sf_falling_factorial.testing">Testing</a>
</h5>
<p>
The spot tests for the falling factorials use data generated by functions.wolfram.com.
</p>
-<a name="math_toolkit.special.factorials.sf_falling_factorial.implementation"></a><h5>
-<a name="math_toolkit.special.factorials.sf_falling_factorial.implementation-heading"></a>
- <a class="link" href="sf_falling_factorial.html#math_toolkit.special.factorials.sf_falling_factorial.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_falling_factorial.h2"></a>
+ <span><a name="math_toolkit.special.factorials.sf_falling_factorial.implementation"></a></span><a class="link" href="sf_falling_factorial.html#math_toolkit.special.factorials.sf_falling_factorial.implementation">Implementation</a>
</h5>
<p>
Rising and falling factorials are implemented as ratios of gamma functions
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_rising_factorial.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_rising_factorial.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/factorials/sf_rising_factorial.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,7 +28,6 @@
Factorial</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">factorials</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -74,24 +73,24 @@
type calculation rules</em></span></a>: the type of the result is <code class="computeroutput"><span class="keyword">double</span></code> if T is an integer type, otherwise
the type of the result is T.
</p>
-<a name="math_toolkit.special.factorials.sf_rising_factorial.accuracy"></a><h5>
-<a name="math_toolkit.special.factorials.sf_rising_factorial.accuracy-heading"></a>
- <a class="link" href="sf_rising_factorial.html#math_toolkit.special.factorials.sf_rising_factorial.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_rising_factorial.h0"></a>
+ <span><a name="math_toolkit.special.factorials.sf_rising_factorial.accuracy"></a></span><a class="link" href="sf_rising_factorial.html#math_toolkit.special.factorials.sf_rising_factorial.accuracy">Accuracy</a>
</h5>
<p>
The accuracy will be the same as the <a class="link" href="../sf_gamma/gamma_ratios.html" title="Ratios of Gamma Functions">tgamma_delta_ratio</a>
function.
</p>
-<a name="math_toolkit.special.factorials.sf_rising_factorial.testing"></a><h5>
-<a name="math_toolkit.special.factorials.sf_rising_factorial.testing-heading"></a>
- <a class="link" href="sf_rising_factorial.html#math_toolkit.special.factorials.sf_rising_factorial.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_rising_factorial.h1"></a>
+ <span><a name="math_toolkit.special.factorials.sf_rising_factorial.testing"></a></span><a class="link" href="sf_rising_factorial.html#math_toolkit.special.factorials.sf_rising_factorial.testing">Testing</a>
</h5>
<p>
The spot tests for the rising factorials use data generated by functions.wolfram.com.
</p>
-<a name="math_toolkit.special.factorials.sf_rising_factorial.implementation"></a><h5>
-<a name="math_toolkit.special.factorials.sf_rising_factorial.implementation-heading"></a>
- <a class="link" href="sf_rising_factorial.html#math_toolkit.special.factorials.sf_rising_factorial.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.factorials.sf_rising_factorial.h2"></a>
+ <span><a name="math_toolkit.special.factorials.sf_rising_factorial.implementation"></a></span><a class="link" href="sf_rising_factorial.html#math_toolkit.special.factorials.sf_rising_factorial.implementation">Implementation</a>
</h5>
<p>
Rising and falling factorials are implemented as ratios of gamma functions
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/acosh.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/acosh.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/acosh.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,16 +27,15 @@
<a name="math_toolkit.special.inv_hyper.acosh"></a><a class="link" href="acosh.html" title="acosh">acosh</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">acosh</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
+<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">acosh</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">);</span>
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">acosh</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
<p>
@@ -61,16 +60,16 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/acosh.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.inv_hyper.acosh.accuracy"></a><h5>
-<a name="math_toolkit.special.inv_hyper.acosh.accuracy-heading"></a>
- <a class="link" href="acosh.html#math_toolkit.special.inv_hyper.acosh.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.inv_hyper.acosh.h0"></a>
+ <span><a name="math_toolkit.special.inv_hyper.acosh.accuracy"></a></span><a class="link" href="acosh.html#math_toolkit.special.inv_hyper.acosh.accuracy">Accuracy</a>
</h5>
<p>
Generally accuracy is to within 1 or 2 epsilon across all supported platforms.
</p>
-<a name="math_toolkit.special.inv_hyper.acosh.testing"></a><h5>
-<a name="math_toolkit.special.inv_hyper.acosh.testing-heading"></a>
- <a class="link" href="acosh.html#math_toolkit.special.inv_hyper.acosh.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.inv_hyper.acosh.h1"></a>
+ <span><a name="math_toolkit.special.inv_hyper.acosh.testing"></a></span><a class="link" href="acosh.html#math_toolkit.special.inv_hyper.acosh.testing">Testing</a>
</h5>
<p>
This function is tested using a combination of random test values designed
@@ -84,9 +83,9 @@
along with a selection of sanity check values computed using functions.wolfram.com
to at least 50 decimal digits.
</p>
-<a name="math_toolkit.special.inv_hyper.acosh.implementation"></a><h5>
-<a name="math_toolkit.special.inv_hyper.acosh.implementation-heading"></a>
- <a class="link" href="acosh.html#math_toolkit.special.inv_hyper.acosh.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.inv_hyper.acosh.h2"></a>
+ <span><a name="math_toolkit.special.inv_hyper.acosh.implementation"></a></span><a class="link" href="acosh.html#math_toolkit.special.inv_hyper.acosh.implementation">Implementation</a>
</h5>
<p>
For sufficiently large x, we can use the approximation:
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/asinh.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/asinh.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/asinh.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,16 +27,15 @@
<a name="math_toolkit.special.inv_hyper.asinh"></a><a class="link" href="asinh.html" title="asinh">asinh</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">asinh</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
+<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">asinh</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">);</span>
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">asinh</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
<p>
@@ -56,16 +55,16 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.inv_hyper.asinh.accuracy"></a><h5>
-<a name="math_toolkit.special.inv_hyper.asinh.accuracy-heading"></a>
- <a class="link" href="asinh.html#math_toolkit.special.inv_hyper.asinh.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.inv_hyper.asinh.h0"></a>
+ <span><a name="math_toolkit.special.inv_hyper.asinh.accuracy"></a></span><a class="link" href="asinh.html#math_toolkit.special.inv_hyper.asinh.accuracy">Accuracy</a>
</h5>
<p>
Generally accuracy is to within 1 or 2 epsilon across all supported platforms.
</p>
-<a name="math_toolkit.special.inv_hyper.asinh.testing"></a><h5>
-<a name="math_toolkit.special.inv_hyper.asinh.testing-heading"></a>
- <a class="link" href="asinh.html#math_toolkit.special.inv_hyper.asinh.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.inv_hyper.asinh.h1"></a>
+ <span><a name="math_toolkit.special.inv_hyper.asinh.testing"></a></span><a class="link" href="asinh.html#math_toolkit.special.inv_hyper.asinh.testing">Testing</a>
</h5>
<p>
This function is tested using a combination of random test values designed
@@ -79,9 +78,9 @@
along with a selection of sanity check values computed using functions.wolfram.com
to at least 50 decimal digits.
</p>
-<a name="math_toolkit.special.inv_hyper.asinh.implementation"></a><h5>
-<a name="math_toolkit.special.inv_hyper.asinh.implementation-heading"></a>
- <a class="link" href="asinh.html#math_toolkit.special.inv_hyper.asinh.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.inv_hyper.asinh.h2"></a>
+ <span><a name="math_toolkit.special.inv_hyper.asinh.implementation"></a></span><a class="link" href="asinh.html#math_toolkit.special.inv_hyper.asinh.implementation">Implementation</a>
</h5>
<p>
For sufficiently large x we can use the approximation:
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/atanh.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/atanh.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/inv_hyper/atanh.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,16 +27,15 @@
<a name="math_toolkit.special.inv_hyper.atanh"></a><a class="link" href="atanh.html" title="atanh">atanh</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">atanh</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
+<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">atanh</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">);</span>
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">atanh</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
<p>
@@ -70,16 +69,16 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/atanh.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.inv_hyper.atanh.accuracy"></a><h5>
-<a name="math_toolkit.special.inv_hyper.atanh.accuracy-heading"></a>
- <a class="link" href="atanh.html#math_toolkit.special.inv_hyper.atanh.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.inv_hyper.atanh.h0"></a>
+ <span><a name="math_toolkit.special.inv_hyper.atanh.accuracy"></a></span><a class="link" href="atanh.html#math_toolkit.special.inv_hyper.atanh.accuracy">Accuracy</a>
</h5>
<p>
Generally accuracy is to within 1 or 2 epsilon across all supported platforms.
</p>
-<a name="math_toolkit.special.inv_hyper.atanh.testing"></a><h5>
-<a name="math_toolkit.special.inv_hyper.atanh.testing-heading"></a>
- <a class="link" href="atanh.html#math_toolkit.special.inv_hyper.atanh.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.inv_hyper.atanh.h1"></a>
+ <span><a name="math_toolkit.special.inv_hyper.atanh.testing"></a></span><a class="link" href="atanh.html#math_toolkit.special.inv_hyper.atanh.testing">Testing</a>
</h5>
<p>
This function is tested using a combination of random test values designed
@@ -93,9 +92,9 @@
along with a selection of sanity check values computed using functions.wolfram.com
to at least 50 decimal digits.
</p>
-<a name="math_toolkit.special.inv_hyper.atanh.implementation"></a><h5>
-<a name="math_toolkit.special.inv_hyper.atanh.implementation-heading"></a>
- <a class="link" href="atanh.html#math_toolkit.special.inv_hyper.atanh.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.inv_hyper.atanh.h2"></a>
+ <span><a name="math_toolkit.special.inv_hyper.atanh.implementation"></a></span><a class="link" href="atanh.html#math_toolkit.special.inv_hyper.atanh.implementation">Implementation</a>
</h5>
<p>
For sufficiently small x we can use the approximation:
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/cbrt.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/cbrt.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/cbrt.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,7 +27,6 @@
<a name="math_toolkit.special.powers.cbrt"></a><a class="link" href="cbrt.html" title="cbrt">cbrt</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">cbrt</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -65,17 +64,17 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/cbrt.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.powers.cbrt.accuracy"></a><h5>
-<a name="math_toolkit.special.powers.cbrt.accuracy-heading"></a>
- <a class="link" href="cbrt.html#math_toolkit.special.powers.cbrt.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.powers.cbrt.h0"></a>
+ <span><a name="math_toolkit.special.powers.cbrt.accuracy"></a></span><a class="link" href="cbrt.html#math_toolkit.special.powers.cbrt.accuracy">Accuracy</a>
</h5>
<p>
For built in floating-point types <code class="computeroutput"><span class="identifier">cbrt</span></code>
should have approximately 2 epsilon accuracy.
</p>
-<a name="math_toolkit.special.powers.cbrt.testing"></a><h5>
-<a name="math_toolkit.special.powers.cbrt.testing-heading"></a>
- <a class="link" href="cbrt.html#math_toolkit.special.powers.cbrt.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.powers.cbrt.h1"></a>
+ <span><a name="math_toolkit.special.powers.cbrt.testing"></a></span><a class="link" href="cbrt.html#math_toolkit.special.powers.cbrt.testing">Testing</a>
</h5>
<p>
A mixture of spot test sanity checks, and random high precision test values
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/ct_pow.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/ct_pow.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/ct_pow.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -31,9 +31,9 @@
The <code class="computeroutput"><span class="identifier">pow</span></code> function effectively
computes the compile-time integral power of a run-time base.
</p>
-<a name="math_toolkit.special.powers.ct_pow.synopsis"></a><h5>
-<a name="math_toolkit.special.powers.ct_pow.synopsis-heading"></a>
- <a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.powers.ct_pow.h0"></a>
+ <span><a name="math_toolkit.special.powers.ct_pow.synopsis"></a></span><a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.synopsis">Synopsis</a>
</h5>
<p>
<a href="../../../../../../../../boost/math/special_functions/pow.hpp" target="_top"><code class="computeroutput"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">pow</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a>
@@ -48,9 +48,9 @@
<span class="special">}}</span>
</pre>
-<a name="math_toolkit.special.powers.ct_pow.rationale_and_usage"></a><h5>
-<a name="math_toolkit.special.powers.ct_pow.rationale_and_usage-heading"></a>
- <a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.rationale_and_usage">Rationale
+<h5>
+<a name="math_toolkit.special.powers.ct_pow.h1"></a>
+ <span><a name="math_toolkit.special.powers.ct_pow.rationale_and_usage"></a></span><a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.rationale_and_usage">Rationale
and Usage</a>
</h5>
<p>
@@ -90,9 +90,10 @@
<p>
Only 3 different products were actually computed.
</p>
-<a name="math_toolkit.special.powers.ct_pow.return_type"></a><h5>
-<a name="math_toolkit.special.powers.ct_pow.return_type-heading"></a>
- <a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.return_type">Return Type</a>
+<h5>
+<a name="math_toolkit.special.powers.ct_pow.h2"></a>
+ <span><a name="math_toolkit.special.powers.ct_pow.return_type"></a></span><a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.return_type">Return
+ Type</a>
</h5>
<p>
The return type of these functions is computed using the <a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>result
@@ -111,18 +112,18 @@
Otherwise, the return type is a <code class="computeroutput"><span class="keyword">double</span></code>.
</li>
</ul></div>
-<a name="math_toolkit.special.powers.ct_pow.policies"></a><h5>
-<a name="math_toolkit.special.powers.ct_pow.policies-heading"></a>
- <a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.policies">Policies</a>
+<h5>
+<a name="math_toolkit.special.powers.ct_pow.h3"></a>
+ <span><a name="math_toolkit.special.powers.ct_pow.policies"></a></span><a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.policies">Policies</a>
</h5>
<p>
The final <a class="link" href="../../policy.html" title="Policies">Policy</a> argument is
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.powers.ct_pow.error_handling"></a><h5>
-<a name="math_toolkit.special.powers.ct_pow.error_handling-heading"></a>
- <a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.error_handling">Error
+<h5>
+<a name="math_toolkit.special.powers.ct_pow.h4"></a>
+ <span><a name="math_toolkit.special.powers.ct_pow.error_handling"></a></span><a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.error_handling">Error
Handling</a>
</h5>
<p>
@@ -226,9 +227,9 @@
<span class="keyword">double</span> <span class="identifier">result</span> <span class="special">=</span> <span class="identifier">pow</span><span class="special"><-</span><span class="number">5</span><span class="special">>(</span><span class="identifier">base</span><span class="special">);</span>
</pre>
-<a name="math_toolkit.special.powers.ct_pow.acknowledgements"></a><h5>
-<a name="math_toolkit.special.powers.ct_pow.acknowledgements-heading"></a>
- <a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.acknowledgements">Acknowledgements</a>
+<h5>
+<a name="math_toolkit.special.powers.ct_pow.h5"></a>
+ <span><a name="math_toolkit.special.powers.ct_pow.acknowledgements"></a></span><a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.acknowledgements">Acknowledgements</a>
</h5>
<p>
Bruno Lalande submitted this addition to Boost.Math.
@@ -237,9 +238,9 @@
Thanks to Joaquín López Muñoz and Scott McMurray for their help in
improving the implementation.
</p>
-<a name="math_toolkit.special.powers.ct_pow.references"></a><h5>
-<a name="math_toolkit.special.powers.ct_pow.references-heading"></a>
- <a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.references">References</a>
+<h5>
+<a name="math_toolkit.special.powers.ct_pow.h6"></a>
+ <span><a name="math_toolkit.special.powers.ct_pow.references"></a></span><a class="link" href="ct_pow.html#math_toolkit.special.powers.ct_pow.references">References</a>
</h5>
<p>
D.E. Knuth, <span class="emphasis"><em>The Art of Computer Programming, Vol. 2: Seminumerical
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/expm1.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/expm1.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/expm1.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,7 +27,6 @@
<a name="math_toolkit.special.powers.expm1"></a><a class="link" href="expm1.html" title="expm1">expm1</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">expm1</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -74,17 +73,17 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/expm1.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.powers.expm1.accuracy"></a><h5>
-<a name="math_toolkit.special.powers.expm1.accuracy-heading"></a>
- <a class="link" href="expm1.html#math_toolkit.special.powers.expm1.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.powers.expm1.h0"></a>
+ <span><a name="math_toolkit.special.powers.expm1.accuracy"></a></span><a class="link" href="expm1.html#math_toolkit.special.powers.expm1.accuracy">Accuracy</a>
</h5>
<p>
For built in floating point types <code class="computeroutput"><span class="identifier">expm1</span></code>
should have approximately 1 epsilon accuracy.
</p>
-<a name="math_toolkit.special.powers.expm1.testing"></a><h5>
-<a name="math_toolkit.special.powers.expm1.testing-heading"></a>
- <a class="link" href="expm1.html#math_toolkit.special.powers.expm1.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.powers.expm1.h1"></a>
+ <span><a name="math_toolkit.special.powers.expm1.testing"></a></span><a class="link" href="expm1.html#math_toolkit.special.powers.expm1.testing">Testing</a>
</h5>
<p>
A mixture of spot test sanity checks, and random high precision test values
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/hypot.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/hypot.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/hypot.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -52,9 +52,9 @@
either overflow or underflow, even though the result is in fact perfectly
representable.
</p>
-<a name="math_toolkit.special.powers.hypot.implementation"></a><h5>
-<a name="math_toolkit.special.powers.hypot.implementation-heading"></a>
- <a class="link" href="hypot.html#math_toolkit.special.powers.hypot.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.powers.hypot.h0"></a>
+ <span><a name="math_toolkit.special.powers.hypot.implementation"></a></span><a class="link" href="hypot.html#math_toolkit.special.powers.hypot.implementation">Implementation</a>
</h5>
<p>
The function is even and symmetric in x and y, so first take assume <span class="emphasis"><em>x,y
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/log1p.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/log1p.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/log1p.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,7 +27,6 @@
<a name="math_toolkit.special.powers.log1p"></a><a class="link" href="log1p.html" title="log1p">log1p</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">log1p</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -87,17 +86,17 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/log1p.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.powers.log1p.accuracy"></a><h5>
-<a name="math_toolkit.special.powers.log1p.accuracy-heading"></a>
- <a class="link" href="log1p.html#math_toolkit.special.powers.log1p.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.powers.log1p.h0"></a>
+ <span><a name="math_toolkit.special.powers.log1p.accuracy"></a></span><a class="link" href="log1p.html#math_toolkit.special.powers.log1p.accuracy">Accuracy</a>
</h5>
<p>
For built in floating point types <code class="computeroutput"><span class="identifier">log1p</span></code>
should have approximately 1 epsilon accuracy.
</p>
-<a name="math_toolkit.special.powers.log1p.testing"></a><h5>
-<a name="math_toolkit.special.powers.log1p.testing-heading"></a>
- <a class="link" href="log1p.html#math_toolkit.special.powers.log1p.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.powers.log1p.h1"></a>
+ <span><a name="math_toolkit.special.powers.log1p.testing"></a></span><a class="link" href="log1p.html#math_toolkit.special.powers.log1p.testing">Testing</a>
</h5>
<p>
A mixture of spot test sanity checks, and random high precision test values
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/powm1.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/powm1.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/powm1.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,7 +27,6 @@
<a name="math_toolkit.special.powers.powm1"></a><a class="link" href="powm1.html" title="powm1">powm1</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">powm1</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -68,16 +67,16 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/powm1.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.powers.powm1.accuracy"></a><h5>
-<a name="math_toolkit.special.powers.powm1.accuracy-heading"></a>
- <a class="link" href="powm1.html#math_toolkit.special.powers.powm1.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.powers.powm1.h0"></a>
+ <span><a name="math_toolkit.special.powers.powm1.accuracy"></a></span><a class="link" href="powm1.html#math_toolkit.special.powers.powm1.accuracy">Accuracy</a>
</h5>
<p>
Should have approximately 2-3 epsilon accuracy.
</p>
-<a name="math_toolkit.special.powers.powm1.testing"></a><h5>
-<a name="math_toolkit.special.powers.powm1.testing-heading"></a>
- <a class="link" href="powm1.html#math_toolkit.special.powers.powm1.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.powers.powm1.h1"></a>
+ <span><a name="math_toolkit.special.powers.powm1.testing"></a></span><a class="link" href="powm1.html#math_toolkit.special.powers.powm1.testing">Testing</a>
</h5>
<p>
A selection of random high precision test values calculated using NTL::RR
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/sqrt1pm1.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/sqrt1pm1.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/powers/sqrt1pm1.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,7 +27,6 @@
<a name="math_toolkit.special.powers.sqrt1pm1"></a><a class="link" href="sqrt1pm1.html" title="sqrt1pm1">sqrt1pm1</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">sqrt1pm1</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -70,17 +69,17 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/sqrt1pm1.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.powers.sqrt1pm1.accuracy"></a><h5>
-<a name="math_toolkit.special.powers.sqrt1pm1.accuracy-heading"></a>
- <a class="link" href="sqrt1pm1.html#math_toolkit.special.powers.sqrt1pm1.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.powers.sqrt1pm1.h0"></a>
+ <span><a name="math_toolkit.special.powers.sqrt1pm1.accuracy"></a></span><a class="link" href="sqrt1pm1.html#math_toolkit.special.powers.sqrt1pm1.accuracy">Accuracy</a>
</h5>
<p>
For built in floating-point types <code class="computeroutput"><span class="identifier">sqrt1pm1</span></code>
should have approximately 3 epsilon accuracy.
</p>
-<a name="math_toolkit.special.powers.sqrt1pm1.testing"></a><h5>
-<a name="math_toolkit.special.powers.sqrt1pm1.testing-heading"></a>
- <a class="link" href="sqrt1pm1.html#math_toolkit.special.powers.sqrt1pm1.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.powers.sqrt1pm1.h1"></a>
+ <span><a name="math_toolkit.special.powers.sqrt1pm1.testing"></a></span><a class="link" href="sqrt1pm1.html#math_toolkit.special.powers.sqrt1pm1.testing">Testing</a>
</h5>
<p>
A selection of random high precision test values calculated using NTL::RR
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/beta_derivative.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/beta_derivative.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/beta_derivative.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,18 +27,17 @@
<a name="math_toolkit.special.sf_beta.beta_derivative"></a><a class="link" href="beta_derivative.html" title="Derivative of the Incomplete Beta Function">Derivative
of the Incomplete Beta Function</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_beta.beta_derivative.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_beta.beta_derivative.synopsis-heading"></a>
- <a class="link" href="beta_derivative.html#math_toolkit.special.sf_beta.beta_derivative.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.beta_derivative.h0"></a>
+ <span><a name="math_toolkit.special.sf_beta.beta_derivative.synopsis"></a></span><a class="link" href="beta_derivative.html#math_toolkit.special.sf_beta.beta_derivative.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">beta</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T3</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">ibeta_derivative</span><span class="special">(</span><span class="identifier">T1</span> <span class="identifier">a</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">b</span><span class="special">,</span> <span class="identifier">T3</span> <span class="identifier">x</span><span class="special">);</span>
@@ -48,9 +47,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_beta.beta_derivative.description"></a><h5>
-<a name="math_toolkit.special.sf_beta.beta_derivative.description-heading"></a>
- <a class="link" href="beta_derivative.html#math_toolkit.special.sf_beta.beta_derivative.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.beta_derivative.h1"></a>
+ <span><a name="math_toolkit.special.sf_beta.beta_derivative.description"></a></span><a class="link" href="beta_derivative.html#math_toolkit.special.sf_beta.beta_derivative.description">Description</a>
</h5>
<p>
This function finds some uses in statistical distributions: it computes
@@ -70,16 +69,16 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.sf_beta.beta_derivative.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_beta.beta_derivative.accuracy-heading"></a>
- <a class="link" href="beta_derivative.html#math_toolkit.special.sf_beta.beta_derivative.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.beta_derivative.h2"></a>
+ <span><a name="math_toolkit.special.sf_beta.beta_derivative.accuracy"></a></span><a class="link" href="beta_derivative.html#math_toolkit.special.sf_beta.beta_derivative.accuracy">Accuracy</a>
</h5>
<p>
Almost identical to the incomplete beta function <a class="link" href="ibeta_function.html" title="Incomplete Beta Functions">ibeta</a>.
</p>
-<a name="math_toolkit.special.sf_beta.beta_derivative.implementation"></a><h5>
-<a name="math_toolkit.special.sf_beta.beta_derivative.implementation-heading"></a>
- <a class="link" href="beta_derivative.html#math_toolkit.special.sf_beta.beta_derivative.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.beta_derivative.h3"></a>
+ <span><a name="math_toolkit.special.sf_beta.beta_derivative.implementation"></a></span><a class="link" href="beta_derivative.html#math_toolkit.special.sf_beta.beta_derivative.implementation">Implementation</a>
</h5>
<p>
This function just expose some of the internals of the incomplete beta
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/beta_function.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/beta_function.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/beta_function.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,12 +26,11 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.special.sf_beta.beta_function"></a><a class="link" href="beta_function.html" title="Beta">Beta</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_beta.beta_function.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_beta.beta_function.synopsis-heading"></a>
- <a class="link" href="beta_function.html#math_toolkit.special.sf_beta.beta_function.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.beta_function.h0"></a>
+ <span><a name="math_toolkit.special.sf_beta.beta_function.synopsis"></a></span><a class="link" href="beta_function.html#math_toolkit.special.sf_beta.beta_function.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">beta</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -47,9 +46,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_beta.beta_function.description"></a><h5>
-<a name="math_toolkit.special.sf_beta.beta_function.description-heading"></a>
- <a class="link" href="beta_function.html#math_toolkit.special.sf_beta.beta_function.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.beta_function.h1"></a>
+ <span><a name="math_toolkit.special.sf_beta.beta_function.description"></a></span><a class="link" href="beta_function.html#math_toolkit.special.sf_beta.beta_function.description">Description</a>
</h5>
<p>
The beta function is defined by:
@@ -80,9 +79,9 @@
The return type of these functions is computed using the <a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>result
type calculation rules</em></span></a> when T1 and T2 are different types.
</p>
-<a name="math_toolkit.special.sf_beta.beta_function.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_beta.beta_function.accuracy-heading"></a>
- <a class="link" href="beta_function.html#math_toolkit.special.sf_beta.beta_function.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.beta_function.h2"></a>
+ <span><a name="math_toolkit.special.sf_beta.beta_function.accuracy"></a></span><a class="link" href="beta_function.html#math_toolkit.special.sf_beta.beta_function.accuracy">Accuracy</a>
</h5>
<p>
The following table shows peak errors for various domains of input arguments,
@@ -238,18 +237,18 @@
is the case the result is very close to zero, so absolute errors will be
very small.
</p>
-<a name="math_toolkit.special.sf_beta.beta_function.testing"></a><h5>
-<a name="math_toolkit.special.sf_beta.beta_function.testing-heading"></a>
- <a class="link" href="beta_function.html#math_toolkit.special.sf_beta.beta_function.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.beta_function.h3"></a>
+ <span><a name="math_toolkit.special.sf_beta.beta_function.testing"></a></span><a class="link" href="beta_function.html#math_toolkit.special.sf_beta.beta_function.testing">Testing</a>
</h5>
<p>
A mixture of spot tests of exact values, and randomly generated test data
are used: the test data was computed using NTL::RR
at 1000-bit precision.
</p>
-<a name="math_toolkit.special.sf_beta.beta_function.implementation"></a><h5>
-<a name="math_toolkit.special.sf_beta.beta_function.implementation-heading"></a>
- <a class="link" href="beta_function.html#math_toolkit.special.sf_beta.beta_function.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.beta_function.h4"></a>
+ <span><a name="math_toolkit.special.sf_beta.beta_function.implementation"></a></span><a class="link" href="beta_function.html#math_toolkit.special.sf_beta.beta_function.implementation">Implementation</a>
</h5>
<p>
Traditional methods of evaluating the beta function either involve evaluating
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/ibeta_function.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/ibeta_function.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/ibeta_function.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.sf_beta.ibeta_function"></a><a class="link" href="ibeta_function.html" title="Incomplete Beta Functions">Incomplete
Beta Functions</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_beta.ibeta_function.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_beta.ibeta_function.synopsis-heading"></a>
- <a class="link" href="ibeta_function.html#math_toolkit.special.sf_beta.ibeta_function.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.ibeta_function.h0"></a>
+ <span><a name="math_toolkit.special.sf_beta.ibeta_function.synopsis"></a></span><a class="link" href="ibeta_function.html#math_toolkit.special.sf_beta.ibeta_function.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">beta</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -66,9 +65,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_beta.ibeta_function.description"></a><h5>
-<a name="math_toolkit.special.sf_beta.ibeta_function.description-heading"></a>
- <a class="link" href="ibeta_function.html#math_toolkit.special.sf_beta.ibeta_function.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.ibeta_function.h1"></a>
+ <span><a name="math_toolkit.special.sf_beta.ibeta_function.description"></a></span><a class="link" href="ibeta_function.html#math_toolkit.special.sf_beta.ibeta_function.description">Description</a>
</h5>
<p>
There are four <a href="http://en.wikipedia.org/wiki/Incomplete_beta_function" target="_top">incomplete
@@ -157,9 +156,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../equations/ibeta2.png"></span>
</p>
-<a name="math_toolkit.special.sf_beta.ibeta_function.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_beta.ibeta_function.accuracy-heading"></a>
- <a class="link" href="ibeta_function.html#math_toolkit.special.sf_beta.ibeta_function.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.ibeta_function.h2"></a>
+ <span><a name="math_toolkit.special.sf_beta.ibeta_function.accuracy"></a></span><a class="link" href="ibeta_function.html#math_toolkit.special.sf_beta.ibeta_function.accuracy">Accuracy</a>
</h5>
<p>
The following tables give peak and mean relative errors in over various
@@ -864,9 +863,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.special.sf_beta.ibeta_function.testing"></a><h5>
-<a name="math_toolkit.special.sf_beta.ibeta_function.testing-heading"></a>
- <a class="link" href="ibeta_function.html#math_toolkit.special.sf_beta.ibeta_function.testing">Testing</a>
+<br class="table-break"><h5>
+<a name="math_toolkit.special.sf_beta.ibeta_function.h3"></a>
+ <span><a name="math_toolkit.special.sf_beta.ibeta_function.testing"></a></span><a class="link" href="ibeta_function.html#math_toolkit.special.sf_beta.ibeta_function.testing">Testing</a>
</h5>
<p>
There are two sets of tests: spot tests compare values taken from <a href="http://functions.wolfram.com/webMathematica/FunctionEvaluation.jsp?name=BetaRegularized" target="_top">Mathworld's
@@ -882,9 +881,9 @@
is <span class="emphasis"><em>not</em></span> used in the implementation, and therefore we
have test data that is fully independent of the code.
</p>
-<a name="math_toolkit.special.sf_beta.ibeta_function.implementation"></a><h5>
-<a name="math_toolkit.special.sf_beta.ibeta_function.implementation-heading"></a>
- <a class="link" href="ibeta_function.html#math_toolkit.special.sf_beta.ibeta_function.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.ibeta_function.h4"></a>
+ <span><a name="math_toolkit.special.sf_beta.ibeta_function.implementation"></a></span><a class="link" href="ibeta_function.html#math_toolkit.special.sf_beta.ibeta_function.implementation">Implementation</a>
</h5>
<p>
This implementation is closely based upon <a href="http://portal.acm.org/citation.cfm?doid=131766.131776" target="_top">"Algorithm
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/ibeta_inv_function.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/ibeta_inv_function.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_beta/ibeta_inv_function.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,7 +28,6 @@
Incomplete Beta Function Inverses</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">beta</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -86,9 +85,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_beta.ibeta_inv_function.description"></a><h5>
-<a name="math_toolkit.special.sf_beta.ibeta_inv_function.description-heading"></a>
- <a class="link" href="ibeta_inv_function.html#math_toolkit.special.sf_beta.ibeta_inv_function.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.ibeta_inv_function.h0"></a>
+ <span><a name="math_toolkit.special.sf_beta.ibeta_inv_function.description"></a></span><a class="link" href="ibeta_inv_function.html#math_toolkit.special.sf_beta.ibeta_inv_function.description">Description</a>
</h5>
<p>
There are six <a href="http://functions.wolfram.com/GammaBetaErf/" target="_top">incomplete
@@ -287,9 +286,9 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.sf_beta.ibeta_inv_function.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_beta.ibeta_inv_function.accuracy-heading"></a>
- <a class="link" href="ibeta_inv_function.html#math_toolkit.special.sf_beta.ibeta_inv_function.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.ibeta_inv_function.h1"></a>
+ <span><a name="math_toolkit.special.sf_beta.ibeta_inv_function.accuracy"></a></span><a class="link" href="ibeta_inv_function.html#math_toolkit.special.sf_beta.ibeta_inv_function.accuracy">Accuracy</a>
</h5>
<p>
The accuracy of these functions should closely follow that of the regular
@@ -299,9 +298,9 @@
<span class="emphasis"><em>q</em></span>) is very close to <code class="computeroutput"><span class="number">0</span></code>
or <code class="computeroutput"><span class="number">1</span></code>.
</p>
-<a name="math_toolkit.special.sf_beta.ibeta_inv_function.testing"></a><h5>
-<a name="math_toolkit.special.sf_beta.ibeta_inv_function.testing-heading"></a>
- <a class="link" href="ibeta_inv_function.html#math_toolkit.special.sf_beta.ibeta_inv_function.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.sf_beta.ibeta_inv_function.h2"></a>
+ <span><a name="math_toolkit.special.sf_beta.ibeta_inv_function.testing"></a></span><a class="link" href="ibeta_inv_function.html#math_toolkit.special.sf_beta.ibeta_inv_function.testing">Testing</a>
</h5>
<p>
There are two sets of tests:
@@ -323,9 +322,9 @@
accuracy of the result, given exact input values.
</li>
</ul></div>
-<a name="math_toolkit.special.sf_beta.ibeta_inv_function.implementation_of_ibeta_inv_and_ibetac_inv"></a><h5>
-<a name="math_toolkit.special.sf_beta.ibeta_inv_function.implementation_of_ibeta_inv_and_ibetac_inv-heading"></a>
- <a class="link" href="ibeta_inv_function.html#math_toolkit.special.sf_beta.ibeta_inv_function.implementation_of_ibeta_inv_and_ibetac_inv">Implementation
+<h5>
+<a name="math_toolkit.special.sf_beta.ibeta_inv_function.h3"></a>
+ <span><a name="math_toolkit.special.sf_beta.ibeta_inv_function.implementation_of_ibeta_inv_and_ibetac_inv"></a></span><a class="link" href="ibeta_inv_function.html#math_toolkit.special.sf_beta.ibeta_inv_function.implementation_of_ibeta_inv_and_ibetac_inv">Implementation
of ibeta_inv and ibetac_inv</a>
</h5>
<p>
@@ -491,9 +490,9 @@
monotonic convergence, but it does get us close enough that Halley iteration
rapidly converges on the true value.
</p>
-<a name="math_toolkit.special.sf_beta.ibeta_inv_function.implementation_of_inverses_on_the_a_and_b_parameters"></a><h5>
-<a name="math_toolkit.special.sf_beta.ibeta_inv_function.implementation_of_inverses_on_the_a_and_b_parameters-heading"></a>
- <a class="link" href="ibeta_inv_function.html#math_toolkit.special.sf_beta.ibeta_inv_function.implementation_of_inverses_on_the_a_and_b_parameters">Implementation
+<h5>
+<a name="math_toolkit.special.sf_beta.ibeta_inv_function.h4"></a>
+ <span><a name="math_toolkit.special.sf_beta.ibeta_inv_function.implementation_of_inverses_on_the_a_and_b_parameters"></a></span><a class="link" href="ibeta_inv_function.html#math_toolkit.special.sf_beta.ibeta_inv_function.implementation_of_inverses_on_the_a_and_b_parameters">Implementation
of inverses on the a and b parameters</a>
</h5>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf/error_function.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf/error_function.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf/error_function.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,12 +26,11 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.special.sf_erf.error_function"></a><a class="link" href="error_function.html" title="Error Functions">Error Functions</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_erf.error_function.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_erf.error_function.synopsis-heading"></a>
- <a class="link" href="error_function.html#math_toolkit.special.sf_erf.error_function.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_erf.error_function.h0"></a>
+ <span><a name="math_toolkit.special.sf_erf.error_function.synopsis"></a></span><a class="link" href="error_function.html#math_toolkit.special.sf_erf.error_function.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">erf</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -62,9 +61,9 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.sf_erf.error_function.description"></a><h5>
-<a name="math_toolkit.special.sf_erf.error_function.description-heading"></a>
- <a class="link" href="error_function.html#math_toolkit.special.sf_erf.error_function.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_erf.error_function.h1"></a>
+ <span><a name="math_toolkit.special.sf_erf.error_function.description"></a></span><a class="link" href="error_function.html#math_toolkit.special.sf_erf.error_function.description">Description</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">erf</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">z</span><span class="special">);</span>
@@ -99,9 +98,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/erfc.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.sf_erf.error_function.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_erf.error_function.accuracy-heading"></a>
- <a class="link" href="error_function.html#math_toolkit.special.sf_erf.error_function.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_erf.error_function.h2"></a>
+ <span><a name="math_toolkit.special.sf_erf.error_function.accuracy"></a></span><a class="link" href="error_function.html#math_toolkit.special.sf_erf.error_function.accuracy">Accuracy</a>
</h5>
<p>
The following table shows the peak errors (in units of epsilon) found on
@@ -524,9 +523,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.special.sf_erf.error_function.testing"></a><h5>
-<a name="math_toolkit.special.sf_erf.error_function.testing-heading"></a>
- <a class="link" href="error_function.html#math_toolkit.special.sf_erf.error_function.testing">Testing</a>
+<br class="table-break"><h5>
+<a name="math_toolkit.special.sf_erf.error_function.h3"></a>
+ <span><a name="math_toolkit.special.sf_erf.error_function.testing"></a></span><a class="link" href="error_function.html#math_toolkit.special.sf_erf.error_function.testing">Testing</a>
</h5>
<p>
The tests for these functions come in two parts: basic sanity checks use
@@ -539,9 +538,9 @@
"known good" implementations also provides an additional sanity
check.
</p>
-<a name="math_toolkit.special.sf_erf.error_function.implementation"></a><h5>
-<a name="math_toolkit.special.sf_erf.error_function.implementation-heading"></a>
- <a class="link" href="error_function.html#math_toolkit.special.sf_erf.error_function.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_erf.error_function.h4"></a>
+ <span><a name="math_toolkit.special.sf_erf.error_function.implementation"></a></span><a class="link" href="error_function.html#math_toolkit.special.sf_erf.error_function.implementation">Implementation</a>
</h5>
<p>
All versions of these functions first use the usual reflection formulas
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf/error_inv.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf/error_inv.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_erf/error_inv.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.sf_erf.error_inv"></a><a class="link" href="error_inv.html" title="Error Function Inverses">Error Function
Inverses</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_erf.error_inv.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_erf.error_inv.synopsis-heading"></a>
- <a class="link" href="error_inv.html#math_toolkit.special.sf_erf.error_inv.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_erf.error_inv.h0"></a>
+ <span><a name="math_toolkit.special.sf_erf.error_inv.synopsis"></a></span><a class="link" href="error_inv.html#math_toolkit.special.sf_erf.error_inv.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">erf</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -63,9 +62,9 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.sf_erf.error_inv.description"></a><h5>
-<a name="math_toolkit.special.sf_erf.error_inv.description-heading"></a>
- <a class="link" href="error_inv.html#math_toolkit.special.sf_erf.error_inv.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_erf.error_inv.h1"></a>
+ <span><a name="math_toolkit.special.sf_erf.error_inv.description"></a></span><a class="link" href="error_inv.html#math_toolkit.special.sf_erf.error_inv.description">Description</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">erf_inv</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">z</span><span class="special">);</span>
@@ -97,9 +96,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/erfc_inv.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.sf_erf.error_inv.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_erf.error_inv.accuracy-heading"></a>
- <a class="link" href="error_inv.html#math_toolkit.special.sf_erf.error_inv.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_erf.error_inv.h2"></a>
+ <span><a name="math_toolkit.special.sf_erf.error_inv.accuracy"></a></span><a class="link" href="error_inv.html#math_toolkit.special.sf_erf.error_inv.accuracy">Accuracy</a>
</h5>
<p>
For types up to and including 80-bit long doubles the approximations used
@@ -107,9 +106,9 @@
functions have the same accuracy as the <a class="link" href="error_function.html" title="Error Functions">forward
error functions</a>.
</p>
-<a name="math_toolkit.special.sf_erf.error_inv.testing"></a><h5>
-<a name="math_toolkit.special.sf_erf.error_inv.testing-heading"></a>
- <a class="link" href="error_inv.html#math_toolkit.special.sf_erf.error_inv.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.sf_erf.error_inv.h3"></a>
+ <span><a name="math_toolkit.special.sf_erf.error_inv.testing"></a></span><a class="link" href="error_inv.html#math_toolkit.special.sf_erf.error_inv.testing">Testing</a>
</h5>
<p>
There are two sets of tests:
@@ -130,9 +129,9 @@
accuracy of the result, given <span class="emphasis"><em>exact</em></span> input values.
</li>
</ul></div>
-<a name="math_toolkit.special.sf_erf.error_inv.implementation"></a><h5>
-<a name="math_toolkit.special.sf_erf.error_inv.implementation-heading"></a>
- <a class="link" href="error_inv.html#math_toolkit.special.sf_erf.error_inv.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_erf.error_inv.h4"></a>
+ <span><a name="math_toolkit.special.sf_erf.error_inv.implementation"></a></span><a class="link" href="error_inv.html#math_toolkit.special.sf_erf.error_inv.implementation">Implementation</a>
</h5>
<p>
These functions use a rational approximation <a class="link" href="../../backgrounders/implementation.html#math_toolkit.backgrounders.implementation.rational_approximations_used">devised
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/digamma.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/digamma.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/digamma.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,12 +26,11 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.special.sf_gamma.digamma"></a><a class="link" href="digamma.html" title="Digamma">Digamma</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_gamma.digamma.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_gamma.digamma.synopsis-heading"></a>
- <a class="link" href="digamma.html#math_toolkit.special.sf_gamma.digamma.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.digamma.h0"></a>
+ <span><a name="math_toolkit.special.sf_gamma.digamma.synopsis"></a></span><a class="link" href="digamma.html#math_toolkit.special.sf_gamma.digamma.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">digamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -47,9 +46,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_gamma.digamma.description"></a><h5>
-<a name="math_toolkit.special.sf_gamma.digamma.description-heading"></a>
- <a class="link" href="digamma.html#math_toolkit.special.sf_gamma.digamma.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.digamma.h1"></a>
+ <span><a name="math_toolkit.special.sf_gamma.digamma.description"></a></span><a class="link" href="digamma.html#math_toolkit.special.sf_gamma.digamma.description">Description</a>
</h5>
<p>
Returns the digamma or psi function of <span class="emphasis"><em>x</em></span>. Digamma
@@ -76,9 +75,9 @@
type calculation rules</em></span></a>: the result is of type <code class="computeroutput"><span class="keyword">double</span></code> when T is an integer type, and type
T otherwise.
</p>
-<a name="math_toolkit.special.sf_gamma.digamma.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_gamma.digamma.accuracy-heading"></a>
- <a class="link" href="digamma.html#math_toolkit.special.sf_gamma.digamma.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.digamma.h2"></a>
+ <span><a name="math_toolkit.special.sf_gamma.digamma.accuracy"></a></span><a class="link" href="digamma.html#math_toolkit.special.sf_gamma.digamma.accuracy">Accuracy</a>
</h5>
<p>
The following table shows the peak errors (in units of epsilon) found on
@@ -264,9 +263,9 @@
relative errors very close to these can be arbitrarily large, although
absolute error will remain very low.
</p>
-<a name="math_toolkit.special.sf_gamma.digamma.testing"></a><h5>
-<a name="math_toolkit.special.sf_gamma.digamma.testing-heading"></a>
- <a class="link" href="digamma.html#math_toolkit.special.sf_gamma.digamma.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.digamma.h3"></a>
+ <span><a name="math_toolkit.special.sf_gamma.digamma.testing"></a></span><a class="link" href="digamma.html#math_toolkit.special.sf_gamma.digamma.testing">Testing</a>
</h5>
<p>
There are two sets of tests: spot values are computed using the online
@@ -274,9 +273,9 @@
using the high-precision reference implementation (a differentiated <a class="link" href="../../backgrounders/lanczos.html" title="The Lanczos Approximation">Lanczos approximation</a>
see below).
</p>
-<a name="math_toolkit.special.sf_gamma.digamma.implementation"></a><h5>
-<a name="math_toolkit.special.sf_gamma.digamma.implementation-heading"></a>
- <a class="link" href="digamma.html#math_toolkit.special.sf_gamma.digamma.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.digamma.h4"></a>
+ <span><a name="math_toolkit.special.sf_gamma.digamma.implementation"></a></span><a class="link" href="digamma.html#math_toolkit.special.sf_gamma.digamma.implementation">Implementation</a>
</h5>
<p>
The implementation is divided up into the following domains:
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/gamma_derivatives.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/gamma_derivatives.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/gamma_derivatives.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,18 +27,17 @@
<a name="math_toolkit.special.sf_gamma.gamma_derivatives"></a><a class="link" href="gamma_derivatives.html" title="Derivative of the Incomplete Gamma Function">Derivative
of the Incomplete Gamma Function</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_gamma.gamma_derivatives.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_gamma.gamma_derivatives.synopsis-heading"></a>
- <a class="link" href="gamma_derivatives.html#math_toolkit.special.sf_gamma.gamma_derivatives.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.gamma_derivatives.h0"></a>
+ <span><a name="math_toolkit.special.sf_gamma.gamma_derivatives.synopsis"></a></span><a class="link" href="gamma_derivatives.html#math_toolkit.special.sf_gamma.gamma_derivatives.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">gamma_p_derivative</span><span class="special">(</span><span class="identifier">T1</span> <span class="identifier">a</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">x</span><span class="special">);</span>
@@ -48,9 +47,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_gamma.gamma_derivatives.description"></a><h5>
-<a name="math_toolkit.special.sf_gamma.gamma_derivatives.description-heading"></a>
- <a class="link" href="gamma_derivatives.html#math_toolkit.special.sf_gamma.gamma_derivatives.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.gamma_derivatives.h1"></a>
+ <span><a name="math_toolkit.special.sf_gamma.gamma_derivatives.description"></a></span><a class="link" href="gamma_derivatives.html#math_toolkit.special.sf_gamma.gamma_derivatives.description">Description</a>
</h5>
<p>
This function find some uses in statistical distributions: it implements
@@ -74,17 +73,17 @@
type calculation rules</em></span></a> when T1 and T2 are different types,
otherwise the return type is simply T1.
</p>
-<a name="math_toolkit.special.sf_gamma.gamma_derivatives.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_gamma.gamma_derivatives.accuracy-heading"></a>
- <a class="link" href="gamma_derivatives.html#math_toolkit.special.sf_gamma.gamma_derivatives.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.gamma_derivatives.h2"></a>
+ <span><a name="math_toolkit.special.sf_gamma.gamma_derivatives.accuracy"></a></span><a class="link" href="gamma_derivatives.html#math_toolkit.special.sf_gamma.gamma_derivatives.accuracy">Accuracy</a>
</h5>
<p>
Almost identical to the incomplete gamma function <a class="link" href="igamma.html" title="Incomplete Gamma Functions">gamma_p</a>:
refer to the documentation for that function for more information.
</p>
-<a name="math_toolkit.special.sf_gamma.gamma_derivatives.implementation"></a><h5>
-<a name="math_toolkit.special.sf_gamma.gamma_derivatives.implementation-heading"></a>
- <a class="link" href="gamma_derivatives.html#math_toolkit.special.sf_gamma.gamma_derivatives.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.gamma_derivatives.h3"></a>
+ <span><a name="math_toolkit.special.sf_gamma.gamma_derivatives.implementation"></a></span><a class="link" href="gamma_derivatives.html#math_toolkit.special.sf_gamma.gamma_derivatives.implementation">Implementation</a>
</h5>
<p>
This function just expose some of the internals of the incomplete gamma
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/gamma_ratios.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/gamma_ratios.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/gamma_ratios.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,7 +28,6 @@
of Gamma Functions</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -50,14 +49,14 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_gamma.gamma_ratios.description"></a><h5>
-<a name="math_toolkit.special.sf_gamma.gamma_ratios.description-heading"></a>
- <a class="link" href="gamma_ratios.html#math_toolkit.special.sf_gamma.gamma_ratios.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.gamma_ratios.h0"></a>
+ <span><a name="math_toolkit.special.sf_gamma.gamma_ratios.description"></a></span><a class="link" href="gamma_ratios.html#math_toolkit.special.sf_gamma.gamma_ratios.description">Description</a>
</h5>
-<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">></span>
+<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">tgamma_ratio</span><span class="special">(</span><span class="identifier">T1</span> <span class="identifier">a</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">b</span><span class="special">);</span>
-<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
+<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">tgamma_ratio</span><span class="special">(</span><span class="identifier">T1</span> <span class="identifier">a</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">b</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
<p>
@@ -106,9 +105,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/tgamma_delta_ratio.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.sf_gamma.gamma_ratios.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_gamma.gamma_ratios.accuracy-heading"></a>
- <a class="link" href="gamma_ratios.html#math_toolkit.special.sf_gamma.gamma_ratios.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.gamma_ratios.h1"></a>
+ <span><a name="math_toolkit.special.sf_gamma.gamma_ratios.accuracy"></a></span><a class="link" href="gamma_ratios.html#math_toolkit.special.sf_gamma.gamma_ratios.accuracy">Accuracy</a>
</h5>
<p>
The following table shows the peak errors (in units of epsilon) found on
@@ -316,18 +315,18 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.special.sf_gamma.gamma_ratios.testing"></a><h5>
-<a name="math_toolkit.special.sf_gamma.gamma_ratios.testing-heading"></a>
- <a class="link" href="gamma_ratios.html#math_toolkit.special.sf_gamma.gamma_ratios.testing">Testing</a>
+<br class="table-break"><h5>
+<a name="math_toolkit.special.sf_gamma.gamma_ratios.h2"></a>
+ <span><a name="math_toolkit.special.sf_gamma.gamma_ratios.testing"></a></span><a class="link" href="gamma_ratios.html#math_toolkit.special.sf_gamma.gamma_ratios.testing">Testing</a>
</h5>
<p>
Accuracy tests use data generated at very high precision (with <a href="http://shoup.net/ntl/doc/RR.txt" target="_top">NTL
RR class</a> set at 1000-bit precision: about 300 decimal digits) and
a deliberately naive calculation of Γ(x)/Γ(y).
</p>
-<a name="math_toolkit.special.sf_gamma.gamma_ratios.implementation"></a><h5>
-<a name="math_toolkit.special.sf_gamma.gamma_ratios.implementation-heading"></a>
- <a class="link" href="gamma_ratios.html#math_toolkit.special.sf_gamma.gamma_ratios.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.gamma_ratios.h3"></a>
+ <span><a name="math_toolkit.special.sf_gamma.gamma_ratios.implementation"></a></span><a class="link" href="gamma_ratios.html#math_toolkit.special.sf_gamma.gamma_ratios.implementation">Implementation</a>
</h5>
<p>
The implementation of these functions is very similar to that of <a class="link" href="../sf_beta/beta_function.html" title="Beta">beta</a>, and is
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/igamma.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/igamma.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/igamma.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.sf_gamma.igamma"></a><a class="link" href="igamma.html" title="Incomplete Gamma Functions">Incomplete Gamma
Functions</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_gamma.igamma.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_gamma.igamma.synopsis-heading"></a>
- <a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.igamma.h0"></a>
+ <span><a name="math_toolkit.special.sf_gamma.igamma.synopsis"></a></span><a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -66,9 +65,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_gamma.igamma.description"></a><h5>
-<a name="math_toolkit.special.sf_gamma.igamma.description-heading"></a>
- <a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.igamma.h1"></a>
+ <span><a name="math_toolkit.special.sf_gamma.igamma.description"></a></span><a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.description">Description</a>
</h5>
<p>
There are four <a href="http://mathworld.wolfram.com/IncompleteGammaFunction.html" target="_top">incomplete
@@ -154,9 +153,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../equations/igamma1.png"></span>
</p>
-<a name="math_toolkit.special.sf_gamma.igamma.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_gamma.igamma.accuracy-heading"></a>
- <a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.igamma.h2"></a>
+ <span><a name="math_toolkit.special.sf_gamma.igamma.accuracy"></a></span><a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.accuracy">Accuracy</a>
</h5>
<p>
The following tables give peak and mean relative errors in over various
@@ -822,9 +821,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.special.sf_gamma.igamma.testing"></a><h5>
-<a name="math_toolkit.special.sf_gamma.igamma.testing-heading"></a>
- <a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.testing">Testing</a>
+<br class="table-break"><h5>
+<a name="math_toolkit.special.sf_gamma.igamma.h3"></a>
+ <span><a name="math_toolkit.special.sf_gamma.igamma.testing"></a></span><a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.testing">Testing</a>
</h5>
<p>
There are two sets of tests: spot tests compare values taken from Mathworld's online evaluator
@@ -838,9 +837,9 @@
naive implementation without special case handling since Legendre's continued
fraction (see below) is unstable for small a and z.
</p>
-<a name="math_toolkit.special.sf_gamma.igamma.implementation"></a><h5>
-<a name="math_toolkit.special.sf_gamma.igamma.implementation-heading"></a>
- <a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.igamma.h4"></a>
+ <span><a name="math_toolkit.special.sf_gamma.igamma.implementation"></a></span><a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.implementation">Implementation</a>
</h5>
<p>
These four functions share a common implementation since they are all related
@@ -1007,9 +1006,9 @@
than other methods. Use of <span class="emphasis"><em>log(1+x)-x</em></span> here is inspired
by Temme (see references below).
</p>
-<a name="math_toolkit.special.sf_gamma.igamma.references"></a><h5>
-<a name="math_toolkit.special.sf_gamma.igamma.references-heading"></a>
- <a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.references">References</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.igamma.h5"></a>
+ <span><a name="math_toolkit.special.sf_gamma.igamma.references"></a></span><a class="link" href="igamma.html#math_toolkit.special.sf_gamma.igamma.references">References</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/igamma_inv.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/igamma_inv.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/igamma_inv.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.sf_gamma.igamma_inv"></a><a class="link" href="igamma_inv.html" title="Incomplete Gamma Function Inverses">Incomplete
Gamma Function Inverses</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_gamma.igamma_inv.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_gamma.igamma_inv.synopsis-heading"></a>
- <a class="link" href="igamma_inv.html#math_toolkit.special.sf_gamma.igamma_inv.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.igamma_inv.h0"></a>
+ <span><a name="math_toolkit.special.sf_gamma.igamma_inv.synopsis"></a></span><a class="link" href="igamma_inv.html#math_toolkit.special.sf_gamma.igamma_inv.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -66,9 +65,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_gamma.igamma_inv.description"></a><h5>
-<a name="math_toolkit.special.sf_gamma.igamma_inv.description-heading"></a>
- <a class="link" href="igamma_inv.html#math_toolkit.special.sf_gamma.igamma_inv.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.igamma_inv.h1"></a>
+ <span><a name="math_toolkit.special.sf_gamma.igamma_inv.description"></a></span><a class="link" href="igamma_inv.html#math_toolkit.special.sf_gamma.igamma_inv.description">Description</a>
</h5>
<p>
There are four <a href="http://mathworld.wolfram.com/IncompleteGammaFunction.html" target="_top">incomplete
@@ -167,9 +166,9 @@
Requires: <span class="emphasis"><em>x > 0</em></span> and <span class="emphasis"><em>1 >= p,q >=
0</em></span>.
</p>
-<a name="math_toolkit.special.sf_gamma.igamma_inv.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_gamma.igamma_inv.accuracy-heading"></a>
- <a class="link" href="igamma_inv.html#math_toolkit.special.sf_gamma.igamma_inv.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.igamma_inv.h2"></a>
+ <span><a name="math_toolkit.special.sf_gamma.igamma_inv.accuracy"></a></span><a class="link" href="igamma_inv.html#math_toolkit.special.sf_gamma.igamma_inv.accuracy">Accuracy</a>
</h5>
<p>
The accuracy of these functions doesn't vary much by platform or by the
@@ -181,9 +180,9 @@
and <a class="link" href="igamma.html" title="Incomplete Gamma Functions">gamma_q</a>
functions.
</p>
-<a name="math_toolkit.special.sf_gamma.igamma_inv.testing"></a><h5>
-<a name="math_toolkit.special.sf_gamma.igamma_inv.testing-heading"></a>
- <a class="link" href="igamma_inv.html#math_toolkit.special.sf_gamma.igamma_inv.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.igamma_inv.h3"></a>
+ <span><a name="math_toolkit.special.sf_gamma.igamma_inv.testing"></a></span><a class="link" href="igamma_inv.html#math_toolkit.special.sf_gamma.igamma_inv.testing">Testing</a>
</h5>
<p>
There are two sets of tests:
@@ -205,9 +204,9 @@
accuracy of the result, given exact input values.
</li>
</ul></div>
-<a name="math_toolkit.special.sf_gamma.igamma_inv.implementation"></a><h5>
-<a name="math_toolkit.special.sf_gamma.igamma_inv.implementation-heading"></a>
- <a class="link" href="igamma_inv.html#math_toolkit.special.sf_gamma.igamma_inv.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.igamma_inv.h4"></a>
+ <span><a name="math_toolkit.special.sf_gamma.igamma_inv.implementation"></a></span><a class="link" href="igamma_inv.html#math_toolkit.special.sf_gamma.igamma_inv.implementation">Implementation</a>
</h5>
<p>
The functions gamma_p_inv and gamma_q_inv
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/lgamma.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/lgamma.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/lgamma.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,12 +26,11 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.special.sf_gamma.lgamma"></a><a class="link" href="lgamma.html" title="Log Gamma">Log Gamma</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_gamma.lgamma.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_gamma.lgamma.synopsis-heading"></a>
- <a class="link" href="lgamma.html#math_toolkit.special.sf_gamma.lgamma.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.lgamma.h0"></a>
+ <span><a name="math_toolkit.special.sf_gamma.lgamma.synopsis"></a></span><a class="link" href="lgamma.html#math_toolkit.special.sf_gamma.lgamma.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -53,9 +52,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_gamma.lgamma.description"></a><h5>
-<a name="math_toolkit.special.sf_gamma.lgamma.description-heading"></a>
- <a class="link" href="lgamma.html#math_toolkit.special.sf_gamma.lgamma.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.lgamma.h1"></a>
+ <span><a name="math_toolkit.special.sf_gamma.lgamma.description"></a></span><a class="link" href="lgamma.html#math_toolkit.special.sf_gamma.lgamma.description">Description</a>
</h5>
<p>
The lgamma function
@@ -92,9 +91,9 @@
type calculation rules</em></span></a>: the result is of type <code class="computeroutput"><span class="keyword">double</span></code> if T is an integer type, or type
T otherwise.
</p>
-<a name="math_toolkit.special.sf_gamma.lgamma.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_gamma.lgamma.accuracy-heading"></a>
- <a class="link" href="lgamma.html#math_toolkit.special.sf_gamma.lgamma.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.lgamma.h2"></a>
+ <span><a name="math_toolkit.special.sf_gamma.lgamma.accuracy"></a></span><a class="link" href="lgamma.html#math_toolkit.special.sf_gamma.lgamma.accuracy">Accuracy</a>
</h5>
<p>
The following table shows the peak errors (in units of epsilon) found on
@@ -343,9 +342,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.special.sf_gamma.lgamma.testing"></a><h5>
-<a name="math_toolkit.special.sf_gamma.lgamma.testing-heading"></a>
- <a class="link" href="lgamma.html#math_toolkit.special.sf_gamma.lgamma.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.lgamma.h3"></a>
+ <span><a name="math_toolkit.special.sf_gamma.lgamma.testing"></a></span><a class="link" href="lgamma.html#math_toolkit.special.sf_gamma.lgamma.testing">Testing</a>
</h5>
<p>
The main tests for this function involve comparisons against the logs of
@@ -354,9 +353,9 @@
<p>
Random tests in key problem areas are also used.
</p>
-<a name="math_toolkit.special.sf_gamma.lgamma.implementation"></a><h5>
-<a name="math_toolkit.special.sf_gamma.lgamma.implementation-heading"></a>
- <a class="link" href="lgamma.html#math_toolkit.special.sf_gamma.lgamma.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.lgamma.h4"></a>
+ <span><a name="math_toolkit.special.sf_gamma.lgamma.implementation"></a></span><a class="link" href="lgamma.html#math_toolkit.special.sf_gamma.lgamma.implementation">Implementation</a>
</h5>
<p>
The generic version of this function is implemented by combining the series
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/tgamma.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/tgamma.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_gamma/tgamma.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,12 +26,11 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.special.sf_gamma.tgamma"></a><a class="link" href="tgamma.html" title="Gamma">Gamma</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_gamma.tgamma.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_gamma.tgamma.synopsis-heading"></a>
- <a class="link" href="tgamma.html#math_toolkit.special.sf_gamma.tgamma.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.tgamma.h0"></a>
+ <span><a name="math_toolkit.special.sf_gamma.tgamma.synopsis"></a></span><a class="link" href="tgamma.html#math_toolkit.special.sf_gamma.tgamma.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">gamma</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -53,9 +52,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_gamma.tgamma.description"></a><h5>
-<a name="math_toolkit.special.sf_gamma.tgamma.description-heading"></a>
- <a class="link" href="tgamma.html#math_toolkit.special.sf_gamma.tgamma.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.tgamma.h1"></a>
+ <span><a name="math_toolkit.special.sf_gamma.tgamma.description"></a></span><a class="link" href="tgamma.html#math_toolkit.special.sf_gamma.tgamma.description">Description</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">tgamma</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">z</span><span class="special">);</span>
@@ -118,9 +117,9 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.sf_gamma.tgamma.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_gamma.tgamma.accuracy-heading"></a>
- <a class="link" href="tgamma.html#math_toolkit.special.sf_gamma.tgamma.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.tgamma.h2"></a>
+ <span><a name="math_toolkit.special.sf_gamma.tgamma.accuracy"></a></span><a class="link" href="tgamma.html#math_toolkit.special.sf_gamma.tgamma.accuracy">Accuracy</a>
</h5>
<p>
The following table shows the peak errors (in units of epsilon) found on
@@ -373,9 +372,9 @@
</tr>
</tbody>
</table></div>
-<a name="math_toolkit.special.sf_gamma.tgamma.testing"></a><h5>
-<a name="math_toolkit.special.sf_gamma.tgamma.testing-heading"></a>
- <a class="link" href="tgamma.html#math_toolkit.special.sf_gamma.tgamma.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.tgamma.h3"></a>
+ <span><a name="math_toolkit.special.sf_gamma.tgamma.testing"></a></span><a class="link" href="tgamma.html#math_toolkit.special.sf_gamma.tgamma.testing">Testing</a>
</h5>
<p>
The gamma is relatively easy to test: factorials and half-integer factorials
@@ -388,9 +387,9 @@
is tested against values calculated very naively using the formula <code class="computeroutput"><span class="identifier">tgamma</span><span class="special">(</span><span class="number">1</span><span class="special">+</span><span class="identifier">dz</span><span class="special">)-</span><span class="number">1</span></code> with
a lanczos approximation accurate to around 100 decimal digits.
</p>
-<a name="math_toolkit.special.sf_gamma.tgamma.implementation"></a><h5>
-<a name="math_toolkit.special.sf_gamma.tgamma.implementation-heading"></a>
- <a class="link" href="tgamma.html#math_toolkit.special.sf_gamma.tgamma.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_gamma.tgamma.h4"></a>
+ <span><a name="math_toolkit.special.sf_gamma.tgamma.implementation"></a></span><a class="link" href="tgamma.html#math_toolkit.special.sf_gamma.tgamma.implementation">Implementation</a>
</h5>
<p>
The generic version of the <code class="computeroutput"><span class="identifier">tgamma</span></code>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/hermite.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/hermite.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/hermite.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,12 +26,11 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.special.sf_poly.hermite"></a><a class="link" href="hermite.html" title="Hermite Polynomials">Hermite Polynomials</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_poly.hermite.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_poly.hermite.synopsis-heading"></a>
- <a class="link" href="hermite.html#math_toolkit.special.sf_poly.hermite.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.hermite.h0"></a>
+ <span><a name="math_toolkit.special.sf_poly.hermite.synopsis"></a></span><a class="link" href="hermite.html#math_toolkit.special.sf_poly.hermite.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">hermite</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -47,12 +46,12 @@
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T3</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">hermite_next</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="identifier">T1</span> <span class="identifier">x</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">Hn</span><span class="special">,</span> <span class="identifier">T3</span> <span class="identifier">Hnm1</span><span class="special">);</span>
-
+
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_poly.hermite.description"></a><h5>
-<a name="math_toolkit.special.sf_poly.hermite.description-heading"></a>
- <a class="link" href="hermite.html#math_toolkit.special.sf_poly.hermite.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.hermite.h1"></a>
+ <span><a name="math_toolkit.special.sf_poly.hermite.description"></a></span><a class="link" href="hermite.html#math_toolkit.special.sf_poly.hermite.description">Description</a>
</h5>
<p>
The return type of these functions is computed using the <a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>result
@@ -130,9 +129,9 @@
</p></dd>
</dl>
</div>
-<a name="math_toolkit.special.sf_poly.hermite.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_poly.hermite.accuracy-heading"></a>
- <a class="link" href="hermite.html#math_toolkit.special.sf_poly.hermite.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.hermite.h2"></a>
+ <span><a name="math_toolkit.special.sf_poly.hermite.accuracy"></a></span><a class="link" href="hermite.html#math_toolkit.special.sf_poly.hermite.accuracy">Accuracy</a>
</h5>
<p>
The following table shows peak errors (in units of epsilon) for various
@@ -247,9 +246,9 @@
relative errors are likely to grow arbitrarily large when the function
is very close to a root.
</p>
-<a name="math_toolkit.special.sf_poly.hermite.testing"></a><h5>
-<a name="math_toolkit.special.sf_poly.hermite.testing-heading"></a>
- <a class="link" href="hermite.html#math_toolkit.special.sf_poly.hermite.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.hermite.h3"></a>
+ <span><a name="math_toolkit.special.sf_poly.hermite.testing"></a></span><a class="link" href="hermite.html#math_toolkit.special.sf_poly.hermite.testing">Testing</a>
</h5>
<p>
A mixture of spot tests of values calculated using functions.wolfram.com,
@@ -257,9 +256,9 @@
<a href="http://shoup.net/ntl/doc/RR.txt" target="_top">NTL::RR</a> at 1000-bit
precision.
</p>
-<a name="math_toolkit.special.sf_poly.hermite.implementation"></a><h5>
-<a name="math_toolkit.special.sf_poly.hermite.implementation-heading"></a>
- <a class="link" href="hermite.html#math_toolkit.special.sf_poly.hermite.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.hermite.h4"></a>
+ <span><a name="math_toolkit.special.sf_poly.hermite.implementation"></a></span><a class="link" href="hermite.html#math_toolkit.special.sf_poly.hermite.implementation">Implementation</a>
</h5>
<p>
These functions are implemented using the stable three term recurrence
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/laguerre.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/laguerre.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/laguerre.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.sf_poly.laguerre"></a><a class="link" href="laguerre.html" title="Laguerre (and Associated) Polynomials">Laguerre (and
Associated) Polynomials</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_poly.laguerre.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_poly.laguerre.synopsis-heading"></a>
- <a class="link" href="laguerre.html#math_toolkit.special.sf_poly.laguerre.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.laguerre.h0"></a>
+ <span><a name="math_toolkit.special.sf_poly.laguerre.synopsis"></a></span><a class="link" href="laguerre.html#math_toolkit.special.sf_poly.laguerre.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">laguerre</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -61,9 +60,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_poly.laguerre.description"></a><h5>
-<a name="math_toolkit.special.sf_poly.laguerre.description-heading"></a>
- <a class="link" href="laguerre.html#math_toolkit.special.sf_poly.laguerre.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.laguerre.h1"></a>
+ <span><a name="math_toolkit.special.sf_poly.laguerre.description"></a></span><a class="link" href="laguerre.html#math_toolkit.special.sf_poly.laguerre.description">Description</a>
</h5>
<p>
The return type of these functions is computed using the <a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>result
@@ -204,9 +203,9 @@
</p></dd>
</dl>
</div>
-<a name="math_toolkit.special.sf_poly.laguerre.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_poly.laguerre.accuracy-heading"></a>
- <a class="link" href="laguerre.html#math_toolkit.special.sf_poly.laguerre.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.laguerre.h2"></a>
+ <span><a name="math_toolkit.special.sf_poly.laguerre.accuracy"></a></span><a class="link" href="laguerre.html#math_toolkit.special.sf_poly.laguerre.accuracy">Accuracy</a>
</h5>
<p>
The following table shows peak errors (in units of epsilon) for various
@@ -421,9 +420,9 @@
relative errors are likely to grow arbitrarily large when the function
is very close to a root.
</p>
-<a name="math_toolkit.special.sf_poly.laguerre.testing"></a><h5>
-<a name="math_toolkit.special.sf_poly.laguerre.testing-heading"></a>
- <a class="link" href="laguerre.html#math_toolkit.special.sf_poly.laguerre.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.laguerre.h3"></a>
+ <span><a name="math_toolkit.special.sf_poly.laguerre.testing"></a></span><a class="link" href="laguerre.html#math_toolkit.special.sf_poly.laguerre.testing">Testing</a>
</h5>
<p>
A mixture of spot tests of values calculated using functions.wolfram.com,
@@ -431,9 +430,9 @@
<a href="http://shoup.net/ntl/doc/RR.txt" target="_top">NTL::RR</a> at 1000-bit
precision.
</p>
-<a name="math_toolkit.special.sf_poly.laguerre.implementation"></a><h5>
-<a name="math_toolkit.special.sf_poly.laguerre.implementation-heading"></a>
- <a class="link" href="laguerre.html#math_toolkit.special.sf_poly.laguerre.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.laguerre.h4"></a>
+ <span><a name="math_toolkit.special.sf_poly.laguerre.implementation"></a></span><a class="link" href="laguerre.html#math_toolkit.special.sf_poly.laguerre.implementation">Implementation</a>
</h5>
<p>
These functions are implemented using the stable three term recurrence
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/legendre.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/legendre.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/legendre.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.special.sf_poly.legendre"></a><a class="link" href="legendre.html" title="Legendre (and Associated) Polynomials">Legendre (and
Associated) Polynomials</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_poly.legendre.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_poly.legendre.synopsis-heading"></a>
- <a class="link" href="legendre.html#math_toolkit.special.sf_poly.legendre.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.legendre.h0"></a>
+ <span><a name="math_toolkit.special.sf_poly.legendre.synopsis"></a></span><a class="link" href="legendre.html#math_toolkit.special.sf_poly.legendre.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">legendre</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -78,9 +77,9 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.sf_poly.legendre.description"></a><h5>
-<a name="math_toolkit.special.sf_poly.legendre.description-heading"></a>
- <a class="link" href="legendre.html#math_toolkit.special.sf_poly.legendre.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.legendre.h1"></a>
+ <span><a name="math_toolkit.special.sf_poly.legendre.description"></a></span><a class="link" href="legendre.html#math_toolkit.special.sf_poly.legendre.description">Description</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">legendre_p</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">l</span><span class="special">,</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">);</span>
@@ -294,9 +293,9 @@
</p></dd>
</dl>
</div>
-<a name="math_toolkit.special.sf_poly.legendre.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_poly.legendre.accuracy-heading"></a>
- <a class="link" href="legendre.html#math_toolkit.special.sf_poly.legendre.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.legendre.h2"></a>
+ <span><a name="math_toolkit.special.sf_poly.legendre.accuracy"></a></span><a class="link" href="legendre.html#math_toolkit.special.sf_poly.legendre.accuracy">Accuracy</a>
</h5>
<p>
The following table shows peak errors (in units of epsilon) for various
@@ -675,9 +674,9 @@
other libraries that have been run show identical error rates to those
given here.
</p>
-<a name="math_toolkit.special.sf_poly.legendre.testing"></a><h5>
-<a name="math_toolkit.special.sf_poly.legendre.testing-heading"></a>
- <a class="link" href="legendre.html#math_toolkit.special.sf_poly.legendre.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.legendre.h3"></a>
+ <span><a name="math_toolkit.special.sf_poly.legendre.testing"></a></span><a class="link" href="legendre.html#math_toolkit.special.sf_poly.legendre.testing">Testing</a>
</h5>
<p>
A mixture of spot tests of values calculated using functions.wolfram.com,
@@ -685,9 +684,9 @@
<a href="http://shoup.net/ntl/doc/RR.txt" target="_top">NTL::RR</a> at 1000-bit
precision.
</p>
-<a name="math_toolkit.special.sf_poly.legendre.implementation"></a><h5>
-<a name="math_toolkit.special.sf_poly.legendre.implementation-heading"></a>
- <a class="link" href="legendre.html#math_toolkit.special.sf_poly.legendre.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.legendre.h4"></a>
+ <span><a name="math_toolkit.special.sf_poly.legendre.implementation"></a></span><a class="link" href="legendre.html#math_toolkit.special.sf_poly.legendre.implementation">Implementation</a>
</h5>
<p>
These functions are implemented using the stable three term recurrence
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/sph_harm.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/sph_harm.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sf_poly/sph_harm.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,12 +26,11 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.special.sf_poly.sph_harm"></a><a class="link" href="sph_harm.html" title="Spherical Harmonics">Spherical Harmonics</a>
</h4></div></div></div>
-<a name="math_toolkit.special.sf_poly.sph_harm.synopsis"></a><h5>
-<a name="math_toolkit.special.sf_poly.sph_harm.synopsis-heading"></a>
- <a class="link" href="sph_harm.html#math_toolkit.special.sf_poly.sph_harm.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.sph_harm.h0"></a>
+ <span><a name="math_toolkit.special.sf_poly.sph_harm.synopsis"></a></span><a class="link" href="sph_harm.html#math_toolkit.special.sf_poly.sph_harm.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">spheric_harmonic</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -53,15 +52,15 @@
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">spherical_harmonic_i</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="keyword">int</span> <span class="identifier">m</span><span class="special">,</span> <span class="identifier">T1</span> <span class="identifier">theta</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">phi</span><span class="special">);</span>
-
+
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T2</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">spherical_harmonic_i</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="identifier">n</span><span class="special">,</span> <span class="keyword">int</span> <span class="identifier">m</span><span class="special">,</span> <span class="identifier">T1</span> <span class="identifier">theta</span><span class="special">,</span> <span class="identifier">T2</span> <span class="identifier">phi</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
-
+
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.special.sf_poly.sph_harm.description"></a><h5>
-<a name="math_toolkit.special.sf_poly.sph_harm.description-heading"></a>
- <a class="link" href="sph_harm.html#math_toolkit.special.sf_poly.sph_harm.description">Description</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.sph_harm.h1"></a>
+ <span><a name="math_toolkit.special.sf_poly.sph_harm.description"></a></span><a class="link" href="sph_harm.html#math_toolkit.special.sf_poly.sph_harm.description">Description</a>
</h5>
<p>
The return type of these functions is computed using the <a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>result
@@ -149,9 +148,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../equations/spherical_2.png"></span>
</p>
-<a name="math_toolkit.special.sf_poly.sph_harm.accuracy"></a><h5>
-<a name="math_toolkit.special.sf_poly.sph_harm.accuracy-heading"></a>
- <a class="link" href="sph_harm.html#math_toolkit.special.sf_poly.sph_harm.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.sph_harm.h2"></a>
+ <span><a name="math_toolkit.special.sf_poly.sph_harm.accuracy"></a></span><a class="link" href="sph_harm.html#math_toolkit.special.sf_poly.sph_harm.accuracy">Accuracy</a>
</h5>
<p>
The following table shows peak errors for various domains of input arguments.
@@ -270,9 +269,9 @@
the order is also large. Further the relative errors are likely to grow
arbitrarily large when the function is very close to a root.
</p>
-<a name="math_toolkit.special.sf_poly.sph_harm.testing"></a><h5>
-<a name="math_toolkit.special.sf_poly.sph_harm.testing-heading"></a>
- <a class="link" href="sph_harm.html#math_toolkit.special.sf_poly.sph_harm.testing">Testing</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.sph_harm.h3"></a>
+ <span><a name="math_toolkit.special.sf_poly.sph_harm.testing"></a></span><a class="link" href="sph_harm.html#math_toolkit.special.sf_poly.sph_harm.testing">Testing</a>
</h5>
<p>
A mixture of spot tests of values calculated using functions.wolfram.com,
@@ -280,9 +279,9 @@
<a href="http://shoup.net/ntl/doc/RR.txt" target="_top">NTL::RR</a> at 1000-bit
precision.
</p>
-<a name="math_toolkit.special.sf_poly.sph_harm.implementation"></a><h5>
-<a name="math_toolkit.special.sf_poly.sph_harm.implementation-heading"></a>
- <a class="link" href="sph_harm.html#math_toolkit.special.sf_poly.sph_harm.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.sf_poly.sph_harm.h4"></a>
+ <span><a name="math_toolkit.special.sf_poly.sph_harm.implementation"></a></span><a class="link" href="sph_harm.html#math_toolkit.special.sf_poly.sph_harm.implementation">Implementation</a>
</h5>
<p>
These functions are implemented fairly naively using the formulae given
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc/sinc_pi.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc/sinc_pi.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc/sinc_pi.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,22 +27,21 @@
<a name="math_toolkit.special.sinc.sinc_pi"></a><a class="link" href="sinc_pi.html" title="sinc_pi">sinc_pi</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">sinc</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
+<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">sinc_pi</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">);</span>
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">sinc_pi</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">></span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">></span>
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">></span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">></span>
<span class="identifier">U</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">sinc_pi</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">U</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">x</span><span class="special">);</span>
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">></span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">></span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<span class="identifier">U</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">sinc_pi</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">U</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc/sinhc_pi.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc/sinhc_pi.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/sinc/sinhc_pi.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,22 +27,21 @@
<a name="math_toolkit.special.sinc.sinhc_pi"></a><a class="link" href="sinhc_pi.html" title="sinhc_pi">sinhc_pi</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">sinhc</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
+<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">sinhc_pi</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">);</span>
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">sinhc_pi</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">></span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">></span>
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">></span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">></span>
<span class="identifier">U</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">sinhc_pi</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">U</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">x</span><span class="special">);</span>
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">></span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span><span class="special">></span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
<span class="identifier">U</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">sinhc_pi</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">U</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/zetas/zeta.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/zetas/zeta.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/special/zetas/zeta.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,12 +26,11 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.special.zetas.zeta"></a><a class="link" href="zeta.html" title="Riemann Zeta Function">Riemann Zeta Function</a>
</h4></div></div></div>
-<a name="math_toolkit.special.zetas.zeta.synopsis"></a><h5>
-<a name="math_toolkit.special.zetas.zeta.synopsis-heading"></a>
- <a class="link" href="zeta.html#math_toolkit.special.zetas.zeta.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.special.zetas.zeta.h0"></a>
+ <span><a name="math_toolkit.special.zetas.zeta.synopsis"></a></span><a class="link" href="zeta.html#math_toolkit.special.zetas.zeta.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">zeta</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -56,9 +55,9 @@
optional and can be used to control the behaviour of the function: how
it handles errors, what level of precision to use etc. Refer to the <a class="link" href="../../policy.html" title="Policies">policy documentation for more details</a>.
</p>
-<a name="math_toolkit.special.zetas.zeta.description"></a><h5>
-<a name="math_toolkit.special.zetas.zeta.description-heading"></a>
- <a class="link" href="zeta.html#math_toolkit.special.zetas.zeta.description">Description</a>
+<h5>
+<a name="math_toolkit.special.zetas.zeta.h1"></a>
+ <span><a name="math_toolkit.special.zetas.zeta.description"></a></span><a class="link" href="zeta.html#math_toolkit.special.zetas.zeta.description">Description</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<a class="link" href="../../main_overview/result_type.html" title="Calculation of the Type of the Result"><span class="emphasis"><em>calculated-result-type</em></span></a> <span class="identifier">zeta</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">z</span><span class="special">);</span>
@@ -79,9 +78,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/zeta2.png" align="middle"></span>
</p>
-<a name="math_toolkit.special.zetas.zeta.accuracy"></a><h5>
-<a name="math_toolkit.special.zetas.zeta.accuracy-heading"></a>
- <a class="link" href="zeta.html#math_toolkit.special.zetas.zeta.accuracy">Accuracy</a>
+<h5>
+<a name="math_toolkit.special.zetas.zeta.h2"></a>
+ <span><a name="math_toolkit.special.zetas.zeta.accuracy"></a></span><a class="link" href="zeta.html#math_toolkit.special.zetas.zeta.accuracy">Accuracy</a>
</h5>
<p>
The following table shows the peak errors (in units of epsilon) found on
@@ -228,9 +227,9 @@
</tbody>
</table></div>
</div>
-<br class="table-break"><a name="math_toolkit.special.zetas.zeta.testing"></a><h5>
-<a name="math_toolkit.special.zetas.zeta.testing-heading"></a>
- <a class="link" href="zeta.html#math_toolkit.special.zetas.zeta.testing">Testing</a>
+<br class="table-break"><h5>
+<a name="math_toolkit.special.zetas.zeta.h3"></a>
+ <span><a name="math_toolkit.special.zetas.zeta.testing"></a></span><a class="link" href="zeta.html#math_toolkit.special.zetas.zeta.testing">Testing</a>
</h5>
<p>
The tests for these functions come in two parts: basic sanity checks use
@@ -243,9 +242,9 @@
"known good" implementations also provides an additional sanity
check.
</p>
-<a name="math_toolkit.special.zetas.zeta.implementation"></a><h5>
-<a name="math_toolkit.special.zetas.zeta.implementation-heading"></a>
- <a class="link" href="zeta.html#math_toolkit.special.zetas.zeta.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.special.zetas.zeta.h4"></a>
+ <span><a name="math_toolkit.special.zetas.zeta.implementation"></a></span><a class="link" href="zeta.html#math_toolkit.special.zetas.zeta.implementation">Implementation</a>
</h5>
<p>
All versions of these functions first use the usual reflection formulas
@@ -258,20 +257,16 @@
The generic versions of these functions are implemented using the series:
</p>
<p>
- <span class="inlinemediaobject"><img src="../../../../equations/zeta1.png"></span>
+ <span class="inlinemediaobject"><img src="../../../../equations/zeta6.png"></span>
</p>
<p>
- for large z, and using the globally convergent series:
+ except when the argument is close to 1, where the globally convergent series:
</p>
<p>
<span class="inlinemediaobject"><img src="../../../../equations/zeta2.png"></span>
</p>
<p>
- In all other cases. The crossover point for these is chosen so that the
- first series is used only if it will converge reasonably quickly, the problem
- with this series is that convergence become slower the more terms you take,
- so we really do have to be certain of convergence before using this series,
- even though the alternative is often quite slow.
+ Is used.
</p>
<p>
When the significand (mantissa) size is recognised (currently for 53, 64
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/history1.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/history1.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/history1.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,9 +26,9 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="math_toolkit.status.history1"></a><a class="link" href="history1.html" title="History and What's New">History and What's New</a>
</h3></div></div></div>
-<a name="math_toolkit.status.history1.boost_1_48"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_48-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_48">Boost-1.48</a>
+<h5>
+<a name="math_toolkit.status.history1.h0"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_48"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_48">Boost-1.48</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -77,9 +77,9 @@
Minor patches for Cray compiler compatibility.
</li>
</ul></div>
-<a name="math_toolkit.status.history1.boost_1_47"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_47-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_47">Boost-1.47</a>
+<h5>
+<a name="math_toolkit.status.history1.h1"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_47"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_47">Boost-1.47</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -94,17 +94,17 @@
Added tests and documentation of changesign from Johan Rade.
</li>
</ul></div>
-<a name="math_toolkit.status.history1.boost_1_46_1"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_46_1-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_46_1">Boost-1.46.1</a>
+<h5>
+<a name="math_toolkit.status.history1.h2"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_46_1"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_46_1">Boost-1.46.1</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Fixed issues #5095,
<a href="https://svn.boost.org/trac/boost/ticket/5095" target="_top">#5113</a>.
</li></ul></div>
-<a name="math_toolkit.status.history1.boost_1_46_0"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_46_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_46_0">Boost-1.46.0</a>
+<h5>
+<a name="math_toolkit.status.history1.h3"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_46_0"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_46_0">Boost-1.46.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -117,9 +117,9 @@
Added support for mpreal as a real-numbered type.
</li>
</ul></div>
-<a name="math_toolkit.status.history1.boost_1_45_0"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_45_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_45_0">Boost-1.45.0</a>
+<h5>
+<a name="math_toolkit.status.history1.h4"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_45_0"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_45_0">Boost-1.45.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -134,9 +134,9 @@
Editorial revision of documentation, and added FAQ.
</li>
</ul></div>
-<a name="math_toolkit.status.history1.boost_1_44_0"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_44_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_44_0">Boost-1.44.0</a>
+<h5>
+<a name="math_toolkit.status.history1.h5"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_44_0"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_44_0">Boost-1.44.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -148,17 +148,17 @@
freedom between 2 and 3.
</li>
</ul></div>
-<a name="math_toolkit.status.history1.boost_1_41_0"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_41_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_41_0">Boost-1.41.0</a>
+<h5>
+<a name="math_toolkit.status.history1.h6"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_41_0"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_41_0">Boost-1.41.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Significantly improved performance for the incomplete gamma function
and its inverse.
</li></ul></div>
-<a name="math_toolkit.status.history1.boost_1_40_0"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_40_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_40_0">Boost-1.40.0</a>
+<h5>
+<a name="math_toolkit.status.history1.h7"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_40_0"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_40_0">Boost-1.40.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -193,9 +193,9 @@
Fixed minor bugs #2873.
</li>
</ul></div>
-<a name="math_toolkit.status.history1.boost_1_38_0"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_38_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_38_0">Boost-1.38.0</a>
+<h5>
+<a name="math_toolkit.status.history1.h8"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_38_0"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_38_0">Boost-1.38.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -205,16 +205,16 @@
Fixed code so that it compiles in GCC's -pedantic mode (bug report #1451).
</li>
</ul></div>
-<a name="math_toolkit.status.history1.boost_1_37_0"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_37_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_37_0">Boost-1.37.0</a>
+<h5>
+<a name="math_toolkit.status.history1.h9"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_37_0"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_37_0">Boost-1.37.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Improved accuracy and testing of the inverse hypergeometric functions.
</li></ul></div>
-<a name="math_toolkit.status.history1.boost_1_36_0"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_36_0-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_36_0">Boost-1.36.0</a>
+<h5>
+<a name="math_toolkit.status.history1.h10"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_36_0"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_36_0">Boost-1.36.0</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -245,9 +245,9 @@
Added SSE2 optimizations for Lanczos evaluation.
</li>
</ul></div>
-<a name="math_toolkit.status.history1.boost_1_35_0__post_review_first_official_release"></a><h5>
-<a name="math_toolkit.status.history1.boost_1_35_0__post_review_first_official_release-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.boost_1_35_0__post_review_first_official_release">Boost-1.35.0:
+<h5>
+<a name="math_toolkit.status.history1.h11"></a>
+ <span><a name="math_toolkit.status.history1.boost_1_35_0__post_review_first_official_release"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.boost_1_35_0__post_review_first_official_release">Boost-1.35.0:
Post Review First Official Release</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
@@ -277,9 +277,9 @@
Added performance test program.
</li>
</ul></div>
-<a name="math_toolkit.status.history1.milestone_4__second_review_candidate__1st_march_2007_"></a><h5>
-<a name="math_toolkit.status.history1.milestone_4__second_review_candidate__1st_march_2007_-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.milestone_4__second_review_candidate__1st_march_2007_">Milestone
+<h5>
+<a name="math_toolkit.status.history1.h12"></a>
+ <span><a name="math_toolkit.status.history1.milestone_4__second_review_candidate__1st_march_2007_"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.milestone_4__second_review_candidate__1st_march_2007_">Milestone
4: Second Review Candidate (1st March 2007)</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
@@ -291,9 +291,9 @@
Added C# "Distribution Explorer" demo application.
</li>
</ul></div>
-<a name="math_toolkit.status.history1.milestone_3__first_review_candidate__31st_dec_2006_"></a><h5>
-<a name="math_toolkit.status.history1.milestone_3__first_review_candidate__31st_dec_2006_-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.milestone_3__first_review_candidate__31st_dec_2006_">Milestone
+<h5>
+<a name="math_toolkit.status.history1.h13"></a>
+ <span><a name="math_toolkit.status.history1.milestone_3__first_review_candidate__31st_dec_2006_"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.milestone_3__first_review_candidate__31st_dec_2006_">Milestone
3: First Review Candidate (31st Dec 2006)</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
@@ -319,9 +319,9 @@
library and brought them into line with the rest of the code.
</li>
</ul></div>
-<a name="math_toolkit.status.history1.milestone_2__released_september_10th_2006"></a><h5>
-<a name="math_toolkit.status.history1.milestone_2__released_september_10th_2006-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.milestone_2__released_september_10th_2006">Milestone
+<h5>
+<a name="math_toolkit.status.history1.h14"></a>
+ <span><a name="math_toolkit.status.history1.milestone_2__released_september_10th_2006"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.milestone_2__released_september_10th_2006">Milestone
2: Released September 10th 2006</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
@@ -355,9 +355,9 @@
Implemented Rational function generation (the Remez method).
</li>
</ul></div>
-<a name="math_toolkit.status.history1.milestone_1__released_march_31st_2006"></a><h5>
-<a name="math_toolkit.status.history1.milestone_1__released_march_31st_2006-heading"></a>
- <a class="link" href="history1.html#math_toolkit.status.history1.milestone_1__released_march_31st_2006">Milestone
+<h5>
+<a name="math_toolkit.status.history1.h15"></a>
+ <span><a name="math_toolkit.status.history1.milestone_1__released_march_31st_2006"></a></span><a class="link" href="history1.html#math_toolkit.status.history1.milestone_1__released_march_31st_2006">Milestone
1: Released March 31st 2006</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/issues.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/issues.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/status/issues.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -39,33 +39,35 @@
If you don't see a component listed here, then we don't have any known issues
with it.
</p>
-<a name="math_toolkit.status.issues.tgamma"></a><h5>
-<a name="math_toolkit.status.issues.tgamma-heading"></a>
- <a class="link" href="issues.html#math_toolkit.status.issues.tgamma">tgamma</a>
+<h5>
+<a name="math_toolkit.status.issues.h0"></a>
+ <span><a name="math_toolkit.status.issues.tgamma"></a></span><a class="link" href="issues.html#math_toolkit.status.issues.tgamma">tgamma</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Can the <a class="link" href="../backgrounders/lanczos.html" title="The Lanczos Approximation">Lanczos approximation</a>
be optimized any further? (low priority)
</li></ul></div>
-<a name="math_toolkit.status.issues.incomplete_beta"></a><h5>
-<a name="math_toolkit.status.issues.incomplete_beta-heading"></a>
- <a class="link" href="issues.html#math_toolkit.status.issues.incomplete_beta">Incomplete Beta</a>
+<h5>
+<a name="math_toolkit.status.issues.h1"></a>
+ <span><a name="math_toolkit.status.issues.incomplete_beta"></a></span><a class="link" href="issues.html#math_toolkit.status.issues.incomplete_beta">Incomplete
+ Beta</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Investigate Didonato and Morris' asymptotic expansion for large a and
b (medium priority).
</li></ul></div>
-<a name="math_toolkit.status.issues.inverse_gamma"></a><h5>
-<a name="math_toolkit.status.issues.inverse_gamma-heading"></a>
- <a class="link" href="issues.html#math_toolkit.status.issues.inverse_gamma">Inverse Gamma</a>
+<h5>
+<a name="math_toolkit.status.issues.h2"></a>
+ <span><a name="math_toolkit.status.issues.inverse_gamma"></a></span><a class="link" href="issues.html#math_toolkit.status.issues.inverse_gamma">Inverse
+ Gamma</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Investigate whether we can skip iteration altogether if the first approximation
is good enough (Medium Priority).
</li></ul></div>
-<a name="math_toolkit.status.issues.polynomials"></a><h5>
-<a name="math_toolkit.status.issues.polynomials-heading"></a>
- <a class="link" href="issues.html#math_toolkit.status.issues.polynomials">Polynomials</a>
+<h5>
+<a name="math_toolkit.status.issues.h3"></a>
+ <span><a name="math_toolkit.status.issues.polynomials"></a></span><a class="link" href="issues.html#math_toolkit.status.issues.polynomials">Polynomials</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
The Legendre and Laguerre Polynomials have surprisingly different error
@@ -73,9 +75,10 @@
basic arithmetic operations. Maybe this is telling us something, or maybe
not (Low Priority).
</li></ul></div>
-<a name="math_toolkit.status.issues.elliptic_integrals"></a><h5>
-<a name="math_toolkit.status.issues.elliptic_integrals-heading"></a>
- <a class="link" href="issues.html#math_toolkit.status.issues.elliptic_integrals">Elliptic Integrals</a>
+<h5>
+<a name="math_toolkit.status.issues.h4"></a>
+ <span><a name="math_toolkit.status.issues.elliptic_integrals"></a></span><a class="link" href="issues.html#math_toolkit.status.issues.elliptic_integrals">Elliptic
+ Integrals</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
@@ -125,9 +128,9 @@
this domain either (Medium Priority).
</li>
</ul></div>
-<a name="math_toolkit.status.issues.inverse_hyperbolic_functions"></a><h5>
-<a name="math_toolkit.status.issues.inverse_hyperbolic_functions-heading"></a>
- <a class="link" href="issues.html#math_toolkit.status.issues.inverse_hyperbolic_functions">Inverse
+<h5>
+<a name="math_toolkit.status.issues.h5"></a>
+ <span><a name="math_toolkit.status.issues.inverse_hyperbolic_functions"></a></span><a class="link" href="issues.html#math_toolkit.status.issues.inverse_hyperbolic_functions">Inverse
Hyperbolic Functions</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
@@ -135,27 +138,28 @@
available. Would they be better expressed in terms of this function?
This is probably only an issue for very high precision types (Low Priority).
</li></ul></div>
-<a name="math_toolkit.status.issues.jocobi_elliptic_functions"></a><h5>
-<a name="math_toolkit.status.issues.jocobi_elliptic_functions-heading"></a>
- <a class="link" href="issues.html#math_toolkit.status.issues.jocobi_elliptic_functions">Jocobi
- elliptic functions</a>
+<h5>
+<a name="math_toolkit.status.issues.h6"></a>
+ <span><a name="math_toolkit.status.issues.jocobi_elliptic_functions"></a></span><a class="link" href="issues.html#math_toolkit.status.issues.jocobi_elliptic_functions">Jocobi elliptic
+ functions</a>
</h5>
<p>
These are useful in engineering applications - we have had a request to add
these.
</p>
-<a name="math_toolkit.status.issues.statistical_distributions"></a><h5>
-<a name="math_toolkit.status.issues.statistical_distributions-heading"></a>
- <a class="link" href="issues.html#math_toolkit.status.issues.statistical_distributions">Statistical
+<h5>
+<a name="math_toolkit.status.issues.h7"></a>
+ <span><a name="math_toolkit.status.issues.statistical_distributions"></a></span><a class="link" href="issues.html#math_toolkit.status.issues.statistical_distributions">Statistical
distributions</a>
</h5>
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
Student's t Perhaps switch to normal distribution as a better approximation
for very large degrees of freedom?
</li></ul></div>
-<a name="math_toolkit.status.issues.feature_requests"></a><h5>
-<a name="math_toolkit.status.issues.feature_requests-heading"></a>
- <a class="link" href="issues.html#math_toolkit.status.issues.feature_requests">Feature Requests</a>
+<h5>
+<a name="math_toolkit.status.issues.h8"></a>
+ <span><a name="math_toolkit.status.issues.feature_requests"></a></span><a class="link" href="issues.html#math_toolkit.status.issues.feature_requests">Feature
+ Requests</a>
</h5>
<p>
The following table lists distributions that are found in other packages
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/cf.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/cf.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/cf.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.toolkit.internals1.cf"></a><a class="link" href="cf.html" title="Continued Fraction Evaluation">Continued Fraction
Evaluation</a>
</h4></div></div></div>
-<a name="math_toolkit.toolkit.internals1.cf.synopsis"></a><h5>
-<a name="math_toolkit.toolkit.internals1.cf.synopsis-heading"></a>
- <a class="link" href="cf.html#math_toolkit.toolkit.internals1.cf.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.cf.h0"></a>
+ <span><a name="math_toolkit.toolkit.internals1.cf.synopsis"></a></span><a class="link" href="cf.html#math_toolkit.toolkit.internals1.cf.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">tools</span><span class="special">/</span><span class="identifier">fraction</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -41,45 +40,45 @@
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">tools</span><span class="special">{</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Gen</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">></span>
-<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
+<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
<span class="identifier">continued_fraction_b</span><span class="special">(</span><span class="identifier">Gen</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">U</span><span class="special">&</span> <span class="identifier">tolerance</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_terms</span><span class="special">)</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Gen</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">></span>
-<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
+<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
<span class="identifier">continued_fraction_b</span><span class="special">(</span><span class="identifier">Gen</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">U</span><span class="special">&</span> <span class="identifier">tolerance</span><span class="special">)</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Gen</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">></span>
-<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
+<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
<span class="identifier">continued_fraction_a</span><span class="special">(</span><span class="identifier">Gen</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">U</span><span class="special">&</span> <span class="identifier">tolerance</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_terms</span><span class="special">)</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Gen</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">></span>
-<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
+<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
<span class="identifier">continued_fraction_a</span><span class="special">(</span><span class="identifier">Gen</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">U</span><span class="special">&</span> <span class="identifier">tolerance</span><span class="special">)</span>
<span class="comment">//</span>
<span class="comment">// These interfaces are present for legacy reasons, and are now deprecated:</span>
<span class="comment">//</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Gen</span><span class="special">></span>
-<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
+<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
<span class="identifier">continued_fraction_b</span><span class="special">(</span><span class="identifier">Gen</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="keyword">int</span> <span class="identifier">bits</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Gen</span><span class="special">></span>
-<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
+<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
<span class="identifier">continued_fraction_b</span><span class="special">(</span><span class="identifier">Gen</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="keyword">int</span> <span class="identifier">bits</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_terms</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Gen</span><span class="special">></span>
-<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
+<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
<span class="identifier">continued_fraction_a</span><span class="special">(</span><span class="identifier">Gen</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="keyword">int</span> <span class="identifier">bits</span><span class="special">);</span>
-
+
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Gen</span><span class="special">></span>
-<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
+<span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">fraction_traits</span><span class="special"><</span><span class="identifier">Gen</span><span class="special">>::</span><span class="identifier">result_type</span>
<span class="identifier">continued_fraction_a</span><span class="special">(</span><span class="identifier">Gen</span><span class="special">&</span> <span class="identifier">g</span><span class="special">,</span> <span class="keyword">int</span> <span class="identifier">bits</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_terms</span><span class="special">);</span>
-
+
<span class="special">}}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.toolkit.internals1.cf.description"></a><h5>
-<a name="math_toolkit.toolkit.internals1.cf.description-heading"></a>
- <a class="link" href="cf.html#math_toolkit.toolkit.internals1.cf.description">Description</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.cf.h1"></a>
+ <span><a name="math_toolkit.toolkit.internals1.cf.description"></a></span><a class="link" href="cf.html#math_toolkit.toolkit.internals1.cf.description">Description</a>
</h5>
<p>
<a href="http://en.wikipedia.org/wiki/Continued_fraction" target="_top">Continued
@@ -177,9 +176,9 @@
number of calls made. This facility is particularly useful when profiling
a continued fraction for convergence.
</p>
-<a name="math_toolkit.toolkit.internals1.cf.implementation"></a><h5>
-<a name="math_toolkit.toolkit.internals1.cf.implementation-heading"></a>
- <a class="link" href="cf.html#math_toolkit.toolkit.internals1.cf.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.cf.h2"></a>
+ <span><a name="math_toolkit.toolkit.internals1.cf.implementation"></a></span><a class="link" href="cf.html#math_toolkit.toolkit.internals1.cf.implementation">Implementation</a>
</h5>
<p>
Internally these algorithms all use the modified Lentz algorithm: refer
@@ -187,9 +186,9 @@
Evaluation of continued fractions, p 175 - 179) for more information, also
Lentz, W.J. 1976, Applied Optics, vol. 15, pp. 668-671.
</p>
-<a name="math_toolkit.toolkit.internals1.cf.examples"></a><h5>
-<a name="math_toolkit.toolkit.internals1.cf.examples-heading"></a>
- <a class="link" href="cf.html#math_toolkit.toolkit.internals1.cf.examples">Examples</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.cf.h3"></a>
+ <span><a name="math_toolkit.toolkit.internals1.cf.examples"></a></span><a class="link" href="cf.html#math_toolkit.toolkit.internals1.cf.examples">Examples</a>
</h5>
<p>
The <a href="http://en.wikipedia.org/wiki/Golden_ratio" target="_top">golden ratio
@@ -206,7 +205,7 @@
<span class="keyword">struct</span> <span class="identifier">golden_ratio_fraction</span>
<span class="special">{</span>
<span class="keyword">typedef</span> <span class="identifier">T</span> <span class="identifier">result_type</span><span class="special">;</span>
-
+
<span class="identifier">result_type</span> <span class="keyword">operator</span><span class="special">()</span>
<span class="special">{</span>
<span class="keyword">return</span> <span class="number">1</span><span class="special">;</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/constants.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/constants.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/constants.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.toolkit.internals1.constants"></a><a class="link" href="constants.html" title="Numeric Constants">Numeric
Constants</a>
</h4></div></div></div>
-<a name="math_toolkit.toolkit.internals1.constants.synopsis"></a><h5>
-<a name="math_toolkit.toolkit.internals1.constants.synopsis-heading"></a>
- <a class="link" href="constants.html#math_toolkit.toolkit.internals1.constants.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.constants.h0"></a>
+ <span><a name="math_toolkit.toolkit.internals1.constants.synopsis"></a></span><a class="link" href="constants.html#math_toolkit.toolkit.internals1.constants.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">constants</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -58,9 +57,9 @@
<span class="special">}}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.toolkit.internals1.constants.description"></a><h5>
-<a name="math_toolkit.toolkit.internals1.constants.description-heading"></a>
- <a class="link" href="constants.html#math_toolkit.toolkit.internals1.constants.description">Description</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.constants.h1"></a>
+ <span><a name="math_toolkit.toolkit.internals1.constants.description"></a></span><a class="link" href="constants.html#math_toolkit.toolkit.internals1.constants.description">Description</a>
</h5>
<p>
The header <code class="computeroutput"><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">constants</span><span class="special">.</span><span class="identifier">hpp</span></code> contains some numeric constants that
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/minima.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/minima.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/minima.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.toolkit.internals1.minima"></a><a class="link" href="minima.html" title="Locating Function Minima: Brent's algorithm">Locating Function
Minima: Brent's algorithm</a>
</h4></div></div></div>
-<a name="math_toolkit.toolkit.internals1.minima.synopsis"></a><h5>
-<a name="math_toolkit.toolkit.internals1.minima.synopsis-heading"></a>
- <a class="link" href="minima.html#math_toolkit.toolkit.internals1.minima.synopsis">synopsis</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.minima.h0"></a>
+ <span><a name="math_toolkit.toolkit.internals1.minima.synopsis"></a></span><a class="link" href="minima.html#math_toolkit.toolkit.internals1.minima.synopsis">synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">tools</span><span class="special">/</span><span class="identifier">minima</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -44,9 +43,9 @@
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span> <span class="identifier">brent_find_minima</span><span class="special">(</span><span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span> <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span> <span class="keyword">int</span> <span class="identifier">bits</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">);</span>
</pre>
-<a name="math_toolkit.toolkit.internals1.minima.description"></a><h5>
-<a name="math_toolkit.toolkit.internals1.minima.description-heading"></a>
- <a class="link" href="minima.html#math_toolkit.toolkit.internals1.minima.description">Description</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.minima.h1"></a>
+ <span><a name="math_toolkit.toolkit.internals1.minima.description"></a></span><a class="link" href="minima.html#math_toolkit.toolkit.internals1.minima.description">Description</a>
</h5>
<p>
These two functions locate the minima of the continuous function <span class="emphasis"><em>f</em></span>
@@ -89,9 +88,9 @@
<span class="bold"><strong>Returns:</strong></span> a pair containing the value of
the abscissa at the minima and the value of f(x) at the minima.
</p>
-<a name="math_toolkit.toolkit.internals1.minima.implementation"></a><h5>
-<a name="math_toolkit.toolkit.internals1.minima.implementation-heading"></a>
- <a class="link" href="minima.html#math_toolkit.toolkit.internals1.minima.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.minima.h2"></a>
+ <span><a name="math_toolkit.toolkit.internals1.minima.implementation"></a></span><a class="link" href="minima.html#math_toolkit.toolkit.internals1.minima.implementation">Implementation</a>
</h5>
<p>
This is a reasonably faithful implementation of Brent's algorithm, refer
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/rational.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/rational.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/rational.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.toolkit.internals1.rational"></a><a class="link" href="rational.html" title="Polynomial and Rational Function Evaluation">Polynomial
and Rational Function Evaluation</a>
</h4></div></div></div>
-<a name="math_toolkit.toolkit.internals1.rational.synopsis"></a><h5>
-<a name="math_toolkit.toolkit.internals1.rational.synopsis-heading"></a>
- <a class="link" href="rational.html#math_toolkit.toolkit.internals1.rational.synopsis">synopsis</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.rational.h0"></a>
+ <span><a name="math_toolkit.toolkit.internals1.rational.synopsis"></a></span><a class="link" href="rational.html#math_toolkit.toolkit.internals1.rational.synopsis">synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">tools</span><span class="special">/</span><span class="identifier">rational</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -78,9 +77,9 @@
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">U</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">V</span><span class="special">></span>
<span class="identifier">V</span> <span class="identifier">evaluate_rational</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span><span class="special">*</span> <span class="identifier">num</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">U</span><span class="special">*</span> <span class="identifier">denom</span><span class="special">,</span> <span class="identifier">V</span> <span class="identifier">z</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">count</span><span class="special">);</span>
</pre>
-<a name="math_toolkit.toolkit.internals1.rational.description"></a><h5>
-<a name="math_toolkit.toolkit.internals1.rational.description-heading"></a>
- <a class="link" href="rational.html#math_toolkit.toolkit.internals1.rational.description">Description</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.rational.h1"></a>
+ <span><a name="math_toolkit.toolkit.internals1.rational.description"></a></span><a class="link" href="rational.html#math_toolkit.toolkit.internals1.rational.description">Description</a>
</h5>
<p>
Each of the functions come in three variants: a pair of overloaded functions
@@ -192,9 +191,9 @@
if you can be sure that numerical overflow will not occur then polynomial
evaluation with compile-time array sizes may offer slightly better performance.
</p>
-<a name="math_toolkit.toolkit.internals1.rational.implementation"></a><h5>
-<a name="math_toolkit.toolkit.internals1.rational.implementation-heading"></a>
- <a class="link" href="rational.html#math_toolkit.toolkit.internals1.rational.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.rational.h2"></a>
+ <span><a name="math_toolkit.toolkit.internals1.rational.implementation"></a></span><a class="link" href="rational.html#math_toolkit.toolkit.internals1.rational.implementation">Implementation</a>
</h5>
<p>
Polynomials are evaluated by <a href="http://en.wikipedia.org/wiki/Horner_algorithm" target="_top">Horners
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/roots.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/roots.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/roots.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,18 +27,17 @@
<a name="math_toolkit.toolkit.internals1.roots"></a><a class="link" href="roots.html" title="Root Finding With Derivatives: Newton-Raphson, Halley & Schroeder">Root Finding
With Derivatives: Newton-Raphson, Halley & Schroeder</a>
</h4></div></div></div>
-<a name="math_toolkit.toolkit.internals1.roots.synopsis"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots.synopsis-heading"></a>
- <a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.roots.h0"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots.synopsis"></a></span><a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">tools</span><span class="special">/</span><span class="identifier">roots</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
<span class="keyword">namespace</span> <span class="identifier">tools</span><span class="special">{</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
@@ -61,9 +60,9 @@
<span class="special">}}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.toolkit.internals1.roots.description"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots.description-heading"></a>
- <a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.description">Description</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.roots.h1"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots.description"></a></span><a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.description">Description</a>
</h5>
<p>
These functions all perform iterative root finding using derivatives:
@@ -205,9 +204,9 @@
themselves. As ever, algebraic simplification can be a big win.
</li>
</ul></div>
-<a name="newton"></a><a name="math_toolkit.toolkit.internals1.roots.newton_raphson_method"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots.newton_raphson_method-heading"></a>
- <a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.newton_raphson_method">Newton
+<a name="newton"></a><h5>
+<a name="math_toolkit.toolkit.internals1.roots.h2"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots.newton_raphson_method"></a></span><a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.newton_raphson_method">Newton
Raphson Method</a>
</h5>
<p>
@@ -223,9 +222,9 @@
Under ideal conditions, the number of correct digits doubles with each
iteration.
</p>
-<a name="halley"></a><a name="math_toolkit.toolkit.internals1.roots.halley_s_method"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots.halley_s_method-heading"></a>
- <a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.halley_s_method">Halley's
+<a name="halley"></a><h5>
+<a name="math_toolkit.toolkit.internals1.roots.h3"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots.halley_s_method"></a></span><a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.halley_s_method">Halley's
Method</a>
</h5>
<p>
@@ -245,9 +244,9 @@
Under ideal conditions, the number of correct digits trebles with each
iteration.
</p>
-<a name="schroeder"></a><a name="math_toolkit.toolkit.internals1.roots.schroeder_s_method"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots.schroeder_s_method-heading"></a>
- <a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.schroeder_s_method">Schroeder's
+<a name="schroeder"></a><h5>
+<a name="math_toolkit.toolkit.internals1.roots.h4"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots.schroeder_s_method"></a></span><a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.schroeder_s_method">Schroeder's
Method</a>
</h5>
<p>
@@ -269,9 +268,9 @@
Under ideal conditions, the number of correct digits trebles with each
iteration.
</p>
-<a name="math_toolkit.toolkit.internals1.roots.example"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots.example-heading"></a>
- <a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.example">Example</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.roots.h5"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots.example"></a></span><a class="link" href="roots.html#math_toolkit.toolkit.internals1.roots.example">Example</a>
</h5>
<p>
Let's suppose we want to find the cube root of a number: the equation we
@@ -353,7 +352,7 @@
<a class="link" href="tuples.html" title="Tuples">boost::math::tuple</a><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">z</span><span class="special">)</span>
<span class="special">{</span>
<span class="keyword">return</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">make_tuple</span><span class="special">(</span>
- <span class="identifier">z</span><span class="special">*</span><span class="identifier">z</span><span class="special">*</span><span class="identifier">z</span> <span class="special">-</span> <span class="identifier">a</span><span class="special">,</span>
+ <span class="identifier">z</span><span class="special">*</span><span class="identifier">z</span><span class="special">*</span><span class="identifier">z</span> <span class="special">-</span> <span class="identifier">a</span><span class="special">,</span>
<span class="number">3</span> <span class="special">*</span> <span class="identifier">z</span><span class="special">*</span><span class="identifier">z</span><span class="special">,</span>
<span class="number">6</span> <span class="special">*</span> <span class="identifier">z</span><span class="special">);</span>
<span class="special">}</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/roots2.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/roots2.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/roots2.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.toolkit.internals1.roots2"></a><a class="link" href="roots2.html" title="Root Finding Without Derivatives: Bisection, Bracket and TOMS748">Root Finding
Without Derivatives: Bisection, Bracket and TOMS748</a>
</h4></div></div></div>
-<a name="math_toolkit.toolkit.internals1.roots2.synopsis"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots2.synopsis-heading"></a>
- <a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.roots2.h0"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots2.synopsis"></a></span><a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">tools</span><span class="special">/</span><span class="identifier">roots</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -42,94 +41,94 @@
<span class="keyword">namespace</span> <span class="identifier">tools</span><span class="special">{</span>
<span class="comment">// Bisection</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">></span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">bisect</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">></span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">bisect</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
<span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">bisect</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">,</span>
<span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
<span class="comment">// Bracket and Solve Root</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">></span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">bracket_and_solve_root</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">guess</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">factor</span><span class="special">,</span>
- <span class="keyword">bool</span> <span class="identifier">rising</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">guess</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">factor</span><span class="special">,</span>
+ <span class="keyword">bool</span> <span class="identifier">rising</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">bracket_and_solve_root</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">guess</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">factor</span><span class="special">,</span>
- <span class="keyword">bool</span> <span class="identifier">rising</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">guess</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">factor</span><span class="special">,</span>
+ <span class="keyword">bool</span> <span class="identifier">rising</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">,</span>
<span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
<span class="comment">// TOMS 748 algorithm</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">></span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">toms748_solve</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">toms748_solve</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">,</span>
<span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">></span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">toms748_solve</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fa</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fb</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fa</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fb</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
- <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+ <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">toms748_solve</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fa</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fb</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fa</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fb</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">,</span>
<span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
@@ -140,12 +139,12 @@
<span class="keyword">struct</span> <span class="identifier">equal_floor</span><span class="special">;</span>
<span class="keyword">struct</span> <span class="identifier">equal_ceil</span><span class="special">;</span>
<span class="keyword">struct</span> <span class="identifier">equal_nearest_integer</span><span class="special">;</span>
-
+
<span class="special">}}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.toolkit.internals1.roots2.description"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots2.description-heading"></a>
- <a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.description">Description</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.roots2.h1"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots2.description"></a></span><a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.description">Description</a>
</h5>
<p>
These functions solve the root of some function <span class="emphasis"><em>f(x)</em></span>
@@ -180,34 +179,34 @@
to be an integer. Other user-defined termination conditions are likely
to be used only rarely, but may be useful in some specific circumstances.
</p>
-<a name="math_toolkit.toolkit.internals1.roots2.bisection"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots2.bisection-heading"></a>
- <a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.bisection">Bisection</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.roots2.h2"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots2.bisection"></a></span><a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.bisection">Bisection</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">></span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">bisect</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">></span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">bisect</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
<span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">bisect</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
- <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">min</span><span class="special">,</span>
+ <span class="identifier">T</span> <span class="identifier">max</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">,</span>
<span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
@@ -279,29 +278,29 @@
when the function returns), rather than because the termination condition
<span class="emphasis"><em>tol</em></span> was satisfied.
</p>
-<a name="math_toolkit.toolkit.internals1.roots2.bracket_and_solve"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots2.bracket_and_solve-heading"></a>
- <a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.bracket_and_solve">Bracket
+<h5>
+<a name="math_toolkit.toolkit.internals1.roots2.h3"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots2.bracket_and_solve"></a></span><a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.bracket_and_solve">Bracket
and solve</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">></span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">bracket_and_solve_root</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">guess</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">factor</span><span class="special">,</span>
- <span class="keyword">bool</span> <span class="identifier">rising</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">guess</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">factor</span><span class="special">,</span>
+ <span class="keyword">bool</span> <span class="identifier">rising</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">bracket_and_solve_root</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">guess</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">factor</span><span class="special">,</span>
- <span class="keyword">bool</span> <span class="identifier">rising</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">guess</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">factor</span><span class="special">,</span>
+ <span class="keyword">bool</span> <span class="identifier">rising</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">,</span>
<span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
@@ -387,50 +386,50 @@
the function returns), rather than because the termination condition <span class="emphasis"><em>tol</em></span>
was satisfied.
</p>
-<a name="math_toolkit.toolkit.internals1.roots2.algorithm_toms_748__alefeld__potra_and_shi__enclosing_zeros_of_continuous_functions"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots2.algorithm_toms_748__alefeld__potra_and_shi__enclosing_zeros_of_continuous_functions-heading"></a>
- <a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.algorithm_toms_748__alefeld__potra_and_shi__enclosing_zeros_of_continuous_functions">Algorithm
+<h5>
+<a name="math_toolkit.toolkit.internals1.roots2.h4"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots2.algorithm_toms_748__alefeld__potra_and_shi__enclosing_zeros_of_continuous_functions"></a></span><a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.algorithm_toms_748__alefeld__potra_and_shi__enclosing_zeros_of_continuous_functions">Algorithm
TOMS 748: Alefeld, Potra and Shi: Enclosing zeros of continuous functions</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">></span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">toms748_solve</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">toms748_solve</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">,</span>
<span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">></span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">toms748_solve</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fa</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fb</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fa</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fb</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">);</span>
-
+
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Tol</span><span class="special">,</span> <span class="keyword">class</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">></span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special"><</span><span class="identifier">T</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">toms748_solve</span><span class="special">(</span>
- <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fa</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fb</span><span class="special">,</span>
- <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
+ <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">b</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fa</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">T</span><span class="special">&</span> <span class="identifier">fb</span><span class="special">,</span>
+ <span class="identifier">Tol</span> <span class="identifier">tol</span><span class="special">,</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uintmax_t</span><span class="special">&</span> <span class="identifier">max_iter</span><span class="special">,</span>
<span class="keyword">const</span> <a class="link" href="../../policy.html" title="Policies">Policy</a><span class="special">&);</span>
</pre>
@@ -553,9 +552,9 @@
that is the <span class="emphasis"><em>closest</em></span> to the true root. It will terminate
as soon as both ends of the interval round to the same nearest integer.
</p>
-<a name="math_toolkit.toolkit.internals1.roots2.implementation"></a><h5>
-<a name="math_toolkit.toolkit.internals1.roots2.implementation-heading"></a>
- <a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.implementation">Implementation</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.roots2.h5"></a>
+ <span><a name="math_toolkit.toolkit.internals1.roots2.implementation"></a></span><a class="link" href="roots2.html#math_toolkit.toolkit.internals1.roots2.implementation">Implementation</a>
</h5>
<p>
The implementation of the bisection algorithm is extremely straightforward
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/series_evaluation.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/series_evaluation.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/series_evaluation.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.toolkit.internals1.series_evaluation"></a><a class="link" href="series_evaluation.html" title="Series Evaluation">Series
Evaluation</a>
</h4></div></div></div>
-<a name="math_toolkit.toolkit.internals1.series_evaluation.synopsis"></a><h5>
-<a name="math_toolkit.toolkit.internals1.series_evaluation.synopsis-heading"></a>
- <a class="link" href="series_evaluation.html#math_toolkit.toolkit.internals1.series_evaluation.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.series_evaluation.h0"></a>
+ <span><a name="math_toolkit.toolkit.internals1.series_evaluation.synopsis"></a></span><a class="link" href="series_evaluation.html#math_toolkit.toolkit.internals1.series_evaluation.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">tools</span><span class="special">/</span><span class="identifier">series</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -69,9 +68,9 @@
<span class="special">}}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.toolkit.internals1.series_evaluation.description"></a><h5>
-<a name="math_toolkit.toolkit.internals1.series_evaluation.description-heading"></a>
- <a class="link" href="series_evaluation.html#math_toolkit.toolkit.internals1.series_evaluation.description">Description</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.series_evaluation.h1"></a>
+ <span><a name="math_toolkit.toolkit.internals1.series_evaluation.description"></a></span><a class="link" href="series_evaluation.html#math_toolkit.toolkit.internals1.series_evaluation.description">Description</a>
</h5>
<p>
These algorithms are intended for the <a href="http://en.wikipedia.org/wiki/Series_%28mathematics%29" target="_top">summation
@@ -126,9 +125,9 @@
However, it should be pointed out that there are very few series that require
summation in this way.
</p>
-<a name="math_toolkit.toolkit.internals1.series_evaluation.example"></a><h5>
-<a name="math_toolkit.toolkit.internals1.series_evaluation.example-heading"></a>
- <a class="link" href="series_evaluation.html#math_toolkit.toolkit.internals1.series_evaluation.example">Example</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.series_evaluation.h2"></a>
+ <span><a name="math_toolkit.toolkit.internals1.series_evaluation.example"></a></span><a class="link" href="series_evaluation.html#math_toolkit.toolkit.internals1.series_evaluation.example">Example</a>
</h5>
<p>
Let's suppose we want to implement <span class="emphasis"><em>log(1+x)</em></span> via its
@@ -157,7 +156,7 @@
<span class="comment">// the first term of the series, the second call the second </span>
<span class="comment">// term and so on.</span>
<span class="identifier">m_prod</span> <span class="special">*=</span> <span class="identifier">m_mult</span><span class="special">;</span>
- <span class="keyword">return</span> <span class="identifier">m_prod</span> <span class="special">/</span> <span class="special">++</span><span class="identifier">k</span><span class="special">;</span>
+ <span class="keyword">return</span> <span class="identifier">m_prod</span> <span class="special">/</span> <span class="special">++</span><span class="identifier">k</span><span class="special">;</span>
<span class="special">}</span>
<span class="keyword">private</span><span class="special">:</span>
@@ -174,7 +173,7 @@
<span class="special">{</span>
<span class="comment">// We really should add some error checking on x here!</span>
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">fabs</span><span class="special">(</span><span class="identifier">x</span><span class="special">)</span> <span class="special"><</span> <span class="number">1</span><span class="special">);</span>
-
+
<span class="comment">// Construct the series functor:</span>
<span class="identifier">log1p_series</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="identifier">s</span><span class="special">(</span><span class="identifier">x</span><span class="special">);</span>
<span class="comment">// Set a limit on how many iterations we permit:</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/tuples.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/tuples.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals1/tuples.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,20 +26,19 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.toolkit.internals1.tuples"></a><a class="link" href="tuples.html" title="Tuples">Tuples</a>
</h4></div></div></div>
-<a name="math_toolkit.toolkit.internals1.tuples.synopsis"></a><h5>
-<a name="math_toolkit.toolkit.internals1.tuples.synopsis-heading"></a>
- <a class="link" href="tuples.html#math_toolkit.toolkit.internals1.tuples.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.tuples.h0"></a>
+ <span><a name="math_toolkit.toolkit.internals1.tuples.synopsis"></a></span><a class="link" href="tuples.html#math_toolkit.toolkit.internals1.tuples.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">tools</span><span class="special">/</span><span class="identifier">tuple</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
</p>
-<a name="math_toolkit.toolkit.internals1.tuples.description"></a><h5>
-<a name="math_toolkit.toolkit.internals1.tuples.description-heading"></a>
- <a class="link" href="tuples.html#math_toolkit.toolkit.internals1.tuples.description">Description</a>
+<h5>
+<a name="math_toolkit.toolkit.internals1.tuples.h1"></a>
+ <span><a name="math_toolkit.toolkit.internals1.tuples.description"></a></span><a class="link" href="tuples.html#math_toolkit.toolkit.internals1.tuples.description">Description</a>
</h5>
<p>
This header defines the type <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">tuple</span></code>,
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/error_test.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/error_test.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/error_test.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.toolkit.internals2.error_test"></a><a class="link" href="error_test.html" title="Relative Error and Testing">Relative
Error and Testing</a>
</h4></div></div></div>
-<a name="math_toolkit.toolkit.internals2.error_test.synopsis"></a><h5>
-<a name="math_toolkit.toolkit.internals2.error_test.synopsis-heading"></a>
- <a class="link" href="error_test.html#math_toolkit.toolkit.internals2.error_test.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.toolkit.internals2.error_test.h0"></a>
+ <span><a name="math_toolkit.toolkit.internals2.error_test.synopsis"></a></span><a class="link" href="error_test.html#math_toolkit.toolkit.internals2.error_test.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">tools</span><span class="special">/</span><span class="identifier">test</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -44,9 +43,9 @@
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">A</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">F1</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">F2</span><span class="special">></span>
<span class="identifier">test_result</span><span class="special"><</span><span class="identifier">see</span><span class="special">-</span><span class="identifier">below</span><span class="special">></span> <span class="identifier">test</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">A</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span> <span class="identifier">F1</span> <span class="identifier">test_func</span><span class="special">,</span> <span class="identifier">F2</span> <span class="identifier">expect_func</span><span class="special">);</span>
</pre>
-<a name="math_toolkit.toolkit.internals2.error_test.description"></a><h5>
-<a name="math_toolkit.toolkit.internals2.error_test.description-heading"></a>
- <a class="link" href="error_test.html#math_toolkit.toolkit.internals2.error_test.description">Description</a>
+<h5>
+<a name="math_toolkit.toolkit.internals2.error_test.h1"></a>
+ <span><a name="math_toolkit.toolkit.internals2.error_test.description"></a></span><a class="link" href="error_test.html#math_toolkit.toolkit.internals2.error_test.description">Description</a>
</h5>
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">T</span> <span class="identifier">relative_error</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">a</span><span class="special">,</span> <span class="identifier">T</span> <span class="identifier">v</span><span class="special">);</span>
@@ -156,9 +155,9 @@
(which means that including this header requires you use Boost.Test). This
is mainly a debugging/development aid (and a good place for a breakpoint).
</p>
-<a name="math_toolkit.toolkit.internals2.error_test.example"></a><h5>
-<a name="math_toolkit.toolkit.internals2.error_test.example-heading"></a>
- <a class="link" href="error_test.html#math_toolkit.toolkit.internals2.error_test.example">Example</a>
+<h5>
+<a name="math_toolkit.toolkit.internals2.error_test.h2"></a>
+ <span><a name="math_toolkit.toolkit.internals2.error_test.example"></a></span><a class="link" href="error_test.html#math_toolkit.toolkit.internals2.error_test.example">Example</a>
</h5>
<p>
Suppose we want to test the tgamma and lgamma functions, we can create
@@ -166,7 +165,7 @@
three elements: the input value, and the expected results for the tgamma
and lgamma functions respectively.
</p>
-<pre class="programlisting"><span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">TestType</span><span class="special">,</span> <span class="number">3</span><span class="special">>,</span> <span class="identifier">NumberOfTests</span><span class="special">></span>
+<pre class="programlisting"><span class="keyword">static</span> <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special"><</span><span class="identifier">TestType</span><span class="special">,</span> <span class="number">3</span><span class="special">>,</span> <span class="identifier">NumberOfTests</span><span class="special">></span>
<span class="identifier">factorials</span> <span class="special">=</span> <span class="special">{</span>
<span class="comment">/* big array of test data goes here */</span>
<span class="special">};</span>
@@ -186,7 +185,7 @@
<span class="comment">// and test tgamma against data:</span>
<span class="comment">//</span>
<span class="identifier">result</span> <span class="special">=</span> <span class="identifier">test</span><span class="special">(</span>
- <span class="identifier">factorials</span><span class="special">,</span>
+ <span class="identifier">factorials</span><span class="special">,</span>
<span class="identifier">bind</span><span class="special">(</span><span class="identifier">funcp</span><span class="special">,</span> <span class="identifier">ret</span><span class="special"><</span><span class="identifier">TestType</span><span class="special">>(</span><span class="identifier">_1</span><span class="special">[</span><span class="number">0</span><span class="special">])),</span> <span class="comment">// calls tgamma with factorials[row][0]</span>
<span class="identifier">ret</span><span class="special"><</span><span class="identifier">TestType</span><span class="special">>(</span><span class="identifier">_1</span><span class="special">[</span><span class="number">1</span><span class="special">])</span> <span class="comment">// extracts the expected result from factorials[row][1]</span>
<span class="special">);</span>
@@ -201,7 +200,7 @@
<span class="comment">//</span>
<span class="identifier">funcp</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">lgamma</span><span class="special">;</span>
<span class="identifier">result</span> <span class="special">=</span> <span class="identifier">test</span><span class="special">(</span>
- <span class="identifier">factorials</span><span class="special">,</span>
+ <span class="identifier">factorials</span><span class="special">,</span>
<span class="identifier">bind</span><span class="special">(</span><span class="identifier">funcp</span><span class="special">,</span> <span class="identifier">ret</span><span class="special"><</span><span class="identifier">TestType</span><span class="special">>(</span><span class="identifier">_1</span><span class="special">[</span><span class="number">0</span><span class="special">])),</span> <span class="comment">// calls tgamma with factorials[row][0]</span>
<span class="identifier">ret</span><span class="special"><</span><span class="identifier">TestType</span><span class="special">>(</span><span class="identifier">_1</span><span class="special">[</span><span class="number">2</span><span class="special">])</span> <span class="comment">// extracts the expected result from factorials[row][2]</span>
<span class="special">);</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/polynomials.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/polynomials.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/polynomials.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,12 +26,11 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.toolkit.internals2.polynomials"></a><a class="link" href="polynomials.html" title="Polynomials">Polynomials</a>
</h4></div></div></div>
-<a name="math_toolkit.toolkit.internals2.polynomials.synopsis"></a><h5>
-<a name="math_toolkit.toolkit.internals2.polynomials.synopsis-heading"></a>
- <a class="link" href="polynomials.html#math_toolkit.toolkit.internals2.polynomials.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.toolkit.internals2.polynomials.h0"></a>
+ <span><a name="math_toolkit.toolkit.internals2.polynomials.synopsis"></a></span><a class="link" href="polynomials.html#math_toolkit.toolkit.internals2.polynomials.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">tools</span><span class="special">/</span><span class="identifier">polynomial</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -53,7 +52,7 @@
<span class="identifier">polynomial</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">U</span><span class="special">*</span> <span class="identifier">data</span><span class="special">,</span> <span class="keyword">unsigned</span> <span class="identifier">order</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">U</span><span class="special">></span>
<span class="identifier">polynomial</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">U</span><span class="special">&</span> <span class="identifier">point</span><span class="special">);</span>
-
+
<span class="comment">// access:</span>
<span class="identifier">size_type</span> <span class="identifier">size</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
<span class="identifier">size_type</span> <span class="identifier">degree</span><span class="special">()</span><span class="keyword">const</span><span class="special">;</span>
@@ -97,14 +96,14 @@
<span class="identifier">polynomial</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="keyword">operator</span> <span class="special">*</span> <span class="special">(</span><span class="keyword">const</span> <span class="identifier">U</span><span class="special">&</span> <span class="identifier">a</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">polynomial</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">b</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">charT</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">traits</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
-<span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span><span class="identifier">charT</span><span class="special">,</span> <span class="identifier">traits</span><span class="special">>&</span> <span class="keyword">operator</span> <span class="special"><<</span>
+<span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span><span class="identifier">charT</span><span class="special">,</span> <span class="identifier">traits</span><span class="special">>&</span> <span class="keyword">operator</span> <span class="special"><<</span>
<span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_ostream</span><span class="special"><</span><span class="identifier">charT</span><span class="special">,</span> <span class="identifier">traits</span><span class="special">>&</span> <span class="identifier">os</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">polynomial</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">poly</span><span class="special">);</span>
<span class="special">}}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.toolkit.internals2.polynomials.description"></a><h5>
-<a name="math_toolkit.toolkit.internals2.polynomials.description-heading"></a>
- <a class="link" href="polynomials.html#math_toolkit.toolkit.internals2.polynomials.description">Description</a>
+<h5>
+<a name="math_toolkit.toolkit.internals2.polynomials.h1"></a>
+ <span><a name="math_toolkit.toolkit.internals2.polynomials.description"></a></span><a class="link" href="polynomials.html#math_toolkit.toolkit.internals2.polynomials.description">Description</a>
</h5>
<p>
This is a fairly trivial class for polynomial manipulation.
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/test_data.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/test_data.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/toolkit/internals2/test_data.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -45,9 +45,9 @@
Generate high precision test data.
</li>
</ul></div>
-<a name="math_toolkit.toolkit.internals2.test_data.synopsis"></a><h5>
-<a name="math_toolkit.toolkit.internals2.test_data.synopsis-heading"></a>
- <a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.toolkit.internals2.test_data.h0"></a>
+ <span><a name="math_toolkit.toolkit.internals2.test_data.synopsis"></a></span><a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.synopsis">Synopsis</a>
</h5>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">tools</span><span class="special">{</span>
@@ -100,12 +100,12 @@
<span class="identifier">test_data</span><span class="special">&</span> <span class="identifier">insert</span><span class="special">(</span><span class="identifier">F</span> <span class="identifier">func</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">parameter_info</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">arg1</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">></span>
- <span class="identifier">test_data</span><span class="special">&</span> <span class="identifier">insert</span><span class="special">(</span><span class="identifier">F</span> <span class="identifier">func</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">parameter_info</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">arg1</span><span class="special">,</span>
+ <span class="identifier">test_data</span><span class="special">&</span> <span class="identifier">insert</span><span class="special">(</span><span class="identifier">F</span> <span class="identifier">func</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">parameter_info</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">arg1</span><span class="special">,</span>
<span class="keyword">const</span> <span class="identifier">parameter_info</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">arg2</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">></span>
- <span class="identifier">test_data</span><span class="special">&</span> <span class="identifier">insert</span><span class="special">(</span><span class="identifier">F</span> <span class="identifier">func</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">parameter_info</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">arg1</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">parameter_info</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">arg2</span><span class="special">,</span>
+ <span class="identifier">test_data</span><span class="special">&</span> <span class="identifier">insert</span><span class="special">(</span><span class="identifier">F</span> <span class="identifier">func</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">parameter_info</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">arg1</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">parameter_info</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">arg2</span><span class="special">,</span>
<span class="keyword">const</span> <span class="identifier">parameter_info</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">arg3</span><span class="special">);</span>
<span class="keyword">void</span> <span class="identifier">clear</span><span class="special">();</span>
@@ -141,14 +141,14 @@
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span><span class="special">&</span> <span class="identifier">write_code</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">ostream</span><span class="special">&</span> <span class="identifier">os</span><span class="special">,</span>
- <span class="keyword">const</span> <span class="identifier">test_data</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">data</span><span class="special">,</span>
+ <span class="keyword">const</span> <span class="identifier">test_data</span><span class="special"><</span><span class="identifier">T</span><span class="special">>&</span> <span class="identifier">data</span><span class="special">,</span>
<span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span> <span class="identifier">name</span><span class="special">);</span>
-
+
<span class="special">}}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.toolkit.internals2.test_data.description"></a><h5>
-<a name="math_toolkit.toolkit.internals2.test_data.description-heading"></a>
- <a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.description">Description</a>
+<h5>
+<a name="math_toolkit.toolkit.internals2.test_data.h1"></a>
+ <span><a name="math_toolkit.toolkit.internals2.test_data.description"></a></span><a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.description">Description</a>
</h5>
<p>
This tool is best illustrated with the following series of examples.
@@ -176,9 +176,9 @@
in either csv format, or as C++ source code (as a table using Boost.Array).
</li>
</ul></div>
-<a name="math_toolkit.toolkit.internals2.test_data.example_1__output_data_for_graph_plotting"></a><h6>
-<a name="math_toolkit.toolkit.internals2.test_data.example_1__output_data_for_graph_plotting-heading"></a>
- <a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.example_1__output_data_for_graph_plotting">Example
+<h6>
+<a name="math_toolkit.toolkit.internals2.test_data.h2"></a>
+ <span><a name="math_toolkit.toolkit.internals2.test_data.example_1__output_data_for_graph_plotting"></a></span><a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.example_1__output_data_for_graph_plotting">Example
1: Output Data for Graph Plotting</a>
</h6>
<p>
@@ -191,14 +191,14 @@
<span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
<span class="special">{</span>
<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><span class="identifier">tools</span><span class="special">;</span>
-
+
<span class="comment">// create an object to hold the data:</span>
<span class="identifier">test_data</span><span class="special"><</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">data</span><span class="special">;</span>
-
+
<span class="comment">// insert 500 points at uniform intervals between just after -3 and 100:</span>
<span class="keyword">double</span> <span class="special">(*</span><span class="identifier">pf</span><span class="special">)(</span><span class="keyword">double</span><span class="special">)</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">lgamma</span><span class="special">;</span>
<span class="identifier">data</span><span class="special">.</span><span class="identifier">insert</span><span class="special">(</span><span class="identifier">pf</span><span class="special">,</span> <span class="identifier">make_periodic_param</span><span class="special">(-</span><span class="number">3.0</span> <span class="special">+</span> <span class="number">0.00001</span><span class="special">,</span> <span class="number">100.0</span><span class="special">,</span> <span class="number">500</span><span class="special">));</span>
-
+
<span class="comment">// print out in csv format:</span>
<span class="identifier">write_csv</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span><span class="special">,</span> <span class="identifier">data</span><span class="special">,</span> <span class="string">", "</span><span class="special">);</span>
<span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
@@ -210,9 +210,9 @@
<p>
<span class="inlinemediaobject"><img src="../../../../graphs/lgamma.png" align="middle"></span>
</p>
-<a name="math_toolkit.toolkit.internals2.test_data.example_2__creating_test_data"></a><h6>
-<a name="math_toolkit.toolkit.internals2.test_data.example_2__creating_test_data-heading"></a>
- <a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.example_2__creating_test_data">Example
+<h6>
+<a name="math_toolkit.toolkit.internals2.test_data.h3"></a>
+ <span><a name="math_toolkit.toolkit.internals2.test_data.example_2__creating_test_data"></a></span><a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.example_2__creating_test_data">Example
2: Creating Test Data</a>
</h6>
<p>
@@ -256,7 +256,7 @@
<span class="comment">//</span>
<span class="keyword">if</span><span class="special">(</span><span class="identifier">a</span> <span class="special"><</span> <span class="identifier">b</span><span class="special">)</span>
<span class="keyword">throw</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">domain_error</span><span class="special">(</span><span class="string">""</span><span class="special">);</span>
-
+
<span class="comment">// very naively calculate spots with lgamma:</span>
<span class="identifier">NTL</span><span class="special">::</span><span class="identifier">RR</span> <span class="identifier">g1</span><span class="special">,</span> <span class="identifier">g2</span><span class="special">,</span> <span class="identifier">g3</span><span class="special">;</span>
<span class="keyword">int</span> <span class="identifier">s1</span><span class="special">,</span> <span class="identifier">s2</span><span class="special">,</span> <span class="identifier">s3</span><span class="special">;</span>
@@ -294,10 +294,10 @@
<span class="comment">// prompt the user for the domain of a and b to test:</span>
<span class="identifier">get_user_parameter_info</span><span class="special">(</span><span class="identifier">arg1</span><span class="special">,</span> <span class="string">"a"</span><span class="special">);</span>
<span class="identifier">get_user_parameter_info</span><span class="special">(</span><span class="identifier">arg2</span><span class="special">,</span> <span class="string">"b"</span><span class="special">);</span>
-
+
<span class="comment">// create the data:</span>
<span class="identifier">data</span><span class="special">.</span><span class="identifier">insert</span><span class="special">(</span><span class="identifier">beta_data_generator</span><span class="special">(),</span> <span class="identifier">arg1</span><span class="special">,</span> <span class="identifier">arg2</span><span class="special">);</span>
-
+
<span class="comment">// see if the user want's any more domains tested:</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="string">"Any more data [y/n]?"</span><span class="special">;</span>
<span class="identifier">std</span><span class="special">::</span><span class="identifier">getline</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">cin</span><span class="special">,</span> <span class="identifier">line</span><span class="special">);</span>
@@ -337,10 +337,10 @@
<span class="identifier">beta_med_data</span> <span class="special">=</span> <span class="special">{</span>
<span class="identifier">SC_</span><span class="special">(</span><span class="number">0.4883005917072296142578125</span><span class="special">),</span>
<span class="identifier">SC_</span><span class="special">(</span><span class="number">0.4883005917072296142578125</span><span class="special">),</span>
- <span class="identifier">SC_</span><span class="special">(</span><span class="number">3.245912809500479157065104747353807392371</span><span class="special">),</span>
+ <span class="identifier">SC_</span><span class="special">(</span><span class="number">3.245912809500479157065104747353807392371</span><span class="special">),</span>
<span class="identifier">SC_</span><span class="special">(</span><span class="number">3.5808107852935791015625</span><span class="special">),</span>
<span class="identifier">SC_</span><span class="special">(</span><span class="number">0.4883005917072296142578125</span><span class="special">),</span>
- <span class="identifier">SC_</span><span class="special">(</span><span class="number">1.007653173802923954909901438393379243537</span><span class="special">),</span>
+ <span class="identifier">SC_</span><span class="special">(</span><span class="number">1.007653173802923954909901438393379243537</span><span class="special">),</span>
<span class="comment">/* ... lots of rows skipped */</span>
<span class="special">};</span>
</pre>
@@ -375,9 +375,9 @@
to <code class="computeroutput"><span class="identifier">T</span></code>. Note that this isn't
used by default as it's rather hard on the compiler when the table is large.
</p>
-<a name="math_toolkit.toolkit.internals2.test_data.example_3__profiling_a_continued_fraction_for_convergence_and_accuracy"></a><h6>
-<a name="math_toolkit.toolkit.internals2.test_data.example_3__profiling_a_continued_fraction_for_convergence_and_accuracy-heading"></a>
- <a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.example_3__profiling_a_continued_fraction_for_convergence_and_accuracy">Example
+<h6>
+<a name="math_toolkit.toolkit.internals2.test_data.h4"></a>
+ <span><a name="math_toolkit.toolkit.internals2.test_data.example_3__profiling_a_continued_fraction_for_convergence_and_accuracy"></a></span><a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.example_3__profiling_a_continued_fraction_for_convergence_and_accuracy">Example
3: Profiling a Continued Fraction for Convergence and Accuracy</a>
</h6>
<p>
@@ -481,9 +481,9 @@
So it's pretty clear that this fraction shouldn't be used for small values
of a and z.
</p>
-<a name="math_toolkit.toolkit.internals2.test_data.reference"></a><h5>
-<a name="math_toolkit.toolkit.internals2.test_data.reference-heading"></a>
- <a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.reference">reference</a>
+<h5>
+<a name="math_toolkit.toolkit.internals2.test_data.h5"></a>
+ <span><a name="math_toolkit.toolkit.internals2.test_data.reference"></a></span><a class="link" href="test_data.html#math_toolkit.toolkit.internals2.test_data.reference">reference</a>
</h5>
<p>
<a name="test_data_reference"></a>Most of this tool has been described
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/archetypes.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/archetypes.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/archetypes.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -38,16 +38,16 @@
distribution Concept for statistical distributions.
</li>
</ul></div>
-<a name="math_toolkit.using_udt.archetypes.real_concept"></a><h6>
-<a name="math_toolkit.using_udt.archetypes.real_concept-heading"></a>
- <a class="link" href="archetypes.html#math_toolkit.using_udt.archetypes.real_concept">Real concept</a>
+<h6>
+<a name="math_toolkit.using_udt.archetypes.h0"></a>
+ <span><a name="math_toolkit.using_udt.archetypes.real_concept"></a></span><a class="link" href="archetypes.html#math_toolkit.using_udt.archetypes.real_concept">Real
+ concept</a>
</h6>
<p>
<code class="computeroutput"><span class="identifier">std_real_concept</span></code> is an archetype
for theReal types, including the built-in float, double, long double.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">concepts</span><span class="special">/</span><span class="identifier">std_real_concept</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
@@ -83,9 +83,9 @@
library functions used have been brought into the current scope with a using
declaration.
</p>
-<a name="math_toolkit.using_udt.archetypes.testing_the_real_concept"></a><h4>
-<a name="math_toolkit.using_udt.archetypes.testing_the_real_concept-heading"></a>
- <a class="link" href="archetypes.html#math_toolkit.using_udt.archetypes.testing_the_real_concept">Testing
+<h4>
+<a name="math_toolkit.using_udt.archetypes.h1"></a>
+ <span><a name="math_toolkit.using_udt.archetypes.testing_the_real_concept"></a></span><a class="link" href="archetypes.html#math_toolkit.using_udt.archetypes.testing_the_real_concept">Testing
the real concept</a>
</h4>
<p>
@@ -94,13 +94,12 @@
standard library functions.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">concepts</span><span class="special">/</span><span class="identifier">real_concept</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
</p>
-<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span>
-<span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
+<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span>
+<span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
<span class="keyword">namespace</span> <span class="identifier">concepts</span><span class="special">{</span>
<span class="keyword">class</span> <span class="identifier">real_concept</span><span class="special">;</span>
@@ -129,16 +128,15 @@
as well as testing <code class="computeroutput"><span class="keyword">float</span></code>, <code class="computeroutput"><span class="keyword">double</span></code> and <code class="computeroutput"><span class="keyword">long</span>
<span class="keyword">double</span></code>, also tests <code class="computeroutput"><span class="identifier">real_concept</span></code>.
</p>
-<a name="math_toolkit.using_udt.archetypes.distribution_concept"></a><h4>
-<a name="math_toolkit.using_udt.archetypes.distribution_concept-heading"></a>
- <a class="link" href="archetypes.html#math_toolkit.using_udt.archetypes.distribution_concept">Distribution
+<h4>
+<a name="math_toolkit.using_udt.archetypes.h2"></a>
+ <span><a name="math_toolkit.using_udt.archetypes.distribution_concept"></a></span><a class="link" href="archetypes.html#math_toolkit.using_udt.archetypes.distribution_concept">Distribution
Concept</a>
</h4>
<p>
Distribution Concept models statistical distributions.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">concepts</span><span class="special">/</span><span class="identifier">distribution</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
@@ -165,9 +163,9 @@
is a <a href="../../../../../../../libs/concept_check/index.html" target="_top">concept checking
class</a> for distribution types.
</p>
-<a name="math_toolkit.using_udt.archetypes.testing_the_distribution_concept"></a><h4>
-<a name="math_toolkit.using_udt.archetypes.testing_the_distribution_concept-heading"></a>
- <a class="link" href="archetypes.html#math_toolkit.using_udt.archetypes.testing_the_distribution_concept">Testing
+<h4>
+<a name="math_toolkit.using_udt.archetypes.h3"></a>
+ <span><a name="math_toolkit.using_udt.archetypes.testing_the_distribution_concept"></a></span><a class="link" href="archetypes.html#math_toolkit.using_udt.archetypes.testing_the_distribution_concept">Testing
the distribution concept</a>
</h4>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/concepts.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/concepts.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/using_udt/concepts.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -41,9 +41,9 @@
The guiding principal behind these requirements, is that a <span class="emphasis"><em>RealType</em></span>
behaves just like a built in floating point type.
</p>
-<a name="math_toolkit.using_udt.concepts.basic_arithmetic_requirements"></a><h5>
-<a name="math_toolkit.using_udt.concepts.basic_arithmetic_requirements-heading"></a>
- <a class="link" href="concepts.html#math_toolkit.using_udt.concepts.basic_arithmetic_requirements">Basic
+<h5>
+<a name="math_toolkit.using_udt.concepts.h0"></a>
+ <span><a name="math_toolkit.using_udt.concepts.basic_arithmetic_requirements"></a></span><a class="link" href="concepts.html#math_toolkit.using_udt.concepts.basic_arithmetic_requirements">Basic
Arithmetic Requirements</a>
</h5>
<p>
@@ -1034,9 +1034,9 @@
</p>
</td></tr>
</table></div>
-<a name="math_toolkit.using_udt.concepts.standard_library_support_requirements"></a><h5>
-<a name="math_toolkit.using_udt.concepts.standard_library_support_requirements-heading"></a>
- <a class="link" href="concepts.html#math_toolkit.using_udt.concepts.standard_library_support_requirements">Standard
+<h5>
+<a name="math_toolkit.using_udt.concepts.h1"></a>
+ <span><a name="math_toolkit.using_udt.concepts.standard_library_support_requirements"></a></span><a class="link" href="concepts.html#math_toolkit.using_udt.concepts.standard_library_support_requirements">Standard
Library Support Requirements</a>
</h5>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -34,9 +34,9 @@
<dt><span class="section">Portability</span></dt>
<dt><span class="section">Design Rationale</span></dt>
</dl></div>
-<a name="math_toolkit.utils.fp_facets.synopsis"></a><h5>
-<a name="math_toolkit.utils.fp_facets.synopsis-heading"></a>
- <a class="link" href="fp_facets.html#math_toolkit.utils.fp_facets.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.utils.fp_facets.h0"></a>
+ <span><a name="math_toolkit.utils.fp_facets.synopsis"></a></span><a class="link" href="fp_facets.html#math_toolkit.utils.fp_facets.synopsis">Synopsis</a>
</h5>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span>
<span class="special">{</span>
@@ -48,10 +48,10 @@
<span class="keyword">template</span><span class="special"><</span>
<span class="keyword">class</span> <span class="identifier">CharType</span><span class="special">,</span>
- <span class="keyword">class</span> <span class="identifier">OutputIterator</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">ostreambuf_iterator</span><span class="special"><</span><span class="identifier">CharType</span><span class="special">></span>
+ <span class="keyword">class</span> <span class="identifier">OutputIterator</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">ostreambuf_iterator</span><span class="special"><</span><span class="identifier">CharType</span><span class="special">></span>
<span class="special">></span>
<span class="keyword">class</span> <span class="identifier">nonfinite_num_put</span> <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">num_put</span><span class="special"><</span><span class="identifier">CharType</span><span class="special">,</span> <span class="identifier">OutputIterator</span><span class="special">></span>
- <span class="special">{</span>
+ <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
<span class="keyword">explicit</span> <span class="identifier">nonfinite_num_put</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">flags</span> <span class="special">=</span> <span class="number">0</span><span class="special">);</span>
<span class="special">};</span>
@@ -64,7 +64,7 @@
<span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
<span class="keyword">explicit</span> <span class="identifier">nonfinite_num_get</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">flags</span> <span class="special">=</span> <span class="number">0</span><span class="special">);</span> <span class="comment">// legacy, sign_zero ...</span>
- <span class="special">};</span>
+ <span class="special">};</span>
<span class="special">}}</span> <span class="comment">// namespace boost namespace math</span>
</pre>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/examples.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/examples.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/examples.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,13 +26,12 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.utils.fp_facets.examples"></a><a class="link" href="examples.html" title="Examples">Examples</a>
</h4></div></div></div>
-<a name="math_toolkit.utils.fp_facets.examples.simple_example_with_std__stringstreams"></a><h6>
-<a name="math_toolkit.utils.fp_facets.examples.simple_example_with_std__stringstreams-heading"></a>
- <a class="link" href="examples.html#math_toolkit.utils.fp_facets.examples.simple_example_with_std__stringstreams">Simple
+<h6>
+<a name="math_toolkit.utils.fp_facets.examples.h0"></a>
+ <span><a name="math_toolkit.utils.fp_facets.examples.simple_example_with_std__stringstreams"></a></span><a class="link" href="examples.html#math_toolkit.utils.fp_facets.examples.simple_example_with_std__stringstreams">Simple
example with std::stringstreams</a>
</h6>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">locale</span> <span class="identifier">old_locale</span><span class="special">;</span>
<span class="identifier">locale</span> <span class="identifier">tmp_locale</span><span class="special">(</span><span class="identifier">old_locale</span><span class="special">,</span> <span class="keyword">new</span> <span class="identifier">nonfinite_num_put</span><span class="special"><</span><span class="keyword">char</span><span class="special">>);</span>
@@ -41,7 +40,6 @@
<p>
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">stringstream</span> <span class="identifier">ss</span><span class="special">;</span>
<span class="identifier">ss</span><span class="special">.</span><span class="identifier">imbue</span><span class="special">(</span><span class="identifier">new_locale</span><span class="special">);</span>
@@ -63,9 +61,9 @@
</pre>
<p>
</p>
-<a name="math_toolkit.utils.fp_facets.examples.use_with_lexical_cast"></a><h6>
-<a name="math_toolkit.utils.fp_facets.examples.use_with_lexical_cast-heading"></a>
- <a class="link" href="examples.html#math_toolkit.utils.fp_facets.examples.use_with_lexical_cast">Use
+<h6>
+<a name="math_toolkit.utils.fp_facets.examples.h1"></a>
+ <span><a name="math_toolkit.utils.fp_facets.examples.use_with_lexical_cast"></a></span><a class="link" href="examples.html#math_toolkit.utils.fp_facets.examples.use_with_lexical_cast">Use
with lexical_cast</a>
</h6>
<div class="note"><table border="0" summary="Note">
@@ -85,7 +83,6 @@
are found.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">locale</span> <span class="identifier">old_locale</span><span class="special">;</span>
<span class="identifier">locale</span> <span class="identifier">tmp_locale</span><span class="special">(</span><span class="identifier">old_locale</span><span class="special">,</span> <span class="keyword">new</span> <span class="identifier">nonfinite_num_put</span><span class="special"><</span><span class="keyword">char</span><span class="special">>);</span>
@@ -171,9 +168,9 @@
<span class="identifier">s</span> <span class="special"><<</span> <span class="identifier">setprecison</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="keyword">double</span><span class="special">>::</span><span class="identifier">max_digits10</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">scientific</span> <span class="special"><<</span> <span class="identifier">output_value</span><span class="special">;</span>
<span class="identifier">s</span> <span class="special">>></span> <span class="identifier">input_value</span><span class="special">;</span>
</pre>
-<a name="math_toolkit.utils.fp_facets.examples.use_with_serialization_archives"></a><h5>
-<a name="math_toolkit.utils.fp_facets.examples.use_with_serialization_archives-heading"></a>
- <a class="link" href="examples.html#math_toolkit.utils.fp_facets.examples.use_with_serialization_archives">Use
+<h5>
+<a name="math_toolkit.utils.fp_facets.examples.h2"></a>
+ <span><a name="math_toolkit.utils.fp_facets.examples.use_with_serialization_archives"></a></span><a class="link" href="examples.html#math_toolkit.utils.fp_facets.examples.use_with_serialization_archives">Use
with serialization archives</a>
</h5>
<p>
@@ -216,10 +213,9 @@
archive, then you must set the exception mask of the stream. Serialization
archives do not check the stream state.
</p>
-<a name="math_toolkit.utils.fp_facets.examples.other_examples"></a><h6>
-<a name="math_toolkit.utils.fp_facets.examples.other_examples-heading"></a>
- <a class="link" href="examples.html#math_toolkit.utils.fp_facets.examples.other_examples">Other
- examples</a>
+<h6>
+<a name="math_toolkit.utils.fp_facets.examples.h3"></a>
+ <span><a name="math_toolkit.utils.fp_facets.examples.other_examples"></a></span><a class="link" href="examples.html#math_toolkit.utils.fp_facets.examples.other_examples">Other examples</a>
</h6>
<p>
<a href="../../../../../../example/nonfinite_facet_simple.cpp" target="_top">nonfinite_facet_simple.cpp</a>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/intro.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/intro.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/intro.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,9 +26,10 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.utils.fp_facets.intro"></a><a class="link" href="intro.html" title="Introduction">Introduction</a>
</h4></div></div></div>
-<a name="math_toolkit.utils.fp_facets.intro.the_problem"></a><h6>
-<a name="math_toolkit.utils.fp_facets.intro.the_problem-heading"></a>
- <a class="link" href="intro.html#math_toolkit.utils.fp_facets.intro.the_problem">The Problem</a>
+<h6>
+<a name="math_toolkit.utils.fp_facets.intro.h0"></a>
+ <span><a name="math_toolkit.utils.fp_facets.intro.the_problem"></a></span><a class="link" href="intro.html#math_toolkit.utils.fp_facets.intro.the_problem">The
+ Problem</a>
</h6>
<p>
The C++98 standard does not specify how <span class="emphasis"><em>infinity</em></span> and
@@ -50,9 +51,10 @@
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">inf</span> <span class="special">==</span> <span class="identifier">y</span><span class="special">);</span> <span class="comment">// Fails!</span>
</pre>
-<a name="math_toolkit.utils.fp_facets.intro.the_solution"></a><h6>
-<a name="math_toolkit.utils.fp_facets.intro.the_solution-heading"></a>
- <a class="link" href="intro.html#math_toolkit.utils.fp_facets.intro.the_solution">The Solution</a>
+<h6>
+<a name="math_toolkit.utils.fp_facets.intro.h1"></a>
+ <span><a name="math_toolkit.utils.fp_facets.intro.the_solution"></a></span><a class="link" href="intro.html#math_toolkit.utils.fp_facets.intro.the_solution">The
+ Solution</a>
</h6>
<p>
The facets <code class="computeroutput"><span class="identifier">nonfinite_num_put</span></code>
@@ -65,7 +67,6 @@
The following test succeeds with MSVC.
</p>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">locale</span> <span class="identifier">old_locale</span><span class="special">;</span>
<span class="identifier">locale</span> <span class="identifier">tmp_locale</span><span class="special">(</span><span class="identifier">old_locale</span><span class="special">,</span> <span class="keyword">new</span> <span class="identifier">nonfinite_num_put</span><span class="special"><</span><span class="keyword">char</span><span class="special">>);</span>
@@ -106,7 +107,6 @@
</p></td></tr>
</table></div>
<p>
-
</p>
<pre class="programlisting"><span class="identifier">stringstream</span> <span class="identifier">ss</span><span class="special">;</span>
<span class="identifier">ss</span><span class="special">.</span><span class="identifier">imbue</span><span class="special">(</span><span class="identifier">new_locale</span><span class="special">);</span>
@@ -128,9 +128,9 @@
</pre>
<p>
</p>
-<a name="math_toolkit.utils.fp_facets.intro.c__0x_standard_for_output_of_infinity_and_nan"></a><h5>
-<a name="math_toolkit.utils.fp_facets.intro.c__0x_standard_for_output_of_infinity_and_nan-heading"></a>
- <a class="link" href="intro.html#math_toolkit.utils.fp_facets.intro.c__0x_standard_for_output_of_infinity_and_nan">C++0X
+<h5>
+<a name="math_toolkit.utils.fp_facets.intro.h2"></a>
+ <span><a name="math_toolkit.utils.fp_facets.intro.c__0x_standard_for_output_of_infinity_and_nan"></a></span><a class="link" href="intro.html#math_toolkit.utils.fp_facets.intro.c__0x_standard_for_output_of_infinity_and_nan">C++0X
standard for output of infinity and NaN</a>
</h5>
<p>
@@ -140,9 +140,9 @@
without some specific action, input and output of nonfinite values is not
portable.
</p>
-<a name="math_toolkit.utils.fp_facets.intro.c99_standard_for_output_of_infinity_and_nan"></a><h5>
-<a name="math_toolkit.utils.fp_facets.intro.c99_standard_for_output_of_infinity_and_nan-heading"></a>
- <a class="link" href="intro.html#math_toolkit.utils.fp_facets.intro.c99_standard_for_output_of_infinity_and_nan">C99
+<h5>
+<a name="math_toolkit.utils.fp_facets.intro.h3"></a>
+ <span><a name="math_toolkit.utils.fp_facets.intro.c99_standard_for_output_of_infinity_and_nan"></a></span><a class="link" href="intro.html#math_toolkit.utils.fp_facets.intro.c99_standard_for_output_of_infinity_and_nan">C99
standard for output of infinity and NaN</a>
</h5>
<p>
@@ -230,9 +230,9 @@
output of nonfinites in C++, and this implementation follows most of these
formats.
</p>
-<a name="math_toolkit.utils.fp_facets.intro.signaling_nans"></a><h6>
-<a name="math_toolkit.utils.fp_facets.intro.signaling_nans-heading"></a>
- <a class="link" href="intro.html#math_toolkit.utils.fp_facets.intro.signaling_nans">Signaling
+<h6>
+<a name="math_toolkit.utils.fp_facets.intro.h4"></a>
+ <span><a name="math_toolkit.utils.fp_facets.intro.signaling_nans"></a></span><a class="link" href="intro.html#math_toolkit.utils.fp_facets.intro.signaling_nans">Signaling
NaNs</a>
</h6>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/reference.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/reference.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fp_facets/reference.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -26,9 +26,9 @@
<div class="titlepage"><div><div><h4 class="title">
<a name="math_toolkit.utils.fp_facets.reference"></a><a class="link" href="reference.html" title="Reference">Reference</a>
</h4></div></div></div>
-<a name="math_toolkit.utils.fp_facets.reference.the_facet__code__phrase_role__identifier__nonfinite_num_put__phrase___code_"></a><h6>
-<a name="math_toolkit.utils.fp_facets.reference.the_facet__code__phrase_role__identifier__nonfinite_num_put__phrase___code_-heading"></a>
- <a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.the_facet__code__phrase_role__identifier__nonfinite_num_put__phrase___code_">The
+<h6>
+<a name="math_toolkit.utils.fp_facets.reference.h0"></a>
+ <span><a name="math_toolkit.utils.fp_facets.reference.the_facet__code__phrase_role__identifier__nonfinite_num_put__phrase___code_"></a></span><a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.the_facet__code__phrase_role__identifier__nonfinite_num_put__phrase___code_">The
Facet <code class="computeroutput"><span class="identifier">nonfinite_num_put</span></code></a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
@@ -137,9 +137,9 @@
manipulators. Formatting of integers, boolean values and finite floating-point
numbers is simply delegated to the normal <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">num_put</span></code>.
</p>
-<a name="math_toolkit.utils.fp_facets.reference.facet__code__phrase_role__identifier__nonfinite_num_get__phrase___code_"></a><h6>
-<a name="math_toolkit.utils.fp_facets.reference.facet__code__phrase_role__identifier__nonfinite_num_get__phrase___code_-heading"></a>
- <a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.facet__code__phrase_role__identifier__nonfinite_num_get__phrase___code_">Facet
+<h6>
+<a name="math_toolkit.utils.fp_facets.reference.h1"></a>
+ <span><a name="math_toolkit.utils.fp_facets.reference.facet__code__phrase_role__identifier__nonfinite_num_get__phrase___code_"></a></span><a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.facet__code__phrase_role__identifier__nonfinite_num_get__phrase___code_">Facet
<code class="computeroutput"><span class="identifier">nonfinite_num_get</span></code></a>
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">CharType</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">InputIterator</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">istreambuf_iterator</span><span class="special"><</span><span class="identifier">CharType</span><span class="special">></span> <span class="special">></span> <span class="keyword">class</span> <span class="identifier">nonfinite_num_get</span><span class="special">;</span>
@@ -253,9 +253,9 @@
When the facet parses a string that represents <code class="computeroutput"><span class="identifier">NaN</span></code>
on a platform that lacks NaN, then the fail bit of the stream is set.
</p>
-<a name="math_toolkit.utils.fp_facets.reference.flags"></a><h5>
-<a name="math_toolkit.utils.fp_facets.reference.flags-heading"></a>
- <a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.flags">Flags</a>
+<h5>
+<a name="math_toolkit.utils.fp_facets.reference.h2"></a>
+ <span><a name="math_toolkit.utils.fp_facets.reference.flags"></a></span><a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.flags">Flags</a>
</h5>
<p>
The constructors for <code class="computeroutput"><span class="identifier">nonfinite_num_put</span></code>
@@ -283,9 +283,9 @@
The flags are defined in the header <code class="computeroutput"><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">nonfinite_num_facets</span><span class="special">.</span><span class="identifier">hpp</span></code>
and live in the <code class="computeroutput"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span></code>.
</p>
-<a name="math_toolkit.utils.fp_facets.reference.legacy"></a><h6>
-<a name="math_toolkit.utils.fp_facets.reference.legacy-heading"></a>
- <a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.legacy">legacy</a>
+<h6>
+<a name="math_toolkit.utils.fp_facets.reference.h3"></a>
+ <span><a name="math_toolkit.utils.fp_facets.reference.legacy"></a></span><a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.legacy">legacy</a>
</h6>
<p>
The legacy flag has no effect with the output facet <code class="computeroutput"><span class="identifier">nonfinite_num_put</span></code>.
@@ -391,9 +391,9 @@
and NaN that are used by various existing implementations of the C++ standard
library, and also string representations used by other programming languages.
</p>
-<a name="math_toolkit.utils.fp_facets.reference.signed_zero"></a><h6>
-<a name="math_toolkit.utils.fp_facets.reference.signed_zero-heading"></a>
- <a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.signed_zero">signed_zero</a>
+<h6>
+<a name="math_toolkit.utils.fp_facets.reference.h4"></a>
+ <span><a name="math_toolkit.utils.fp_facets.reference.signed_zero"></a></span><a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.signed_zero">signed_zero</a>
</h6>
<p>
If the <code class="computeroutput"><span class="identifier">signed_zero</span></code> flag
@@ -411,9 +411,9 @@
always parses "0" and "+0" as positive zero and "-0"
as negative zero, as do most implementations of <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">num_get</span></code>.
</p>
-<a name="math_toolkit.utils.fp_facets.reference.trap_infinity"></a><h6>
-<a name="math_toolkit.utils.fp_facets.reference.trap_infinity-heading"></a>
- <a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.trap_infinity">trap_infinity</a>
+<h6>
+<a name="math_toolkit.utils.fp_facets.reference.h5"></a>
+ <span><a name="math_toolkit.utils.fp_facets.reference.trap_infinity"></a></span><a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.trap_infinity">trap_infinity</a>
</h6>
<p>
If the <code class="computeroutput"><span class="identifier">trap_infinity</span></code> flag
@@ -436,9 +436,9 @@
<p>
(See Design Rationale below for a discussion of this inconsistency.)
</p>
-<a name="math_toolkit.utils.fp_facets.reference.trap_nan"></a><h6>
-<a name="math_toolkit.utils.fp_facets.reference.trap_nan-heading"></a>
- <a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.trap_nan">trap_nan</a>
+<h6>
+<a name="math_toolkit.utils.fp_facets.reference.h6"></a>
+ <span><a name="math_toolkit.utils.fp_facets.reference.trap_nan"></a></span><a class="link" href="reference.html#math_toolkit.utils.fp_facets.reference.trap_nan">trap_nan</a>
</h6>
<p>
Same as <code class="computeroutput"><span class="identifier">trap_infinity</span></code>,
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fpclass.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fpclass.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fpclass.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,9 +27,9 @@
<a name="math_toolkit.utils.fpclass"></a><a class="link" href="fpclass.html" title="Floating-Point Classification: Infinities and NaNs">Floating-Point Classification:
Infinities and NaNs</a>
</h3></div></div></div>
-<a name="math_toolkit.utils.fpclass.synopsis"></a><h5>
-<a name="math_toolkit.utils.fpclass.synopsis-heading"></a>
- <a class="link" href="fpclass.html#math_toolkit.utils.fpclass.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.utils.fpclass.h0"></a>
+ <span><a name="math_toolkit.utils.fpclass.synopsis"></a></span><a class="link" href="fpclass.html#math_toolkit.utils.fpclass.synopsis">Synopsis</a>
</h5>
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FP_ZERO</span> <span class="comment">/* implementation specific value */</span>
<span class="preprocessor">#define</span> <span class="identifier">FP_NORMAL</span> <span class="comment">/* implementation specific value */</span>
@@ -57,9 +57,9 @@
<p>
to use these functions.
</p>
-<a name="math_toolkit.utils.fpclass.description"></a><h5>
-<a name="math_toolkit.utils.fpclass.description-heading"></a>
- <a class="link" href="fpclass.html#math_toolkit.utils.fpclass.description">Description</a>
+<h5>
+<a name="math_toolkit.utils.fpclass.h1"></a>
+ <span><a name="math_toolkit.utils.fpclass.description"></a></span><a class="link" href="fpclass.html#math_toolkit.utils.fpclass.description">Description</a>
</h5>
<p>
These functions provide the same functionality as the macros with the same
@@ -83,10 +83,10 @@
<span class="comment">// This calls the Boost version</span>
<span class="comment">// (found via the "using namespace boost::math" declaration)</span>
<span class="comment">// it works for any type that has numeric_limits support for type z:</span>
-<span class="special">(</span><span class="identifier">isnan</span><span class="special">)(</span><span class="identifier">z</span><span class="special">);</span>
+<span class="special">(</span><span class="identifier">isnan</span><span class="special">)(</span><span class="identifier">z</span><span class="special">);</span>
<span class="comment">//</span>
<span class="comment">// As above but with explicit namespace qualification.</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">isnan</span><span class="special">)(</span><span class="identifier">z</span><span class="special">);</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">isnan</span><span class="special">)(</span><span class="identifier">z</span><span class="special">);</span>
<span class="comment">//</span>
<span class="comment">// This will cause a compiler error if isnan is a native macro:</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">math</span><span class="special">::</span><span class="identifier">isnan</span><span class="special">(</span><span class="identifier">z</span><span class="special">);</span>
@@ -216,9 +216,9 @@
Returns true only if <span class="emphasis"><em>z</em></span> is a normal number (not zero,
infinite, NaN, or denormalised).
</p>
-<a name="math_toolkit.utils.fpclass.floating_point_format"></a><h6>
-<a name="math_toolkit.utils.fpclass.floating_point_format-heading"></a>
- <a class="link" href="fpclass.html#math_toolkit.utils.fpclass.floating_point_format">Floating-point
+<h6>
+<a name="math_toolkit.utils.fpclass.h2"></a>
+ <span><a name="math_toolkit.utils.fpclass.floating_point_format"></a></span><a class="link" href="fpclass.html#math_toolkit.utils.fpclass.floating_point_format">Floating-point
format</a>
</h6>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_advance.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_advance.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_advance.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -31,12 +31,11 @@
Function float_advance advances a floating point number by a specified
number of ULP.
</p>
-<a name="math_toolkit.utils.next_float.float_advance.synopsis"></a><h5>
-<a name="math_toolkit.utils.next_float.float_advance.synopsis-heading"></a>
- <a class="link" href="float_advance.html#math_toolkit.utils.next_float.float_advance.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.utils.next_float.float_advance.h0"></a>
+ <span><a name="math_toolkit.utils.next_float.float_advance.synopsis"></a></span><a class="link" href="float_advance.html#math_toolkit.utils.next_float.float_advance.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -49,9 +48,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.utils.next_float.float_advance.description___float_advance"></a><h5>
-<a name="math_toolkit.utils.next_float.float_advance.description___float_advance-heading"></a>
- <a class="link" href="float_advance.html#math_toolkit.utils.next_float.float_advance.description___float_advance">Description
+<h5>
+<a name="math_toolkit.utils.next_float.float_advance.h1"></a>
+ <span><a name="math_toolkit.utils.next_float.float_advance.description___float_advance"></a></span><a class="link" href="float_advance.html#math_toolkit.utils.next_float.float_advance.description___float_advance">Description
- float_advance</a>
</h5>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_distance.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_distance.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_distance.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -33,12 +33,11 @@
viewed as integers, then their difference is the number of ULP/gaps/bits
different.
</p>
-<a name="math_toolkit.utils.next_float.float_distance.synopsis"></a><h5>
-<a name="math_toolkit.utils.next_float.float_distance.synopsis-heading"></a>
- <a class="link" href="float_distance.html#math_toolkit.utils.next_float.float_distance.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.utils.next_float.float_distance.h0"></a>
+ <span><a name="math_toolkit.utils.next_float.float_distance.synopsis"></a></span><a class="link" href="float_distance.html#math_toolkit.utils.next_float.float_distance.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -51,9 +50,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.utils.next_float.float_distance.description___float_distance"></a><h5>
-<a name="math_toolkit.utils.next_float.float_distance.description___float_distance-heading"></a>
- <a class="link" href="float_distance.html#math_toolkit.utils.next_float.float_distance.description___float_distance">Description
+<h5>
+<a name="math_toolkit.utils.next_float.float_distance.h1"></a>
+ <span><a name="math_toolkit.utils.next_float.float_distance.description___float_distance"></a></span><a class="link" href="float_distance.html#math_toolkit.utils.next_float.float_distance.description___float_distance">Description
- float_distance</a>
</h5>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_next.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_next.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_next.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.utils.next_float.float_next"></a><a class="link" href="float_next.html" title="Finding the Next Greater Representable Value (float_next)">Finding the
Next Greater Representable Value (float_next)</a>
</h4></div></div></div>
-<a name="math_toolkit.utils.next_float.float_next.synopsis"></a><h5>
-<a name="math_toolkit.utils.next_float.float_next.synopsis-heading"></a>
- <a class="link" href="float_next.html#math_toolkit.utils.next_float.float_next.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.utils.next_float.float_next.h0"></a>
+ <span><a name="math_toolkit.utils.next_float.float_next.synopsis"></a></span><a class="link" href="float_next.html#math_toolkit.utils.next_float.float_next.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -45,9 +44,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.utils.next_float.float_next.description___float_next"></a><h5>
-<a name="math_toolkit.utils.next_float.float_next.description___float_next-heading"></a>
- <a class="link" href="float_next.html#math_toolkit.utils.next_float.float_next.description___float_next">Description
+<h5>
+<a name="math_toolkit.utils.next_float.float_next.h1"></a>
+ <span><a name="math_toolkit.utils.next_float.float_next.description___float_next"></a></span><a class="link" href="float_next.html#math_toolkit.utils.next_float.float_next.description___float_next">Description
- float_next</a>
</h5>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_prior.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_prior.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/float_prior.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.utils.next_float.float_prior"></a><a class="link" href="float_prior.html" title="Finding the Next Smaller Representable Value (float_prior)">Finding
the Next Smaller Representable Value (float_prior)</a>
</h4></div></div></div>
-<a name="math_toolkit.utils.next_float.float_prior.synopsis"></a><h5>
-<a name="math_toolkit.utils.next_float.float_prior.synopsis-heading"></a>
- <a class="link" href="float_prior.html#math_toolkit.utils.next_float.float_prior.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.utils.next_float.float_prior.h0"></a>
+ <span><a name="math_toolkit.utils.next_float.float_prior.synopsis"></a></span><a class="link" href="float_prior.html#math_toolkit.utils.next_float.float_prior.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -45,9 +44,9 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.utils.next_float.float_prior.description___float_prior"></a><h5>
-<a name="math_toolkit.utils.next_float.float_prior.description___float_prior-heading"></a>
- <a class="link" href="float_prior.html#math_toolkit.utils.next_float.float_prior.description___float_prior">Description
+<h5>
+<a name="math_toolkit.utils.next_float.float_prior.h1"></a>
+ <span><a name="math_toolkit.utils.next_float.float_prior.description___float_prior"></a></span><a class="link" href="float_prior.html#math_toolkit.utils.next_float.float_prior.description___float_prior">Description
- float_prior</a>
</h5>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/nextafter.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/nextafter.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/next_float/nextafter.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,27 +27,26 @@
<a name="math_toolkit.utils.next_float.nextafter"></a><a class="link" href="nextafter.html" title="Finding the Next Representable Value in a Specific Direction (nextafter)">Finding the
Next Representable Value in a Specific Direction (nextafter)</a>
</h4></div></div></div>
-<a name="math_toolkit.utils.next_float.nextafter.synopsis"></a><h5>
-<a name="math_toolkit.utils.next_float.nextafter.synopsis-heading"></a>
- <a class="link" href="nextafter.html#math_toolkit.utils.next_float.nextafter.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.utils.next_float.nextafter.h0"></a>
+ <span><a name="math_toolkit.utils.next_float.nextafter.synopsis"></a></span><a class="link" href="nextafter.html#math_toolkit.utils.next_float.nextafter.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
<p>
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-
+
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">FPT</span><span class="special">></span>
<span class="identifier">FPT</span> <span class="identifier">nextafter</span><span class="special">(</span><span class="identifier">FPT</span> <span class="identifier">val</span><span class="special">,</span> <span class="identifier">FPT</span> <span class="identifier">direction</span><span class="special">);</span>
-
+
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.utils.next_float.nextafter.description___nextafter"></a><h5>
-<a name="math_toolkit.utils.next_float.nextafter.description___nextafter-heading"></a>
- <a class="link" href="nextafter.html#math_toolkit.utils.next_float.nextafter.description___nextafter">Description
+<h5>
+<a name="math_toolkit.utils.next_float.nextafter.h1"></a>
+ <span><a name="math_toolkit.utils.next_float.nextafter.description___nextafter"></a></span><a class="link" href="nextafter.html#math_toolkit.utils.next_float.nextafter.description___nextafter">Description
- nextafter</a>
</h5>
<p>
@@ -75,14 +74,13 @@
If there is no such value in the direction of <span class="emphasis"><em>y</em></span> then
returns an <a class="link" href="../../main_overview/error_handling.html#overflow_error">overflow_error</a>.
</p>
-<a name="math_toolkit.utils.next_float.nextafter.examples___nextafter"></a><h5>
-<a name="math_toolkit.utils.next_float.nextafter.examples___nextafter-heading"></a>
- <a class="link" href="nextafter.html#math_toolkit.utils.next_float.nextafter.examples___nextafter">Examples
+<h5>
+<a name="math_toolkit.utils.next_float.nextafter.h2"></a>
+ <span><a name="math_toolkit.utils.next_float.nextafter.examples___nextafter"></a></span><a class="link" href="nextafter.html#math_toolkit.utils.next_float.nextafter.examples___nextafter">Examples
- nextafter</a>
</h5>
<p>
The two representations using a 32-bit float either side of unity are:
-
</p>
<pre class="programlisting"><span class="identifier">The</span> <span class="identifier">nearest</span> <span class="special">(</span><span class="identifier">exact</span><span class="special">)</span> <span class="identifier">representation</span> <span class="identifier">of</span> <span class="number">1.F</span> <span class="identifier">is</span> <span class="number">1.00000000</span>
<span class="identifier">nextafter</span><span class="special">(</span><span class="number">1.F</span><span class="special">,</span> <span class="number">999</span><span class="special">)</span> <span class="identifier">is</span> <span class="number">1.00000012</span>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/modf.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/modf.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/modf.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -28,7 +28,6 @@
Part Splitting (modf)</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">modf</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/round.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/round.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/round.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,7 +27,6 @@
<a name="math_toolkit.utils.rounding.round"></a><a class="link" href="round.html" title="Rounding Functions">Rounding Functions</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">round</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/trunc.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/trunc.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/rounding/trunc.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,7 +27,6 @@
<a name="math_toolkit.utils.rounding.trunc"></a><a class="link" href="trunc.html" title="Truncation Functions">Truncation Functions</a>
</h4></div></div></div>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">trunc</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></pre>
<p>
Modified: trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/sign_functions.html
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/sign_functions.html (original)
+++ trunk/libs/math/doc/sf_and_dist/html/math_toolkit/utils/sign_functions.html 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -27,12 +27,11 @@
<a name="math_toolkit.utils.sign_functions"></a><a class="link" href="sign_functions.html" title="Sign Manipulation Functions">Sign Manipulation
Functions</a>
</h3></div></div></div>
-<a name="math_toolkit.utils.sign_functions.synopsis"></a><h5>
-<a name="math_toolkit.utils.sign_functions.synopsis-heading"></a>
- <a class="link" href="sign_functions.html#math_toolkit.utils.sign_functions.synopsis">Synopsis</a>
+<h5>
+<a name="math_toolkit.utils.sign_functions.h0"></a>
+ <span><a name="math_toolkit.utils.sign_functions.synopsis"></a></span><a class="link" href="sign_functions.html#math_toolkit.utils.sign_functions.synopsis">Synopsis</a>
</h5>
<p>
-
</p>
<pre class="programlisting"><span class="preprocessor">#include</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">special_functions</span><span class="special">/</span><span class="identifier">sign</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
@@ -40,7 +39,7 @@
</p>
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">math</span><span class="special">{</span>
-<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
+<span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<span class="keyword">int</span> <span class="identifier">signbit</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">x</span><span class="special">);</span>
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
@@ -54,11 +53,11 @@
<span class="special">}}</span> <span class="comment">// namespaces</span>
</pre>
-<a name="math_toolkit.utils.sign_functions.description"></a><h5>
-<a name="math_toolkit.utils.sign_functions.description-heading"></a>
- <a class="link" href="sign_functions.html#math_toolkit.utils.sign_functions.description">Description</a>
+<h5>
+<a name="math_toolkit.utils.sign_functions.h1"></a>
+ <span><a name="math_toolkit.utils.sign_functions.description"></a></span><a class="link" href="sign_functions.html#math_toolkit.utils.sign_functions.description">Description</a>
</h5>
-<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
+<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">T</span><span class="special">></span>
<span class="keyword">int</span> <span class="identifier">signbit</span><span class="special">(</span><span class="identifier">T</span> <span class="identifier">x</span><span class="special">);</span>
</pre>
<p>
@@ -118,9 +117,10 @@
and NaNs, the <code class="computeroutput"><span class="identifier">changesign</span><span class="special">(</span><span class="identifier">x</span><span class="special">)</span></code> function
may be the only portable way to ensure that the sign bit is changed.
</p>
-<a name="math_toolkit.utils.sign_functions.sign_bits"></a><h6>
-<a name="math_toolkit.utils.sign_functions.sign_bits-heading"></a>
- <a class="link" href="sign_functions.html#math_toolkit.utils.sign_functions.sign_bits">Sign bits</a>
+<h6>
+<a name="math_toolkit.utils.sign_functions.h2"></a>
+ <span><a name="math_toolkit.utils.sign_functions.sign_bits"></a></span><a class="link" href="sign_functions.html#math_toolkit.utils.sign_functions.sign_bits">Sign
+ bits</a>
</h6>
<p>
One of the bits in the binary representation of a floating-point number gives
@@ -139,9 +139,9 @@
may also not provide infinity or NaNs. To use these functions with a UDT,
it may be necessary to explicitly specialize then for UDT type T.
</p>
-<a name="math_toolkit.utils.sign_functions.examples"></a><h6>
-<a name="math_toolkit.utils.sign_functions.examples-heading"></a>
- <a class="link" href="sign_functions.html#math_toolkit.utils.sign_functions.examples">Examples</a>
+<h6>
+<a name="math_toolkit.utils.sign_functions.h3"></a>
+ <span><a name="math_toolkit.utils.sign_functions.examples"></a></span><a class="link" href="sign_functions.html#math_toolkit.utils.sign_functions.examples">Examples</a>
</h6>
<pre class="programlisting"><span class="identifier">signbit</span><span class="special">(</span><span class="number">3.5</span><span class="special">)</span> <span class="identifier">is</span> <span class="identifier">zero</span> <span class="special">(</span><span class="keyword">or</span> <span class="keyword">false</span><span class="special">)</span>
<span class="identifier">signbit</span><span class="special">(-</span><span class="number">7.1</span><span class="special">)</span> <span class="identifier">is</span> <span class="number">1</span> <span class="special">(</span><span class="keyword">or</span> <span class="keyword">true</span><span class="special">)</span>
@@ -152,9 +152,9 @@
<span class="identifier">changesign</span><span class="special">(</span><span class="number">6.9</span><span class="special">)</span> <span class="identifier">is</span> <span class="special">-</span><span class="number">6.9</span>
<span class="identifier">changesign</span><span class="special">(-</span><span class="number">1.8</span><span class="special">)</span> <span class="identifier">is</span> <span class="number">1.8</span>
</pre>
-<a name="math_toolkit.utils.sign_functions.portability"></a><h6>
-<a name="math_toolkit.utils.sign_functions.portability-heading"></a>
- <a class="link" href="sign_functions.html#math_toolkit.utils.sign_functions.portability">Portability</a>
+<h6>
+<a name="math_toolkit.utils.sign_functions.h4"></a>
+ <span><a name="math_toolkit.utils.sign_functions.portability"></a></span><a class="link" href="sign_functions.html#math_toolkit.utils.sign_functions.portability">Portability</a>
</h6>
<p>
The library supports the following binary floating-point formats:
Modified: trunk/libs/math/doc/sf_and_dist/zeta.qbk
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/zeta.qbk (original)
+++ trunk/libs/math/doc/sf_and_dist/zeta.qbk 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -85,17 +85,13 @@
The generic versions of these functions are implemented using the series:
-[equation zeta1]
+[equation zeta6]
-for large z, and using the globally convergent series:
+except when the argument is close to 1, where the globally convergent series:
[equation zeta2]
-In all other cases. The crossover point for these is chosen so that the first
-series is used only if it will converge reasonably quickly, the problem with this
-series is that convergence become slower the more terms you take, so we really do
-have to be certain of convergence before using this series, even though the
-alternative is often quite slow.
+Is used.
When the significand (mantissa) size is recognised
(currently for 53, 64 and 113-bit reals, plus single-precision 24-bit handled via promotion to double)
Modified: trunk/libs/math/test/Jamfile.v2
==============================================================================
--- trunk/libs/math/test/Jamfile.v2 (original)
+++ trunk/libs/math/test/Jamfile.v2 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -58,6 +58,9 @@
cpp-pch pch : pch.hpp : <use>../../test/build//boost_test_exec_monitor ;
+lib test_instances : float_test_instances.cpp double_test_instances.cpp ldouble_test_instances.cpp real_concept_test_instances.cpp pch
+ : <link>static ;
+
run hypot_test.cpp pch ../../test/build//boost_test_exec_monitor ;
run pow_test.cpp ../../test/build//boost_test_exec_monitor ;
run log1p_expm1_test.cpp pch ../../test/build//boost_test_exec_monitor ;
@@ -624,7 +627,7 @@
run test_triangular.cpp pch ../../test/build//boost_test_exec_monitor ;
run test_uniform.cpp pch ../../test/build//boost_test_exec_monitor ;
run test_weibull.cpp ../../test/build//boost_test_exec_monitor ;
-run test_zeta.cpp pch ../../test/build//boost_test_exec_monitor ;
+run test_zeta.cpp test_instances ../../test/build//boost_test_exec_monitor ;
run test_policy.cpp ../../test/build//boost_test_exec_monitor ;
run test_policy_2.cpp ../../test/build//boost_test_exec_monitor ;
Added: trunk/libs/math/test/double_test_instances.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/math/test/double_test_instances.cpp 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -0,0 +1,15 @@
+// Copyright John Maddock 2011.
+// Use, modification and distribution are subject to 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)
+
+#include "pch.hpp"
+
+#ifndef BOOST_BUILD_PCH_ENABLED
+#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
+#include <boost/math/special_functions.hpp>
+#endif
+
+#define BOOST_MATH_TEST_TYPE double
+#include "test_instances.hpp"
+
Added: trunk/libs/math/test/float_test_instances.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/math/test/float_test_instances.cpp 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -0,0 +1,15 @@
+// Copyright John Maddock 2011.
+// Use, modification and distribution are subject to 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)
+
+#include "pch.hpp"
+
+#ifndef BOOST_BUILD_PCH_ENABLED
+#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
+#include <boost/math/special_functions.hpp>
+#endif
+
+#define BOOST_MATH_TEST_TYPE float
+#include "test_instances.hpp"
+
Added: trunk/libs/math/test/ldouble_test_instances.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/math/test/ldouble_test_instances.cpp 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -0,0 +1,20 @@
+// Copyright John Maddock 2011.
+// Use, modification and distribution are subject to 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)
+
+#include "pch.hpp"
+
+#ifndef BOOST_BUILD_PCH_ENABLED
+#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
+#include <boost/math/special_functions.hpp>
+#endif
+
+#include <boost/math/tools/config.hpp>
+
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+
+#define BOOST_MATH_TEST_TYPE long double
+#include "test_instances.hpp"
+
+#endif
Modified: trunk/libs/math/test/pch.hpp
==============================================================================
--- trunk/libs/math/test/pch.hpp (original)
+++ trunk/libs/math/test/pch.hpp 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -5,11 +5,14 @@
#ifdef BOOST_BUILD_PCH_ENABLED
+#define ONE <boost/math/special_functions.hpp>
+#define TWO <boost/math/distributions.hpp>
+
#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
#include <boost/test/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
-#include <boost/math/special_functions.hpp>
-#include <boost/math/distributions.hpp>
+#include ONE
+#include TWO
#include <boost/math/tools/test.hpp>
#include <boost/math/tools/stats.hpp>
#include <boost/type_traits.hpp>
Added: trunk/libs/math/test/real_concept_test_instances.cpp
==============================================================================
--- (empty file)
+++ trunk/libs/math/test/real_concept_test_instances.cpp 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -0,0 +1,21 @@
+// Copyright John Maddock 2011.
+// Use, modification and distribution are subject to 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)
+
+#include "pch.hpp"
+
+#ifndef BOOST_BUILD_PCH_ENABLED
+#define BOOST_MATH_OVERFLOW_ERROR_POLICY ignore_error
+#include <boost/math/special_functions.hpp>
+#endif
+
+#include <boost/math/tools/config.hpp>
+#include <boost/math/concepts/real_concept.hpp>
+
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+
+#define BOOST_MATH_TEST_TYPE boost::math::concepts::real_concept
+#include "test_instances.hpp"
+
+#endif
Modified: trunk/libs/math/test/test_zeta.cpp
==============================================================================
--- trunk/libs/math/test/test_zeta.cpp (original)
+++ trunk/libs/math/test/test_zeta.cpp 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -3,7 +3,6 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-#include <pch.hpp>
#include "test_zeta.hpp"
//
@@ -75,7 +74,7 @@
".*", // platform
"real_concept", // test type(s)
".*", // test data group
- ".*", 16, 5); // test function
+ ".*", 40, 15); // test function
std::cout << "Tests run with " << BOOST_COMPILER << ", "
<< BOOST_STDLIB << ", " << BOOST_PLATFORM << std::endl;
Modified: trunk/libs/math/test/test_zeta.hpp
==============================================================================
--- trunk/libs/math/test/test_zeta.hpp (original)
+++ trunk/libs/math/test/test_zeta.hpp 2011-12-21 11:07:37 EST (Wed, 21 Dec 2011)
@@ -5,7 +5,7 @@
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/math/concepts/real_concept.hpp>
-#include <boost/math/special_functions/zeta.hpp>
+#include <boost/math/special_functions/math_fwd.hpp>
#include <boost/test/test_exec_monitor.hpp>
#include <boost/test/floating_point_comparison.hpp>
#include <boost/math/tools/stats.hpp>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk