From 9462f3d60dd0a9e71baaa3bf4e7f2b7b881a7bd8 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Mon, 19 Jul 2010 23:29:09 +0000 Subject: Merge documentation changes. [SVN r64186] --- doc/Jamfile.v2 | 3 - doc/html/boostbook.css | 601 --------------------- doc/html/docutils.css | 275 ---------- doc/html/minimal.css | 29 - doc/html/reference.css | 11 - .../extract/weighted_tail_quantile.html | 22 +- .../impl/weighted_tail_quantile__id226526.html | 91 ---- .../impl/weighted_tail_quantile__id330298.html | 91 ++++ .../accumulators/tag/weighted_tail_quantile.html | 28 +- doc/test/gold/boost/array.html | 478 ++++++++-------- .../document_to_test_formatting/accumulators.html | 50 +- .../gold/document_to_test_formatting/array.html | 172 +++--- .../basic_formatting.html | 109 ++-- .../gold/document_to_test_formatting/blurbs.html | 30 +- .../document_to_test_formatting/code_blocks.html | 80 ++- .../gold/document_to_test_formatting/images.html | 14 +- .../lists_and_tables.html | 580 ++++++++++---------- .../gold/document_to_test_formatting/remez.html | 140 ++--- .../gold/document_to_test_formatting/test.html | 24 +- doc/test/gold/images/accumulators/form_2.png | Bin 554 -> 550 bytes doc/test/gold/images/accumulators/form_5.png | Bin 864 -> 863 bytes doc/test/gold/images/accumulators/form_6.png | Bin 1013 -> 1014 bytes doc/test/gold/index.html | 24 +- 23 files changed, 972 insertions(+), 1880 deletions(-) delete mode 100644 doc/html/boostbook.css delete mode 100644 doc/html/docutils.css delete mode 100644 doc/html/minimal.css delete mode 100644 doc/html/reference.css delete mode 100644 doc/test/gold/boost/accumulators/impl/weighted_tail_quantile__id226526.html create mode 100644 doc/test/gold/boost/accumulators/impl/weighted_tail_quantile__id330298.html (limited to 'doc') diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 17100bf9b6..b34201ee9c 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -76,13 +76,10 @@ boostbook doc boost.libraries=../../libs/libraries.htm - css images callouts ; -install css : [ glob src/*.css ] : html ; -explicit css ; install images : [ glob src/images/*.png ] : html/images ; explicit images ; install callouts : [ glob src/images/callouts/*.png ] : html/images/callouts ; diff --git a/doc/html/boostbook.css b/doc/html/boostbook.css deleted file mode 100644 index c60e100318..0000000000 --- a/doc/html/boostbook.css +++ /dev/null @@ -1,601 +0,0 @@ -/*============================================================================= - Copyright (c) 2004 Joel de Guzman - http://spirit.sourceforge.net/ - - Distributed under the Boost Software License, Version 1.0. (See accompany- - ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -=============================================================================*/ - -/*============================================================================= - Body defaults -=============================================================================*/ - - body - { - margin: 1em; - font-family: sans-serif; - } - -/*============================================================================= - Paragraphs -=============================================================================*/ - - p - { - text-align: left; - font-size: 10pt; - line-height: 1.15; - } - -/*============================================================================= - Program listings -=============================================================================*/ - - /* Code on paragraphs */ - p tt.computeroutput - { - font-size: 9pt; - } - - pre.synopsis - { - font-size: 9pt; - margin: 1pc 4% 0pc 4%; - padding: 0.5pc 0.5pc 0.5pc 0.5pc; - } - - .programlisting, - .screen - { - font-size: 9pt; - display: block; - margin: 1pc 4% 0pc 4%; - padding: 0.5pc 0.5pc 0.5pc 0.5pc; - } - - /* Program listings in tables don't get borders */ - td .programlisting, - td .screen - { - margin: 0pc 0pc 0pc 0pc; - padding: 0pc 0pc 0pc 0pc; - } - -/*============================================================================= - Headings -=============================================================================*/ - - h1, h2, h3, h4, h5, h6 - { - text-align: left; - margin: 1em 0em 0.5em 0em; - font-weight: bold; - } - - h1 { font: 140% } - h2 { font: bold 140% } - h3 { font: bold 130% } - h4 { font: bold 120% } - h5 { font: italic 110% } - h6 { font: italic 100% } - - /* Top page titles */ - title, - h1.title, - h2.title - h3.title, - h4.title, - h5.title, - h6.title, - .refentrytitle - { - font-weight: bold; - margin-bottom: 1pc; - } - - h1.title { font-size: 140% } - h2.title { font-size: 140% } - h3.title { font-size: 130% } - h4.title { font-size: 120% } - h5.title { font-size: 110% } - h6.title { font-size: 100% } - - .section h1 - { - margin: 0em 0em 0.5em 0em; - font-size: 140%; - } - - .section h2 { font-size: 140% } - .section h3 { font-size: 130% } - .section h4 { font-size: 120% } - .section h5 { font-size: 110% } - .section h6 { font-size: 100% } - - /* Code on titles */ - h1 tt.computeroutput { font-size: 140% } - h2 tt.computeroutput { font-size: 140% } - h3 tt.computeroutput { font-size: 130% } - h4 tt.computeroutput { font-size: 130% } - h5 tt.computeroutput { font-size: 130% } - h6 tt.computeroutput { font-size: 130% } - - -/*============================================================================= - Author -=============================================================================*/ - - h3.author - { - font-size: 100% - } - -/*============================================================================= - Lists -=============================================================================*/ - - li - { - font-size: 10pt; - line-height: 1.3; - } - - /* Unordered lists */ - ul - { - text-align: left; - } - - /* Ordered lists */ - ol - { - text-align: left; - } - -/*============================================================================= - Links -=============================================================================*/ - - a - { - text-decoration: none; /* no underline */ - } - - a:hover - { - text-decoration: underline; - } - -/*============================================================================= - Spirit style navigation -=============================================================================*/ - - .spirit-nav - { - text-align: right; - } - - .spirit-nav a - { - color: white; - padding-left: 0.5em; - } - - .spirit-nav img - { - border-width: 0px; - } - -/*============================================================================= - Copyright footer -=============================================================================*/ - .copyright-footer - { - text-align: right; - font-size: 70%; - } - - .copyright-footer p - { - text-align: right; - font-size: 80%; - } - -/*============================================================================= - Table of contents -=============================================================================*/ - - .toc - { - margin: 1pc 4% 0pc 4%; - padding: 0.1pc 1pc 0.1pc 1pc; - font-size: 80%; - line-height: 1.15; - } - - .boost-toc - { - float: right; - padding: 0.5pc; - } - - /* Code on toc */ - .toc .computeroutput { font-size: 120% } - -/*============================================================================= - Tables -=============================================================================*/ - - .table-title, - div.table p.title - { - margin-left: 4%; - padding-right: 0.5em; - padding-left: 0.5em; - } - - .informaltable table, - .table table - { - width: 92%; - margin-left: 4%; - margin-right: 4%; - } - - div.informaltable table, - div.table table - { - padding: 4px; - } - - /* Table Cells */ - div.informaltable table tr td, - div.table table tr td - { - padding: 0.5em; - text-align: left; - font-size: 9pt; - } - - div.informaltable table tr th, - div.table table tr th - { - padding: 0.5em 0.5em 0.5em 0.5em; - border: 1pt solid white; - font-size: 80%; - } - - table.simplelist - { - width: auto !important; - margin: 0em !important; - padding: 0em !important; - border: none !important; - } - table.simplelist td - { - margin: 0em !important; - padding: 0em !important; - text-align: left !important; - font-size: 9pt !important; - border: none !important; - } - -/*============================================================================= - Blurbs -=============================================================================*/ - - div.note, - div.tip, - div.important, - div.caution, - div.warning, - p.blurb - { - font-size: 9pt; /* A little bit smaller than the main text */ - line-height: 1.2; - display: block; - margin: 1pc 4% 0pc 4%; - padding: 0.5pc 0.5pc 0.5pc 0.5pc; - } - - p.blurb img - { - padding: 1pt; - } - -/*============================================================================= - Variable Lists -=============================================================================*/ - - div.variablelist - { - margin: 1em 0; - } - - /* Make the terms in definition lists bold */ - div.variablelist dl dt, - span.term - { - font-weight: bold; - font-size: 10pt; - } - - div.variablelist table tbody tr td - { - text-align: left; - vertical-align: top; - padding: 0em 2em 0em 0em; - font-size: 10pt; - margin: 0em 0em 0.5em 0em; - line-height: 1; - } - - div.variablelist dl dt - { - margin-bottom: 0.2em; - } - - div.variablelist dl dd - { - margin: 0em 0em 0.5em 2em; - font-size: 10pt; - } - - div.variablelist table tbody tr td p, - div.variablelist dl dd p - { - margin: 0em 0em 0.5em 0em; - line-height: 1; - } - -/*============================================================================= - Misc -=============================================================================*/ - - /* Title of books and articles in bibliographies */ - span.title - { - font-style: italic; - } - - span.underline - { - text-decoration: underline; - } - - span.strikethrough - { - text-decoration: line-through; - } - - /* Copyright, Legal Notice */ - div div.legalnotice p - { - text-align: left - } - -/*============================================================================= - Colors -=============================================================================*/ - - @media screen - { - body { - background-color: #FFFFFF; - color: #000000; - } - - /* Syntax Highlighting */ - .keyword { color: #0000AA; } - .identifier { color: #000000; } - .special { color: #707070; } - .preprocessor { color: #402080; } - .char { color: teal; } - .comment { color: #800000; } - .string { color: teal; } - .number { color: teal; } - .white_bkd { background-color: #FFFFFF; } - .dk_grey_bkd { background-color: #999999; } - - /* Links */ - a, a .keyword, a .identifier, a .special, a .preprocessor - a .char, a .comment, a .string, a .number - { - color: #005a9c; - } - - a:visited, a:visited .keyword, a:visited .identifier, - a:visited .special, a:visited .preprocessor a:visited .char, - a:visited .comment, a:visited .string, a:visited .number - { - color: #9c5a9c; - } - - h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, - h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, - h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited - { - text-decoration: none; /* no underline */ - color: #000000; - } - - /* Copyright, Legal Notice */ - .copyright - { - color: #666666; - font-size: small; - } - - div div.legalnotice p - { - color: #666666; - } - - /* Program listing */ - pre.synopsis - { - border: 1px solid #DCDCDC; - } - - .programlisting, - .screen - { - border: 1px solid #DCDCDC; - } - - td .programlisting, - td .screen - { - border: 0px solid #DCDCDC; - } - - /* Blurbs */ - div.note, - div.tip, - div.important, - div.caution, - div.warning, - p.blurb - { - border: 1px solid #DCDCDC; - } - - /* Table of contents */ - .toc - { - border: 1px solid #DCDCDC; - } - - /* Tables */ - div.informaltable table tr td, - div.table table tr td - { - border: 1px solid #DCDCDC; - } - - div.informaltable table tr th, - div.table table tr th - { - background-color: #F0F0F0; - border: 1px solid #DCDCDC; - } - - .copyright-footer - { - color: #8F8F8F; - } - - /* Misc */ - span.highlight - { - color: #00A000; - } - } - - @media print - { - /* Links */ - a - { - color: black; - } - - a:visited - { - color: black; - } - - .spirit-nav - { - display: none; - } - - /* Program listing */ - pre.synopsis - { - border: 1px solid gray; - } - - .programlisting, - .screen - { - border: 1px solid gray; - } - - td .programlisting, - td .screen - { - border: 0px solid #DCDCDC; - } - - /* Table of contents */ - .toc - { - border: 1px solid gray; - } - - .informaltable table, - .table table - { - border: 1px solid gray; - border-collapse: collapse; - } - - /* Tables */ - div.informaltable table tr td, - div.table table tr td - { - border: 1px solid gray; - } - - div.informaltable table tr th, - div.table table tr th - { - border: 1px solid gray; - } - - table.simplelist tr td - { - border: none !important; - } - - /* Misc */ - span.highlight - { - font-weight: bold; - } - } - -/*============================================================================= - Images -=============================================================================*/ - - span.inlinemediaobject img - { - vertical-align: middle; - } - -/*============================================================================== - Super and Subscript: style so that line spacing isn't effected, see - http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341 -==============================================================================*/ - -sup, -sub { - height: 0; - line-height: 1; - vertical-align: baseline; - _vertical-align: bottom; - position: relative; - -} - -sup { - bottom: 1ex; -} - -sub { - top: .5ex; -} - diff --git a/doc/html/docutils.css b/doc/html/docutils.css deleted file mode 100644 index 620cf86102..0000000000 --- a/doc/html/docutils.css +++ /dev/null @@ -1,275 +0,0 @@ -/* -:Author: David Goodger -:Contact: goodger@python.org -:Date: $Date$ -:Revision: $Revision$ -:Copyright: This stylesheet has been placed in the public domain. - -Default cascading style sheet for the HTML output of Docutils. - -See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to -customize this style sheet. -*/ - -/* used to remove borders from tables and images */ -.borderless, table.borderless td, table.borderless th { - border: 0 } - -table.borderless td, table.borderless th { - /* Override padding for "table.docutils td" with "! important". - The right padding separates the table cells. */ - padding: 0 0.5em 0 0 ! important } - -.first { - /* Override more specific margin styles with "! important". */ - margin-top: 0 ! important } - -.last, .with-subtitle { - margin-bottom: 0 ! important } - -.hidden { - display: none } - -a.toc-backref { - text-decoration: none ; - color: black } - -blockquote.epigraph { - margin: 2em 5em ; } - -dl.docutils dd { - margin-bottom: 0.5em } - -/* Uncomment (and remove this text!) to get bold-faced definition list terms -dl.docutils dt { - font-weight: bold } -*/ - -div.abstract { - margin: 2em 5em } - -div.abstract p.topic-title { - font-weight: bold ; - text-align: center } - -div.admonition, div.attention, div.caution, div.danger, div.error, -div.hint, div.important, div.note, div.tip, div.warning { - margin: 2em ; - border: medium outset ; - padding: 1em } - -div.admonition p.admonition-title, div.hint p.admonition-title, -div.important p.admonition-title, div.note p.admonition-title, -div.tip p.admonition-title { - font-weight: bold ; - font-family: sans-serif } - -div.attention p.admonition-title, div.caution p.admonition-title, -div.danger p.admonition-title, div.error p.admonition-title, -div.warning p.admonition-title { - color: red ; - font-weight: bold ; - font-family: sans-serif } - -/* Uncomment (and remove this text!) to get reduced vertical space in - compound paragraphs. -div.compound .compound-first, div.compound .compound-middle { - margin-bottom: 0.5em } - -div.compound .compound-last, div.compound .compound-middle { - margin-top: 0.5em } -*/ - -div.dedication { - margin: 2em 5em ; - text-align: center ; - font-style: italic } - -div.dedication p.topic-title { - font-weight: bold ; - font-style: normal } - -div.figure { - margin-left: 2em ; - margin-right: 2em } - -div.footer, div.header { - clear: both; - font-size: smaller } - -div.line-block { - display: block ; - margin-top: 1em ; - margin-bottom: 1em } - -div.line-block div.line-block { - margin-top: 0 ; - margin-bottom: 0 ; - margin-left: 1.5em } - -div.sidebar { - margin-left: 1em ; - border: medium outset ; - padding: 1em ; - background-color: #ffffee ; - width: 40% ; - float: right ; - clear: right } - -div.sidebar p.rubric { - font-family: sans-serif ; - font-size: medium } - -div.system-messages { - margin: 5em } - -div.system-messages h1 { - color: red } - -div.system-message { - border: medium outset ; - padding: 1em } - -div.system-message p.system-message-title { - color: red ; - font-weight: bold } - -div.topic { - margin: 2em } - -h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, -h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { - margin-top: 0.4em } - -h1.title { - text-align: center } - -h2.subtitle { - text-align: center } - -hr.docutils { - width: 75% } - -img.align-left { - clear: left } - -img.align-right { - clear: right } - -ol.simple, ul.simple { - margin-bottom: 1em } - -ol.arabic { - list-style: decimal } - -ol.loweralpha { - list-style: lower-alpha } - -ol.upperalpha { - list-style: upper-alpha } - -ol.lowerroman { - list-style: lower-roman } - -ol.upperroman { - list-style: upper-roman } - -p.attribution { - text-align: right ; - margin-left: 50% } - -p.caption { - font-style: italic } - -p.credits { - font-style: italic ; - font-size: smaller } - -p.label { - white-space: nowrap } - -p.rubric { - font-weight: bold ; - font-size: larger ; - color: maroon ; - text-align: center } - -p.sidebar-title { - font-family: sans-serif ; - font-weight: bold ; - font-size: larger } - -p.sidebar-subtitle { - font-family: sans-serif ; - font-weight: bold } - -p.topic-title { - font-weight: bold } - -pre.address { - margin-bottom: 0 ; - margin-top: 0 ; - font-family: serif ; - font-size: 100% } - -pre.literal-block, pre.doctest-block { - margin-left: 2em ; - margin-right: 2em } - -span.classifier { - font-family: sans-serif ; - font-style: oblique } - -span.classifier-delimiter { - font-family: sans-serif ; - font-weight: bold } - -span.interpreted { - font-family: sans-serif } - -span.option { - white-space: nowrap } - -span.pre { - white-space: pre } - -span.problematic { - color: red } - -span.section-subtitle { - /* font-size relative to parent (h1..h6 element) */ - font-size: 80% } - -table.citation { - border-left: solid 1px gray; - margin-left: 1px } - -table.docinfo { - margin: 2em 4em } - -table.docutils { - margin-top: 0.5em ; - margin-bottom: 0.5em } - -table.footnote { - border-left: solid 1px black; - margin-left: 1px } - -table.docutils td, table.docutils th, -table.docinfo td, table.docinfo th { - padding-left: 0.5em ; - padding-right: 0.5em ; - vertical-align: top } - -table.docutils th.field-name, table.docinfo th.docinfo-name { - font-weight: bold ; - text-align: left ; - white-space: nowrap ; - padding-left: 0 } - -h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, -h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { - font-size: 100% } - -ul.auto-toc { - list-style-type: none } diff --git a/doc/html/minimal.css b/doc/html/minimal.css deleted file mode 100644 index 2e5812a9b8..0000000000 --- a/doc/html/minimal.css +++ /dev/null @@ -1,29 +0,0 @@ -/* - - © Copyright Beman Dawes, 2007 - - Distributed under the Boost Software License, Version 1.0. - See www.boost.org/LICENSE_1_0.txt - -*/ - -/******************************************************************************* - Body -*******************************************************************************/ - -body { font-family: sans-serif; margin: 1em; } - -/******************************************************************************* - Table -*******************************************************************************/ - -table { margin: 0.5em; } - -/******************************************************************************* - Font sizes -*******************************************************************************/ - -p, td, li, blockquote { font-size: 10pt; } -pre { font-size: 9pt; } - -/*** end ***/ \ No newline at end of file diff --git a/doc/html/reference.css b/doc/html/reference.css deleted file mode 100644 index 6826962afc..0000000000 --- a/doc/html/reference.css +++ /dev/null @@ -1,11 +0,0 @@ -/*============================================================================ - Copyright 2003-2004 Douglas Gregor - Distributed under the Boost Software License, Version 1.0. (See accompany- - ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -============================================================================*/ - -PRE.synopsis { - background-color: #e0ffff; - border: thin solid blue; - padding: 1em -} \ No newline at end of file diff --git a/doc/test/gold/boost/accumulators/extract/weighted_tail_quantile.html b/doc/test/gold/boost/accumulators/extract/weighted_tail_quantile.html index 4f0830a24a..a78d6c5f5e 100644 --- a/doc/test/gold/boost/accumulators/extract/weighted_tail_quantile.html +++ b/doc/test/gold/boost/accumulators/extract/weighted_tail_quantile.html @@ -1,13 +1,13 @@ - + Global weighted_tail_quantile - - + + - + - + @@ -20,22 +20,22 @@

-PrevUpHomeNext +PrevUpHomeNext
-
+

Global weighted_tail_quantile

boost::accumulators::extract::weighted_tail_quantile

Synopsis

-
// In header: <boost/trunk/doc/test/weighted_tail_quantile.hpp>
+
// In header: <boost/git/doc/test/weighted_tail_quantile.hpp>
 
-extractor< tag::quantile > const weighted_tail_quantile;
+
extractor< tag::quantile > const weighted_tail_quantile;
-

-PrevUpHomeNext +PrevUpHomeNext
diff --git a/doc/test/gold/boost/accumulators/impl/weighted_tail_quantile__id226526.html b/doc/test/gold/boost/accumulators/impl/weighted_tail_quantile__id226526.html deleted file mode 100644 index 01c0dff986..0000000000 --- a/doc/test/gold/boost/accumulators/impl/weighted_tail_quantile__id226526.html +++ /dev/null @@ -1,91 +0,0 @@ - - - -Struct template weighted_tail_quantile_impl - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
-
-
-

Struct template weighted_tail_quantile_impl

-

boost::accumulators::impl::weighted_tail_quantile_impl — Tail quantile estimation based on order statistics of weighted samples (for both left and right tails).

-
-

Synopsis

-
// In header: <boost/trunk/doc/test/weighted_tail_quantile.hpp>
-
-template<typename Sample, typename Weight, typename LeftRight> 
-struct weighted_tail_quantile_impl {
-  // types
-  typedef numeric::functional::average< Weight, std::size_t >::result_type float_type; 
-  typedef Sample                                                           result_type;
-
-  // construct/copy/destruct
-  weighted_tail_quantile_impl(dont_care);
-
-  // public member functions
-  template<typename Args> result_type result(Args const &) const;
-};
-
-

Description

-

An estimator of tail quantiles with level based on order statistics of weighted samples are given by (left tail) and (right tail), where

-
-

Equation 1. 

-
-
-


-

and

-
-

Equation 2. 

-
-
-


-

being the number of samples and the sum of all weights.

-

-

-
-

-weighted_tail_quantile_impl - public - construct/copy/destruct

-
  1. weighted_tail_quantile_impl(dont_care);
-
-
-

-weighted_tail_quantile_impl public member functions

-
  1. template<typename Args> result_type result(Args const & args) const;
-
-
-
- - - -
-
-
-PrevUpHomeNext -
- - diff --git a/doc/test/gold/boost/accumulators/impl/weighted_tail_quantile__id330298.html b/doc/test/gold/boost/accumulators/impl/weighted_tail_quantile__id330298.html new file mode 100644 index 0000000000..a33490853a --- /dev/null +++ b/doc/test/gold/boost/accumulators/impl/weighted_tail_quantile__id330298.html @@ -0,0 +1,91 @@ + + + +Struct template weighted_tail_quantile_impl + + + + + + + + + + + + + + + +
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
+
+
+PrevUpHomeNext +
+
+
+
+

Struct template weighted_tail_quantile_impl

+

boost::accumulators::impl::weighted_tail_quantile_impl — Tail quantile estimation based on order statistics of weighted samples (for both left and right tails).

+
+

Synopsis

+
// In header: <boost/git/doc/test/weighted_tail_quantile.hpp>
+
+template<typename Sample, typename Weight, typename LeftRight> 
+struct weighted_tail_quantile_impl {
+  // types
+  typedef numeric::functional::average< Weight, std::size_t >::result_type float_type; 
+  typedef Sample                                                           result_type;
+
+  // construct/copy/destruct
+  weighted_tail_quantile_impl(dont_care);
+
+  // public member functions
+  template<typename Args> result_type result(Args const &) const;
+};
+
+

Description

+

An estimator of tail quantiles with level based on order statistics of weighted samples are given by (left tail) and (right tail), where

+
+

Equation 1. 

+
+
+


+

and

+
+

Equation 2. 

+
+
+


+

being the number of samples and the sum of all weights.

+

+

+
+

+weighted_tail_quantile_impl + public + construct/copy/destruct

+
  1. weighted_tail_quantile_impl(dont_care);
+
+
+

+weighted_tail_quantile_impl public member functions

+
  1. template<typename Args> result_type result(Args const & args) const;
+
+
+
+ + + +
+
+
+PrevUpHomeNext +
+ + diff --git a/doc/test/gold/boost/accumulators/tag/weighted_tail_quantile.html b/doc/test/gold/boost/accumulators/tag/weighted_tail_quantile.html index 687d062f42..3e40ff43a9 100644 --- a/doc/test/gold/boost/accumulators/tag/weighted_tail_quantile.html +++ b/doc/test/gold/boost/accumulators/tag/weighted_tail_quantile.html @@ -1,12 +1,12 @@ - + Struct template weighted_tail_quantile - - + + - - + + @@ -19,25 +19,25 @@

-PrevUpHome +PrevUpHome
-
+

Struct template weighted_tail_quantile

boost::accumulators::tag::weighted_tail_quantile

Synopsis

-
// In header: <boost/trunk/doc/test/weighted_tail_quantile.hpp>
+
// In header: <boost/git/doc/test/weighted_tail_quantile.hpp>
 
-template<typename LeftRight> 
-struct weighted_tail_quantile : public boost::accumulators::depends_on< sum_of_weights, tail_weights< LeftRight > >
-{
-};
+
template<typename LeftRight> +struct weighted_tail_quantile : public boost::accumulators::depends_on< sum_of_weights, tail_weights< LeftRight > > +{ +};
-

-PrevUpHome +PrevUpHome
diff --git a/doc/test/gold/boost/array.html b/doc/test/gold/boost/array.html index 6ed4b9a389..ab31a6ce62 100644 --- a/doc/test/gold/boost/array.html +++ b/doc/test/gold/boost/array.html @@ -1,9 +1,9 @@ - + Class template array - - + + @@ -20,165 +20,165 @@
-PrevUpHomeNext +PrevUpHomeNext
-
+

Class template array

boost::array — STL compliant container wrapper for arrays of constant size

Synopsis

-
// In header: <boost/array.hpp>
+
// In header: <boost/array.hpp>
 
-template<typename T, std::size_t N> 
-class array {
-public:
-  // types
-  typedef T                                                                        value_type;            
-  typedef T*                                                                       iterator;              
-  typedef const T*                                                                 const_iterator;        
-  typedef 
-                  std::reverse_iterator<iterator>
-                      reverse_iterator;      
-  typedef 
-                  std::reverse_iterator<const_iterator>
-                const_reverse_iterator;
-  typedef T&                                                                       reference;             
-  typedef const T&                                                                 const_reference;       
-  typedef std::size_t                                                              size_type;             
-  typedef std::ptrdiff_t                                                           difference_type;       
+template<typename T, std::size_t N> 
+class array {
+public:
+  // types
+  typedef T                                                                        value_type;            
+  typedef T*                                                                       iterator;              
+  typedef const T*                                                                 const_iterator;        
+  typedef 
+                  std::reverse_iterator<iterator>
+                      reverse_iterator;      
+  typedef 
+                  std::reverse_iterator<const_iterator>
+                const_reverse_iterator;
+  typedef T&                                                                       reference;             
+  typedef const T&                                                                 const_reference;       
+  typedef std::size_t                                                              size_type;             
+  typedef std::ptrdiff_t                                                           difference_type;       
 
-  // static constants
-  static const size_type static_size = N;
+  // static constants
+  static const size_type static_size = N;
 
-  // construct/copy/destruct
-  template<typename U> 
-    array& operator=(
-                     const array<U, N>&
-                  );
+  // construct/copy/destruct
+  template<typename U> 
+    array& operator=(
+                     const array<U, N>&
+                  );
 
-  // iterator support
-  iterator begin();
-  const_iterator begin() const;
-  iterator end();
-  const_iterator end() const;
+  // iterator support
+  iterator begin();
+  const_iterator begin() const;
+  iterator end();
+  const_iterator end() const;
 
-  // reverse iterator support
-  reverse_iterator rbegin();
-  const_reverse_iterator rbegin() const;
-  reverse_iterator rend();
-  const_reverse_iterator rend() const;
+  // reverse iterator support
+  reverse_iterator rbegin();
+  const_reverse_iterator rbegin() const;
+  reverse_iterator rend();
+  const_reverse_iterator rend() const;
 
-  // capacity
-  size_type size();
-  bool empty();
-  size_type max_size();
+  // capacity
+  size_type size();
+  bool empty();
+  size_type max_size();
 
-  // element access
-  reference operator[](size_type);
-  const_reference operator[](size_type) const;
-  reference at(size_type);
-  const_reference at(size_type) const;
-  reference front();
-  const_reference front() const;
-  reference back();
-  const_reference back() const;
-  const T* data() const;
-  T* c_array();
+  // element access
+  reference operator[](size_type);
+  const_reference operator[](size_type) const;
+  reference at(size_type);
+  const_reference at(size_type) const;
+  reference front();
+  const_reference front() const;
+  reference back();
+  const_reference back() const;
+  const T* data() const;
+  T* c_array();
 
-  // modifiers
-  void swap(
-                        array<T, N>&
-                     );
-  void assign(const T&);
-  T elems[N];
-};
+  // modifiers
+  void swap(
+                        array<T, N>&
+                     );
+  void assign(const T&);
+  T elems[N];
+};
 
-// specialized algorithms
-template<typename T, std::size_t N> 
-  void swap(
-                        array<T, N>&
-                     , 
+// specialized algorithms
+template<typename T, std::size_t N> 
+  void swap(
+                        array<T, N>&
+                     , 
             
-                        array<T, N>&
-                     );
+                        array<T, N>&
+                     );
 
-// comparisons
-template<typename T, std::size_t N> 
-  bool operator==(
-                        const array<T, N>&
-                     , 
+// comparisons
+template<typename T, std::size_t N> 
+  bool operator==(
+                        const array<T, N>&
+                     , 
                   
-                        const array<T, N>&
-                     );
-template<typename T, std::size_t N> 
-  bool operator!=(
-                        const array<T, N>&
-                     , 
+                        const array<T, N>&
+                     );
+template<typename T, std::size_t N> 
+  bool operator!=(
+                        const array<T, N>&
+                     , 
                   
-                        const array<T, N>&
-                     );
-template<typename T, std::size_t N> 
-  bool operator<(
-                        const array<T, N>&
-                     , 
+                        const array<T, N>&
+                     );
+template<typename T, std::size_t N> 
+  bool operator<(
+                        const array<T, N>&
+                     , 
                  
-                        const array<T, N>&
-                     );
-template<typename T, std::size_t N> 
-  bool operator>(
-                        const array<T, N>&
-                     , 
+                        const array<T, N>&
+                     );
+template<typename T, std::size_t N> 
+  bool operator>(
+                        const array<T, N>&
+                     , 
                  
-                        const array<T, N>&
-                     );
-template<typename T, std::size_t N> 
-  bool operator<=(
-                        const array<T, N>&
-                     , 
+                        const array<T, N>&
+                     );
+template<typename T, std::size_t N> 
+  bool operator<=(
+                        const array<T, N>&
+                     , 
                   
-                        const array<T, N>&
-                     );
-template<typename T, std::size_t N> 
-  bool operator>=(
-                        const array<T, N>&
-                     , 
+                        const array<T, N>&
+                     );
+template<typename T, std::size_t N> 
+  bool operator>=(
+                        const array<T, N>&
+                     , 
                   
-                        const array<T, N>&
-                     );
-
-

Description

-
-

+ const array<T, N>& + );

+
+

Description

+
+

array public construct/copy/destruct

-
  1. -
    template<typename U> 
    -  array& operator=(
    -                     const array<U, N>&
    -                   other);
    +
    1. +
      template<typename U> 
      +  array& operator=(
      +                     const array<U, N>&
      +                   other);

      Effects:

      - std::copy(rhs.begin(),rhs.end(), begin()) + std::copy(rhs.begin(),rhs.end(), begin())
-
-

-array iterator support

-
    -
  1. -
    iterator begin();
    -const_iterator begin() const;
    +
    +

    +array iterator support

    +
      +
    1. +
      iterator begin();
      +const_iterator begin() const;
      @@ -193,9 +193,9 @@
    2. -
    3. -
      iterator end();
      -const_iterator end() const;
      +
    4. +
      iterator end();
      +const_iterator end() const;
      @@ -212,13 +212,13 @@ -
      -

      -array reverse iterator support

      -
        -
      1. -
        reverse_iterator rbegin();
        -const_reverse_iterator rbegin() const;
        +
        +

        +array reverse iterator support

        +
          +
        1. +
          reverse_iterator rbegin();
          +const_reverse_iterator rbegin() const;
      @@ -227,9 +227,9 @@
    5. -
    6. -
      reverse_iterator rend();
      -const_reverse_iterator rend() const;
      +
    7. +
      reverse_iterator rend();
      +const_reverse_iterator rend() const;
      @@ -240,12 +240,12 @@ -
      -

      -array capacity

      -
        -
      1. -
        size_type size();
        +
        +

        +array capacity

        +
          +
        1. +
          size_type size();
      @@ -256,8 +256,8 @@
    8. -
    9. -
      bool empty();
      +
    10. +
      bool empty();
      @@ -274,8 +274,8 @@
    11. -
    12. -
      size_type max_size();
      +
    13. +
      size_type max_size();
      @@ -294,13 +294,13 @@ -
      -

      -array element access

      -
        -
      1. -
        reference operator[](size_type i);
        -const_reference operator[](size_type i) const;
        +
        +

        +array element access

        +
          +
        1. +
          reference operator[](size_type i);
          +const_reference operator[](size_type i) const;
      @@ -323,9 +323,9 @@
    14. -
    15. -
      reference at(size_type i);
      -const_reference at(size_type i) const;
      +
    16. +
      reference at(size_type i);
      +const_reference at(size_type i) const;
      @@ -346,9 +346,9 @@
    17. -
    18. -
      reference front();
      -const_reference front() const;
      +
    19. +
      reference front();
      +const_reference front() const;
      @@ -369,9 +369,9 @@
    20. -
    21. -
      reference back();
      -const_reference back() const;
      +
    22. +
      reference back();
      +const_reference back() const;
      @@ -392,8 +392,8 @@
    23. -
    24. -
      const T* data() const;
      +
    25. +
      const T* data() const;
      @@ -410,8 +410,8 @@
    26. -
    27. -
      T* c_array();
      +
    28. +
      T* c_array();
      @@ -430,14 +430,14 @@ -
      -

      -array modifiers

      -
        -
      1. -
        void swap(
        -                        array<T, N>&
        -                      other);
        +
        +

        +array modifiers

        +
          +
        1. +
          void swap(
          +                        array<T, N>&
          +                      other);
      @@ -445,7 +445,7 @@ @@ -458,15 +458,15 @@

      Effects:

      - std::swap_ranges(begin(), end(), other.begin()) + std::swap_ranges(begin(), end(), other.begin())
    29. -
    30. -
      void assign(const T& value);
      +
    31. +
      void assign(const T& value);
      @@ -474,17 +474,17 @@ -
      -

      -array specialized algorithms

      -
      1. -
        template<typename T, std::size_t N> 
        -  void swap(
        -                        array<T, N>&
        -                      x, 
        +
        +

        +array specialized algorithms

        +
        1. +
          template<typename T, std::size_t N> 
          +  void swap(
          +                        array<T, N>&
          +                      x, 
                       
          -                        array<T, N>&
          -                      y);
          + array<T, N>& + y);

      Effects:

      - std::fill_n(begin(), N, value) + std::fill_n(begin(), N, value)
      @@ -492,7 +492,7 @@ @@ -504,38 +504,38 @@

      Effects:

      - x.swap(y) + x.swap(y)
    -
    -

    -array comparisons

    -
      -
    1. -
      template<typename T, std::size_t N> 
      -  bool operator==(
      -                        const array<T, N>&
      -                      x, 
      +
      +

      +array comparisons

      +
        +
      1. +
        template<typename T, std::size_t N> 
        +  bool operator==(
        +                        const array<T, N>&
        +                      x, 
                           
        -                        const array<T, N>&
        -                      y);
        + const array<T, N>& + y);

      Returns:

      - std::equal(x.begin(), x.end(), y.begin()) + std::equal(x.begin(), x.end(), y.begin())
    2. -
    3. -
      template<typename T, std::size_t N> 
      -  bool operator!=(
      -                        const array<T, N>&
      -                      x, 
      +
    4. +
      template<typename T, std::size_t N> 
      +  bool operator!=(
      +                        const array<T, N>&
      +                      x, 
                         
      -                        const array<T, N>&
      -                      y);
      + const array<T, N>& + y);
    5. @@ -546,34 +546,34 @@
    6. -
    7. -
      template<typename T, std::size_t N> 
      -  bool operator<(
      -                        const array<T, N>&
      -                      x, 
      +
    8. +
      template<typename T, std::size_t N> 
      +  bool operator<(
      +                        const array<T, N>&
      +                      x, 
                        
      -                        const array<T, N>&
      -                      y);
      + const array<T, N>& + y);
    9. Returns:

      - std::lexicographical_compare(x.begin(), x.end(), y.begin(), y.end()) + std::lexicographical_compare(x.begin(), x.end(), y.begin(), y.end())
    10. -
    11. -
      template<typename T, std::size_t N> 
      -  bool operator>(
      -                        const array<T, N>&
      -                      x, 
      +
    12. +
      template<typename T, std::size_t N> 
      +  bool operator>(
      +                        const array<T, N>&
      +                      x, 
                        
      -                        const array<T, N>&
      -                      y);
      + const array<T, N>& + y);
    13. @@ -584,14 +584,14 @@
    14. -
    15. -
      template<typename T, std::size_t N> 
      -  bool operator<=(
      -                        const array<T, N>&
      -                      x, 
      +
    16. +
      template<typename T, std::size_t N> 
      +  bool operator<=(
      +                        const array<T, N>&
      +                      x, 
                         
      -                        const array<T, N>&
      -                      y);
      + const array<T, N>& + y);
    17. @@ -602,14 +602,14 @@
    18. -
    19. -
      template<typename T, std::size_t N> 
      -  bool operator>=(
      -                        const array<T, N>&
      -                      x, 
      +
    20. +
      template<typename T, std::size_t N> 
      +  bool operator>=(
      +                        const array<T, N>&
      +                      x, 
                         
      -                        const array<T, N>&
      -                      y);
      + const array<T, N>& + y);
    21. @@ -626,7 +626,7 @@
      -

      -PrevUpHomeNext +PrevUpHomeNext
      diff --git a/doc/test/gold/document_to_test_formatting/accumulators.html b/doc/test/gold/document_to_test_formatting/accumulators.html index 6febad2b78..cdad18cfcd 100644 --- a/doc/test/gold/document_to_test_formatting/accumulators.html +++ b/doc/test/gold/document_to_test_formatting/accumulators.html @@ -1,9 +1,9 @@ - + Accumulators Example Doxygen Documentation - - + + @@ -20,41 +20,41 @@
      -PrevUpHomeNext +PrevUpHomeNext
      -
      +
      -
      +

      Statistics Library Reference

      - -
      + +
      -
      namespace boost {
      -  namespace accumulators {
      -    namespace extract {
      -      extractor< tag::quantile > const weighted_tail_quantile;
      -    }
      -    namespace impl {
      -      template<typename Sample, typename Weight, typename LeftRight> 
      -        struct weighted_tail_quantile_impl;
      -    }
      -    namespace tag {
      -      template<typename LeftRight> struct weighted_tail_quantile;
      -    }
      -  }
      -}
      +Header <boost/git/doc/test/weighted_tail_quantile.hpp>
      +
      namespace boost {
      +  namespace accumulators {
      +    namespace extract {
      +      extractor< tag::quantile > const weighted_tail_quantile;
      +    }
      +    namespace impl {
      +      template<typename Sample, typename Weight, typename LeftRight> 
      +        struct weighted_tail_quantile_impl;
      +    }
      +    namespace tag {
      +      template<typename LeftRight> struct weighted_tail_quantile;
      +    }
      +  }
      +}
      -

      -PrevUpHomeNext +PrevUpHomeNext
      diff --git a/doc/test/gold/document_to_test_formatting/array.html b/doc/test/gold/document_to_test_formatting/array.html index 176f09cd8e..361c0aa05f 100644 --- a/doc/test/gold/document_to_test_formatting/array.html +++ b/doc/test/gold/document_to_test_formatting/array.html @@ -1,9 +1,9 @@ - + Array Example Boostbook XML Documentation - - + + @@ -20,21 +20,21 @@
      -PrevUpHomeNext +PrevUpHomeNext
      -
      +
      -
      +

      Introduction

      The C++ Standard Template Library STL as part of the C++ @@ -70,90 +70,90 @@ Standard). The reasons array is not an reversible STL container is because:

      -
        -
      • No constructors are provided.
      • -
      • Elements may have an undetermined initial value (see the section called “Design Rationale”).
      • -
      • -swap() has no constant complexity.
      • -
      • -size() is always constant, based on the second template argument of the type.
      • -
      • The container provides no allocator support.
      • +
          +
        • No constructors are provided.
        • +
        • Elements may have an undetermined initial value (see the section called “Design Rationale”).
        • +
        • +swap() has no constant complexity.
        • +
        • +size() is always constant, based on the second template argument of the type.
        • +
        • The container provides no allocator support.

        It doesn't fulfill the requirements of a "sequence" (see Section 23.1.1, [lib.sequence.reqmts] of the C++ Standard), except that:

        -
        -
        +

        -Reference

        +Reference
      -
      +

      Header <boost/array.hpp>

      -
      namespace boost {
      -  template<typename T, std::size_t N> class array;
      -  template<typename T, std::size_t N> 
      -    void swap(
      -                        array<T, N>&
      -                     , 
      +
      namespace boost {
      +  template<typename T, std::size_t N> class array;
      +  template<typename T, std::size_t N> 
      +    void swap(
      +                        array<T, N>&
      +                     , 
                     
      -                        array<T, N>&
      -                     );
      -  template<typename T, std::size_t N> 
      -    bool operator==(
      -                        const array<T, N>&
      -                     , 
      +                        array<T, N>&
      +                     );
      +  template<typename T, std::size_t N> 
      +    bool operator==(
      +                        const array<T, N>&
      +                     , 
                           
      -                        const array<T, N>&
      -                     );
      -  template<typename T, std::size_t N> 
      -    bool operator!=(
      -                        const array<T, N>&
      -                     , 
      +                        const array<T, N>&
      +                     );
      +  template<typename T, std::size_t N> 
      +    bool operator!=(
      +                        const array<T, N>&
      +                     , 
                           
      -                        const array<T, N>&
      -                     );
      -  template<typename T, std::size_t N> 
      -    bool operator<(
      -                        const array<T, N>&
      -                     , 
      +                        const array<T, N>&
      +                     );
      +  template<typename T, std::size_t N> 
      +    bool operator<(
      +                        const array<T, N>&
      +                     , 
                          
      -                        const array<T, N>&
      -                     );
      -  template<typename T, std::size_t N> 
      -    bool operator>(
      -                        const array<T, N>&
      -                     , 
      +                        const array<T, N>&
      +                     );
      +  template<typename T, std::size_t N> 
      +    bool operator>(
      +                        const array<T, N>&
      +                     , 
                          
      -                        const array<T, N>&
      -                     );
      -  template<typename T, std::size_t N> 
      -    bool operator<=(
      -                        const array<T, N>&
      -                     , 
      +                        const array<T, N>&
      +                     );
      +  template<typename T, std::size_t N> 
      +    bool operator<=(
      +                        const array<T, N>&
      +                     , 
                           
      -                        const array<T, N>&
      -                     );
      -  template<typename T, std::size_t N> 
      -    bool operator>=(
      -                        const array<T, N>&
      -                     , 
      +                        const array<T, N>&
      +                     );
      +  template<typename T, std::size_t N> 
      +    bool operator>=(
      +                        const array<T, N>&
      +                     , 
                           
      -                        const array<T, N>&
      -                     );
      -}
      + const array<T, N>& + ); +}
      -
      +

      Design Rationale

      @@ -162,8 +162,8 @@ Section 8.5.1, [dcl.init.aggr], of the C++ Standard). This would mean:

      -
      • -

        +

        • +

          An array can be initialized with a brace-enclosing, comma-separated list of initializers for the elements of the container, written in increasing subscript @@ -172,7 +172,7 @@

                          boost::array<int,4> a = { { 1, 2, 3 } };
                       
          -

          +

          Note that if there are fewer elements in the initializer list, then each remaining element gets default-initialized (thus, it has a defined value). @@ -187,11 +187,11 @@ , because the rule says that aggregates may have:

          -
            -
          • No user-declared constructors.
          • -
          • No private or protected non-static data members.
          • -
          • No base classes.
          • -
          • No virtual functions.
          • +
              +
            • No user-declared constructors.
            • +
            • No private or protected non-static data members.
            • +
            • No base classes.
            • +
            • No virtual functions.

            @@ -216,7 +216,7 @@ warranty.

          -
          +

          For more information...

          @@ -225,11 +225,11 @@


          -         The C++ Standard Library - A Tutorial and Reference
          -         by Nicolai M. Josuttis
          -         Addison Wesley Longman, 1999
          -         ISBN 0-201-37926-0
          -      

          +         The C++ Standard Library - A Tutorial and Reference
          +         by Nicolai M. Josuttis
          +         Addison Wesley Longman, 1999
          +         ISBN 0-201-37926-0
          +      

          @@ -239,7 +239,7 @@

          -
          +

          Acknowledgements

          Doug Gregor ported the documentation to the BoostBook format.

          @@ -247,7 +247,7 @@
          -

          -PrevUpHomeNext +PrevUpHomeNext
          diff --git a/doc/test/gold/document_to_test_formatting/basic_formatting.html b/doc/test/gold/document_to_test_formatting/basic_formatting.html index 396546acdd..b03332f923 100644 --- a/doc/test/gold/document_to_test_formatting/basic_formatting.html +++ b/doc/test/gold/document_to_test_formatting/basic_formatting.html @@ -1,9 +1,9 @@ - + Basic Formatting - - + + @@ -20,9 +20,9 @@
          -PrevUpHomeNext +PrevUpHomeNext
          -
          + -
          +

          Font Styles @@ -51,26 +51,23 @@ teletype with underline.

          -
          +

          - Text that is intended to be user-replaceable is - - rendered like this - - . + Text that is intended to be user-replaceable is rendered like + this.

          -
          +

          - Here we go: “A question that sometimes drives me hazy: am I or are - the others crazy?”--Einstein + Here we go: A question that sometimes drives me hazy: am I or are + the others crazy?--Einstein

          Note the proper left and right quote marks. Also, while you can simply use @@ -81,11 +78,11 @@ Like all phrase elements, quotations may be nested. Example:

          - “Here's the rule for bargains: ‘Do other men, for they would - do you.’ That's the true business precept.” + Here's the rule for bargains: Do other men, for they would + do you. That's the true business precept.

          -
          +

          Inline Code @@ -95,7 +92,7 @@ in it. The code should be syntax highlighted.

          -
          +
          @@ -103,40 +100,50 @@ Try this: this is boost's website.... it should be visible as a link.

          +

          + This is a link to a header + file (boost/math/distributions.hpp), it should be rewritable and + point to the website when built as a PDF. +

          +

          + This is a link to another library's + documentation (Boost.Regex), using the boost: protocol, it should + be rewritten to point to the website when building a PDF. +

          +

          + This is a link to another library's + documentation (Boost.Regex), using the boost:/ protocol, it should + be rewritten to point to the website when building a PDF. +

          +

          + This is a relative link to a header + file within the test source, it should be rewritten to point to the + website when building a PDF. Although it might be on the website yet. +

          -
          +

          - Here's one - [1] - . + Here's one [1].

          - And here's another - [2] - . + And here's another [2].

          -
          +

          Lets indent the next paragraph:

          -
          -

          -

          -

          - Here we go!!! -

          -

          -

          -
          +

          + Here we go!!! +

          -
          +
          @@ -144,49 +151,49 @@ Now try rendering some heading styles:

          - + Heading 1

          - + Heading 2

          - + Heading 3

          - + Heading 4
          - + Heading 5

          - + Heading 6



          -

          [1] - A sample footnote -

          -

          [2] - Another sample footnote -

          +

          [1] + A sample footnote +

          +

          [2] + Another sample footnote +

          -

          -PrevUpHomeNext +PrevUpHomeNext
          diff --git a/doc/test/gold/document_to_test_formatting/blurbs.html b/doc/test/gold/document_to_test_formatting/blurbs.html index ec8ee51a62..44843dc40c 100644 --- a/doc/test/gold/document_to_test_formatting/blurbs.html +++ b/doc/test/gold/document_to_test_formatting/blurbs.html @@ -1,9 +1,9 @@ - + Blurbs - - + + @@ -20,9 +20,9 @@
          -PrevUpHomeNext +PrevUpHomeNext
          -
          +
          @@ -32,7 +32,7 @@
          Admonishments
          Blurbs
          -
          +

          Preformatted text @@ -67,7 +67,7 @@ Standard deviation 1 is less than standard deviation 2 REJECTED Standard deviation 1 is greater than standard deviation 2 REJECTED

          -
          +
          @@ -76,7 +76,7 @@ Standard deviation 1 is greater than standard deviation 2 REJECTED

          - +
          [Note][Note] Note

          @@ -85,7 +85,7 @@ Standard deviation 1 is greater than standard deviation 2 REJECTED

          - +
          [Tip][Tip] Tip

          @@ -94,7 +94,7 @@ Standard deviation 1 is greater than standard deviation 2 REJECTED

          - +
          [Important][Important] Important

          @@ -103,7 +103,7 @@ Standard deviation 1 is greater than standard deviation 2 REJECTED

          - +
          [Caution][Caution] Caution

          @@ -112,7 +112,7 @@ Standard deviation 1 is greater than standard deviation 2 REJECTED

          - +
          [Warning][Warning] Warning
          @@ -125,7 +125,7 @@ Standard deviation 1 is greater than standard deviation 2 REJECTED
          -
          +
          @@ -145,7 +145,7 @@ Standard deviation 1 is greater than standard deviation 2 REJECTED
          -

          -PrevUpHomeNext +PrevUpHomeNext
          diff --git a/doc/test/gold/document_to_test_formatting/code_blocks.html b/doc/test/gold/document_to_test_formatting/code_blocks.html index 2f22e82330..fefa9e089e 100644 --- a/doc/test/gold/document_to_test_formatting/code_blocks.html +++ b/doc/test/gold/document_to_test_formatting/code_blocks.html @@ -1,9 +1,9 @@ - + Code Blocks - - + + @@ -20,21 +20,23 @@
          -PrevUpHomeNext +PrevUpHomeNext
          -
          +
          -
          +

          Embedded code @@ -52,7 +54,15 @@ }

          -
          +
          + +
          template <class RealType> RealType inline foo(const RealType& a, const RealType& b, const RealType& c, const RealType& d, const RealType& e, const RealType& f, const RealType& g, const RealType& h){ return 0; }
          +
          +
          +

          Imported code and callouts @@ -61,99 +71,87 @@ Here's some code with left-placed callouts:

          -

          -

          - +

          class x
           {
           public:
           
          -    1x() : n(0)
          +    1x() : n(0)
               {
               }
           
          -    2~x()
          +    2~x()
               {
               }
           
          -    3int get() const
          +    3int get() const
               {
                   return n; 
               }
           
          -    4void set(int n_)
          +    4void set(int n_)
               {
                   n = n_;
               }
           };
           

          -

          +

          -

          -

          - + - + - + + member variable

          - + + member variable

          1

          1

          Constructor

          2

          2

          Destructor

          3

          3

          Get the n - member variable

          4

          4

          Set the n - member variable

          -

          -

          And again with callouts placed exactly where we put them:

          -

          -

          - +

          -
          std::string foo_bar() 1
          +
          std::string foo_bar() 1
           {
          -    return "foo-bar"; 2
          +    return "foo-bar"; 2
           }
           

          -

          +

          -

          -

          - + + for details

          - +

          1

          1

          The Mythical FooBar. See Foobar - for details

          2

          2

          return 'em, foo-bar man!

          -

          -

          -
          +

          Larger example @@ -413,7 +411,7 @@

          -

          -PrevUpHomeNext +PrevUpHomeNext
          diff --git a/doc/test/gold/document_to_test_formatting/images.html b/doc/test/gold/document_to_test_formatting/images.html index a5e4fc625a..8303d68f60 100644 --- a/doc/test/gold/document_to_test_formatting/images.html +++ b/doc/test/gold/document_to_test_formatting/images.html @@ -1,9 +1,9 @@ - + Images - - + + @@ -20,9 +20,9 @@
          -PrevUpHomeNext +PrevUpHomeNext
          -
          +
          @@ -45,7 +45,7 @@
          -

          -PrevUpHomeNext +PrevUpHomeNext
          diff --git a/doc/test/gold/document_to_test_formatting/lists_and_tables.html b/doc/test/gold/document_to_test_formatting/lists_and_tables.html index ee2dee5f22..b372e4f430 100644 --- a/doc/test/gold/document_to_test_formatting/lists_and_tables.html +++ b/doc/test/gold/document_to_test_formatting/lists_and_tables.html @@ -1,9 +1,9 @@ - + Lists and Tables - - + + @@ -20,9 +20,9 @@
          -PrevUpHomeNext +PrevUpHomeNext
          -
          +

          Lists and Tables @@ -33,119 +33,119 @@ Lists
          Tables

          -
          +

          A numbered list:

          -
            -
          1. - One -
          2. -
          3. - Two -
          4. -
          5. - Three -
              -
            1. - Three.a -
            2. -
            3. - Three.b -
            4. -
            5. - Three.c -
            6. -
            -
          6. -
          7. - Four -
            1. - Four.a -
                -
              1. - Four.a.i +
                  +
                1. + One +
                2. +
                3. + Two +
                4. +
                5. + Three +
                    +
                  1. + Three.a +
                  2. +
                  3. + Three.b
                  4. -
                  5. - Four.a.ii +
                  6. + Three.c
                  -
                -
              2. -
              3. - Five -
              4. + +
              5. + Four +
                1. + Four.a +
                    +
                  1. + Four.a.i +
                  2. +
                  3. + Four.a.ii +
                  4. +
                  +
                +
              6. +
              7. + Five +

              An unordered list:

              -
                -
              • - First -
              • -
              • - Second -
              • -
              • - Third -
              • +
                  +
                • + First +
                • +
                • + Second +
                • +
                • + Third +

                A mixture of the two:

                -
                  -
                1. - 1 -
                    -
                  • - 1.a -
                      -
                    1. - 1.a.1 +
                        +
                      1. + 1 +
                          +
                        • + 1.a +
                            +
                          1. + 1.a.1 +
                          2. +
                          3. + 1.a.2 +
                          4. +
                        • -
                        • - 1.a.2 +
                        • + 1.b
                        • -
                      -
                    2. -
                    3. - 1.b -
                  -
                2. -
                3. - 2 -
                    -
                  • - 2.a -
                  • -
                  • - 2.b -
                      -
                    1. - 2.b.1 +
                    2. +
                    3. + 2 +
                        +
                      • + 2.a
                      • -
                      • - 2.b.2 -
                          -
                        • - 2.b.2.a -
                        • -
                        • - 2.b.2.b -
                        • +
                        • + 2.b +
                            +
                          1. + 2.b.1 +
                          2. +
                          3. + 2.b.2 +
                              +
                            • + 2.b.2.a +
                            • +
                            • + 2.b.2.b +
                            -
                          4. +
                          -
                        • +
                        -
                      • +
                  -
                  +

                  Variable Lists @@ -155,20 +155,20 @@
                  term 1

                  - The definition of term 1 -

                  + The definition of term 1 +

                  term 2

                  - The definition of term 2 -

                  + The definition of term 2 +

                  term 3

                  - The definition of term 3 -

                  + The definition of term 3 +

                  -
                  +
                  @@ -176,7 +176,7 @@ Here's a big table with code and other tricky things:

                  -

                  Table 1. Notes on the Implementation of the Beta Distribution

                  +

                  Table 1. Notes on the Implementation of the Beta Distribution

                  @@ -184,253 +184,257 @@ +

                  + Function +

                  + +

                  + Implementation Notes +

                  + - +

                  + pdf +

                  + + +

                  + cdf +

                  + +

                  + Using the incomplete beta function ibeta(a, b, x) +

                  + +

                  + cdf complement +

                  + +

                  + ibetac(a, b, x) +

                  + +

                  + quantile +

                  + +

                  + Using the inverse incomplete beta function ibeta_inv(a, b, p) +

                  + +

                  + quantile from the complement +

                  + +

                  + ibetac_inv(a, b, q) +

                  + +

                  + mean +

                  + +

                  + a/(a+b) +

                  + - +

                  + variance +

                  + + - +

                  + mode +

                  + + - +

                  + skewness +

                  + + +

                  + kurtosis excess +

                  + +

                  + beta_dist_kurtosis +

                  + +

                  + kurtosis +

                  + +

                  + kurtosis + + 3 +

                  + +

                  + parameter estimation +

                  + + - +

                  + alpha +

                  +

                  + from mean and variance +

                  + + - +

                  + beta +

                  +

                  + from mean and variance +

                  + + - +

                  + The member functions estimate_alpha + and estimate_beta +

                  +

                  + from cdf and probability x +

                  +

                  + and either alpha + or beta +

                  + + - +

                  + estimate_alpha +

                  + + - +

                  + estimate_beta +

                  + +
                  -

                  - Function -

                  -
                  -

                  - Implementation Notes -

                  -
                  -

                  - pdf -

                  -
                  -

                  - f(x;α,β) = xα - 1 (1 - x)β -1 / B(α, β) -

                  -

                  - Implemented using ibeta_derivative(a, b, x). -

                  -
                  +

                  + f(x;α,β) = xα - 1 (1 - x)β -1 / B(α, β) +

                  +

                  + Implemented using ibeta_derivative(a, b, x). +

                  +
                  -

                  - cdf -

                  -
                  -

                  - Using the incomplete beta function ibeta(a, b, x) -

                  -
                  -

                  - cdf complement -

                  -
                  -

                  - ibetac(a, b, x) -

                  -
                  -

                  - quantile -

                  -
                  -

                  - Using the inverse incomplete beta function ibeta_inv(a, b, p) -

                  -
                  -

                  - quantile from the complement -

                  -
                  -

                  - ibetac_inv(a, b, q) -

                  -
                  -

                  - mean -

                  -
                  -

                  - a/(a+b) -

                  -
                  -

                  - variance -

                  -
                  -

                  - a * - b / - (a+b)^2 * (a + b + 1) -

                  -
                  +

                  + a * + b / + (a+b)^2 * (a + + b + + 1) +

                  +
                  -

                  - mode -

                  -
                  -

                  - (a-1) - / (a + b + 2) -

                  -
                  +

                  + (a-1) / (a + + b + + 2) +

                  +
                  -

                  - skewness -

                  -
                  -

                  - 2 (b-a) sqrt(a+b+1)/(a+b+2) * - sqrt(a * b) -

                  -
                  +

                  + 2 (b-a) + sqrt(a+b+1)/(a+b+2) * sqrt(a + * b) +

                  +
                  -

                  - kurtosis excess -

                  -
                  -

                  - beta_dist_kurtosis -

                  -
                  -

                  - kurtosis -

                  -
                  -

                  - kurtosis + - 3 -

                  -
                  -

                  - parameter estimation -

                  -
                  -

                  -

                  -
                  -

                  - alpha -

                  -

                  - from mean and variance -

                  -
                  -

                  - mean * - (( (mean * - (1 - - mean)) / variance)- - 1) -

                  -
                  +

                  + mean * + (( (mean * + (1 + - mean)) / variance)- + 1) +

                  +
                  -

                  - beta -

                  -

                  - from mean and variance -

                  -
                  -

                  - (1 - - mean) * (((mean - * (1 - mean)) - /variance)-1) -

                  -
                  +

                  + (1 + - mean) * (((mean + * (1 - mean)) + /variance)-1) +

                  +
                  -

                  - The member functions estimate_alpha - and estimate_beta -

                  -

                  - from cdf and probability x -

                  -

                  - and either alpha - or beta -

                  -
                  -

                  - Implemented in terms of the inverse incomplete beta functions -

                  -

                  - ibeta_inva, and ibeta_invb respectively. -

                  -
                  +

                  + Implemented in terms of the inverse incomplete beta functions +

                  +

                  + ibeta_inva, and ibeta_invb respectively. +

                  +
                  -

                  - estimate_alpha -

                  -
                  -

                  - ibeta_inva(beta, x, probability) -

                  -
                  +

                  + ibeta_inva(beta, + x, + probability) +

                  +
                  -

                  - estimate_beta -

                  -
                  -

                  - ibeta_invb(alpha, - x, - probability) -

                  -
                  +

                  + ibeta_invb(alpha, + x, + probability) +

                  +
                  @@ -440,7 +444,7 @@
                  -

                  -PrevUpHomeNext +PrevUpHomeNext
                  diff --git a/doc/test/gold/document_to_test_formatting/remez.html b/doc/test/gold/document_to_test_formatting/remez.html index 4752abc202..ad8d8fab4c 100644 --- a/doc/test/gold/document_to_test_formatting/remez.html +++ b/doc/test/gold/document_to_test_formatting/remez.html @@ -1,9 +1,9 @@ - + Sample Article (The Remez Method) - - + + @@ -20,9 +20,9 @@
                  -PrevUpHomeNext +PrevUpHomeNext
                  -
                  +

                  Sample Article (The Remez Method) @@ -66,17 +66,17 @@ yields the smallest maximal value of the error function. Chebyshev showed that there is a unique minimax solution for R(x) that has the following properties:

                  -
                    -
                  • - If R(x) is a polynomial of degree N, then there are N+2 unknowns: the N+1 - coefficients of the polynomial, and maximal value of the error function. -
                  • -
                  • - The error function has N+1 roots, and N+2 extrema (minima and maxima). -
                  • -
                  • - The extrema alternate in sign, and all have the same magnitude. -
                  • +
                      +
                    • + If R(x) is a polynomial of degree N, then there are N+2 unknowns: the N+1 + coefficients of the polynomial, and maximal value of the error function. +
                    • +
                    • + The error function has N+1 roots, and N+2 extrema (minima and maxima). +
                    • +
                    • + The extrema alternate in sign, and all have the same magnitude. +

                    That means that if we know the location of the extrema of the error function @@ -95,7 +95,7 @@ are located!

                    - + The Remez Method
                    @@ -150,7 +150,7 @@

                    - +
                    [Note][Note] Note
                    @@ -174,7 +174,7 @@
                    - + Remez Step 1

                    @@ -204,7 +204,7 @@ to 5.6x10-4.

                    - + Remez Step 2

                    @@ -231,7 +231,7 @@ In our example we perform multi-point exchange.

                    - + Iteration

                    @@ -247,7 +247,7 @@ remez-4

                    - + Rational Approximations
                    @@ -295,7 +295,7 @@ number of terms overall.

                    - + Practical Considerations
                    @@ -401,7 +401,7 @@ minimax solution (5x10-4).

                    - + Remez Method Checklist
                    @@ -410,52 +410,52 @@ it is by no means an exhaustive list, but is provided in the hopes that it will prove useful.

                    -
                      -
                    • - Is the function smooth enough? Can it be better separated into a rapidly - changing part, and an asymptotic part? -
                    • -
                    • - Does the function being approximated have any "blips" in it? Check - for problems as the function changes computation method, or if a root, or - an infinity has been divided out. The telltale sign is if there is a narrow - region where the Remez method will not converge. -
                    • -
                    • - Check you have enough accuracy in your calculations: remember that the Remez - method works on the difference between the approximation and the function - being approximated: so you must have more digits of precision available than - the precision of the approximation being constructed. So for example at double - precision, you shouldn't expect to be able to get better than a float precision - approximation. -
                    • -
                    • - Try skewing the initial interpolated approximation to minimise the error - before you begin the Remez steps. -
                    • -
                    • - If the approximation won't converge or is ill-conditioned from one starting - location, try starting from a different location. -
                    • -
                    • - If a rational function won't converge, one can minimise a polynomial (which - presents no problems), then rotate one term from the numerator to the denominator - and minimise again. In theory one can continue moving terms one at a time - from numerator to denominator, and then re-minimising, retaining the last - set of control points at each stage. -
                    • -
                    • - Try using a smaller interval. It may also be possible to optimise over one - (small) interval, rescale the control points over a larger interval, and - then re-minimise. -
                    • -
                    • - Keep absissa values small: use a change of variable to keep the abscissa - over, say [0, b], for some smallish value b. -
                    • +
                        +
                      • + Is the function smooth enough? Can it be better separated into a rapidly + changing part, and an asymptotic part? +
                      • +
                      • + Does the function being approximated have any "blips" in it? + Check for problems as the function changes computation method, or if a + root, or an infinity has been divided out. The telltale sign is if there + is a narrow region where the Remez method will not converge. +
                      • +
                      • + Check you have enough accuracy in your calculations: remember that the + Remez method works on the difference between the approximation and the + function being approximated: so you must have more digits of precision + available than the precision of the approximation being constructed. So + for example at double precision, you shouldn't expect to be able to get + better than a float precision approximation. +
                      • +
                      • + Try skewing the initial interpolated approximation to minimise the error + before you begin the Remez steps. +
                      • +
                      • + If the approximation won't converge or is ill-conditioned from one starting + location, try starting from a different location. +
                      • +
                      • + If a rational function won't converge, one can minimise a polynomial (which + presents no problems), then rotate one term from the numerator to the denominator + and minimise again. In theory one can continue moving terms one at a time + from numerator to denominator, and then re-minimising, retaining the last + set of control points at each stage. +
                      • +
                      • + Try using a smaller interval. It may also be possible to optimise over + one (small) interval, rescale the control points over a larger interval, + and then re-minimise. +
                      • +
                      • + Keep absissa values small: use a change of variable to keep the abscissa + over, say [0, b], for some smallish value b. +
                      - + References

                      @@ -520,7 +520,7 @@

                    -

                    -PrevUpHomeNext +PrevUpHomeNext
                    diff --git a/doc/test/gold/document_to_test_formatting/test.html b/doc/test/gold/document_to_test_formatting/test.html index 3e7abb4a22..beb278dd1b 100644 --- a/doc/test/gold/document_to_test_formatting/test.html +++ b/doc/test/gold/document_to_test_formatting/test.html @@ -1,9 +1,9 @@ - + test HTML4 symbols - - + + @@ -20,9 +20,9 @@
                    -PrevUpHomeNext +PrevUpHomeNext
                    -
                    + -
                    +

                    test Greek and Math symbols @@ -44,21 +44,21 @@ ⊥, ⋅, ⌈, ⌉, ⌊, ⌋, 〈, 〉, ◊, ♠, ♣, ♥, ♦

                    -
                    +

                    -  , ¡, ¢, £, ¤, ¥, ¦, §, ¨, ©, ª, «, ¬, ­, ®, ¯, °, ±, ², ³, ´, µ, ¶, ·, ¸, ¹, º, », ¼, ½, ¾, ¿, À, Á, Â, Ã, Ä, - Å, Æ, Ç, È, É, Ê, Ë, Ì, Í, Î, Ï, Ð, Ñ, Ò, Ó, Ô, Õ, Ö, ×, Ø, Ù, Ú, Û, Ü, Ý, Þ, ß, à, á, â, ã, ä, å, æ, ç, è, é, - ê, ë, ì, í, î, ï, ð, ñ, ò, ó, ô, õ, ö, ÷, ø, ù, ú, û, ü, ý, þ, ÿ, +  , ¡, ¢, £, ¤, ¥, ¦, §, ¨, ©, ª, «, ¬, ­, ®, ¯, °, ±, ², ³, ´, µ, ¶, ·, ¸, ¹, º, », ¼, ½, ¾, ¿, À, Á, Â, Ã, Ä, + Å, Æ, Ç, È, É, Ê, Ë, Ì, Í, Î, Ï, Ð, Ñ, Ò, Ó, Ô, Õ, Ö, ×, Ø, Ù, Ú, Û, Ü, Ý, Þ, ß, à, á, â, ã, ä, å, æ, ç, è, é, + ê, ë, ì, í, î, ï, ð, ñ, ò, ó, ô, õ, ö, ÷, ø, ù, ú, û, ü, ý, þ, ÿ,

                    -

                    -PrevUpHomeNext +PrevUpHomeNext
                    diff --git a/doc/test/gold/images/accumulators/form_2.png b/doc/test/gold/images/accumulators/form_2.png index 49a572f11b..c81c9a4f9f 100644 Binary files a/doc/test/gold/images/accumulators/form_2.png and b/doc/test/gold/images/accumulators/form_2.png differ diff --git a/doc/test/gold/images/accumulators/form_5.png b/doc/test/gold/images/accumulators/form_5.png index 304603baa3..d7481e0616 100644 Binary files a/doc/test/gold/images/accumulators/form_5.png and b/doc/test/gold/images/accumulators/form_5.png differ diff --git a/doc/test/gold/images/accumulators/form_6.png b/doc/test/gold/images/accumulators/form_6.png index 4783b96345..dcfd30cb6c 100644 Binary files a/doc/test/gold/images/accumulators/form_6.png and b/doc/test/gold/images/accumulators/form_6.png differ diff --git a/doc/test/gold/index.html b/doc/test/gold/index.html index e9afa5f1d3..64aafe9142 100644 --- a/doc/test/gold/index.html +++ b/doc/test/gold/index.html @@ -1,9 +1,9 @@ - + Document To Test Formatting - - + + @@ -17,8 +17,8 @@ More
                    -
                    Next
                    -
                    +
                    Next
                    +

                    @@ -37,10 +37,10 @@ Matias Capeletto

                    -
                    -
                    +
                    @@ -140,10 +142,10 @@
                    - +

                    Last revised: December 09, 2008 at 12:07:46 GMT

                    Last revised: July 19, 2010 at 19:45:35 GMT


                    -
                    Next
                    +
                    Next
                    -- cgit v1.2.1