Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83406 - trunk/libs/math/doc/sf_and_dist
From: pbristow_at_[hidden]
Date: 2013-03-11 08:18:47


Author: pbristow
Date: 2013-03-11 08:18:46 EDT (Mon, 11 Mar 2013)
New Revision: 83406
URL: http://svn.boost.org/trac/boost/changeset/83406

Log:
Minor corrections from John 10 Mar 13
Text files modified:
   trunk/libs/math/doc/sf_and_dist/bessel_jy.qbk | 39 +++++++++++++++++----------------------
   1 files changed, 17 insertions(+), 22 deletions(-)

Modified: trunk/libs/math/doc/sf_and_dist/bessel_jy.qbk
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/bessel_jy.qbk (original)
+++ trunk/libs/math/doc/sf_and_dist/bessel_jy.qbk 2013-03-11 08:18:46 EDT (Mon, 11 Mar 2013)
@@ -305,47 +305,46 @@
  OutputIterator cyl_bessel_j_zero(
                       T v, // Floating-point value for Jv.
                       int start_index, // 1-based index of first zero.
- unsigned number_of_zeros, // How many zeros to generate
- OutputIterator out_it); // Destination for zeros
+ unsigned number_of_zeros, // How many zeros to generate.
+ OutputIterator out_it); // Destination for zeros.
 
  template <class T, class OutputIterator>
  OutputIterator cyl_neumann_zero(
                       T v, // Floating-point value for Jv.
                       int start_index, // 1-based index of zero.
                       unsigned number_of_zeros, // How many zeros to generate
- OutputIterator out_it); // Destination for zeros
+ OutputIterator out_it); // Destination for zeros.
 
-There are also versions which allow control of the
-__policy_section for error handling and precision.
+There are also versions which allow control of the __policy_section for error handling and precision.
 
-template <class T>
+ template <class T>
   T cyl_bessel_j_zero(
            T v, // Floating-point value for Jv.
            int m, // 1-based index of zero.
- const Policy&); // Policy to use
+ const Policy&); // Policy to use.
 
   template <class T>
   T cyl_neumann_zero(
            T v, // Floating-point value for Jv.
            int m, // 1-based index of zero.
- const Policy&); // Policy to use
+ const Policy&); // Policy to use.
 
 
  template <class T, class OutputIterator>
  OutputIterator cyl_bessel_j_zero(
                       T v, // Floating-point value for Jv.
                       int start_index, // 1-based index of first zero.
- unsigned number_of_zeros, // How many zeros to generate
- OutputIterator out_it, // Destination for zeros
- const Policy& pol); // Policy to use
+ unsigned number_of_zeros, // How many zeros to generate.
+ OutputIterator out_it, // Destination for zeros.
+ const Policy& pol); // Policy to use.
 
  template <class T, class OutputIterator>
  OutputIterator cyl_neumann_zero(
                       T v, // Floating-point value for Jv.
                       int start_index, // 1-based index of zero.
- unsigned number_of_zeros, // How many zeros to generate
- OutputIterator out_it, // Destination for zeros
- const Policy& pol); // Policy to use
+ unsigned number_of_zeros, // How many zeros to generate.
+ OutputIterator out_it, // Destination for zeros.
+ const Policy& pol); // Policy to use.
 
 [h4 Description]
 
@@ -371,13 +370,9 @@
 
    cyl_bessel_j_zero(v, 1);
 
-returns the first zero of Bessel J,
-
-Passing a start_index <= 0
-
- cyl_bessel_j_zero(v, 0);
+returns the first zero of Bessel J.
 
-results in a __domain_error being raised.
+Passing an index of zero results in a `std::domain_error` being raised.
 
 The order `v` of `J` can be positive, negative and zero for the `cyl_bessel_j`
 and `cyl_neumann` functions, but not infinite nor NaN.
@@ -429,9 +424,9 @@
 with respect to ['x] are given by __Abramowitz_Stegun.
 In particular,
 
-[emquad] ['d/[sub dx] ['J[sub [nu]](x)] = ['J[sub [nu]-1](x)] - [nu]/[sub x] [sdot] J[sub [nu]](x)]
+[emquad] ['d/[sub dx] ['J[sub [nu]](x)] = ['J[sub [nu]-1](x)] - [nu] J[sub [nu]](x)] / x
 
-[emquad] ['d/[sub dx] ['Y[sub [nu]](x)] = ['Y[sub [nu]-1](x)] - [nu]/[sub x] [sdot] Y[sub [nu]](x)]
+[emquad] ['d/[sub dx] ['Y[sub [nu]](x)] = ['Y[sub [nu]-1](x)] - [nu] Y[sub [nu]](x)] / x
 
 Enumeration of the rank of a root (in other words the index of a root)
 begins with one and counts up, in other words


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