Changeset 83406


Ignore:
Timestamp:
Mar 11, 2013, 12:18:46 PM (5 years ago)
Author:
Paul A. Bristow
Message:

Minor corrections from John 10 Mar 13

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/math/doc/sf_and_dist/bessel_jy.qbk

    r83399 r83406  
    306306                      T v,                       // Floating-point value for Jv.
    307307                      int start_index,           // 1-based index of first zero.
    308                       unsigned number_of_zeros,  // How many zeros to generate
    309                       OutputIterator out_it);    // Destination for zeros
     308                      unsigned number_of_zeros,  // How many zeros to generate.
     309                      OutputIterator out_it);    // Destination for zeros.
    310310
    311311 template <class T, class OutputIterator>
     
    314314                      int start_index,           // 1-based index of zero.
    315315                      unsigned number_of_zeros,  // How many zeros to generate
    316                       OutputIterator out_it);    // Destination for zeros
    317 
    318 There are also versions which allow control of the
    319 __policy_section for error handling and precision.
    320 
    321 template <class T>
     316                      OutputIterator out_it);    // Destination for zeros.
     317
     318There are also versions which allow control of the __policy_section for error handling and precision.
     319
     320  template <class T>
    322321  T cyl_bessel_j_zero(
    323322           T v,            // Floating-point value for Jv.
    324323           int m,          // 1-based index of zero.
    325            const Policy&); // Policy to use
     324           const Policy&); // Policy to use.
    326325
    327326  template <class T>
     
    329328           T v,            // Floating-point value for Jv.
    330329           int m,          // 1-based index of zero.
    331            const Policy&); // Policy to use
     330           const Policy&); // Policy to use.
    332331
    333332
     
    336335                      T v,                       // Floating-point value for Jv.
    337336                      int start_index,           // 1-based index of first zero.
    338                       unsigned number_of_zeros,  // How many zeros to generate
    339                       OutputIterator out_it,     // Destination for zeros
    340                       const Policy& pol);        // Policy to use
     337                      unsigned number_of_zeros,  // How many zeros to generate.
     338                      OutputIterator out_it,     // Destination for zeros.
     339                      const Policy& pol);        // Policy to use.
    341340
    342341 template <class T, class OutputIterator>
     
    344343                      T v,                       // Floating-point value for Jv.
    345344                      int start_index,           // 1-based index of zero.
    346                       unsigned number_of_zeros,  // How many zeros to generate
    347                       OutputIterator out_it,     // Destination for zeros
    348                       const Policy& pol);        // Policy to use
     345                      unsigned number_of_zeros,  // How many zeros to generate.
     346                      OutputIterator out_it,     // Destination for zeros.
     347                      const Policy& pol);        // Policy to use.
    349348
    350349[h4 Description]
     
    372371   cyl_bessel_j_zero(v, 1);
    373372
    374 returns the first zero of Bessel J,
    375 
    376 Passing a start_index <= 0
    377 
    378    cyl_bessel_j_zero(v, 0);
    379 
    380 results in a __domain_error being raised.
     373returns the first zero of Bessel J.
     374
     375Passing an index of zero results in a `std::domain_error` being raised.
    381376
    382377The order `v` of `J` can be positive, negative and zero for the `cyl_bessel_j`
     
    430425In particular,
    431426
    432 [emquad] ['d/[sub dx] ['J[sub [nu]](x)] = ['J[sub [nu]-1](x)] - [nu]/[sub x] [sdot] J[sub [nu]](x)]
    433 
    434 [emquad] ['d/[sub dx] ['Y[sub [nu]](x)] = ['Y[sub [nu]-1](x)] - [nu]/[sub x] [sdot] Y[sub [nu]](x)]
     427[emquad] ['d/[sub dx] ['J[sub [nu]](x)] = ['J[sub [nu]-1](x)] - [nu] J[sub [nu]](x)] / x
     428
     429[emquad] ['d/[sub dx] ['Y[sub [nu]](x)] = ['Y[sub [nu]-1](x)] - [nu] Y[sub [nu]](x)] / x
    435430
    436431Enumeration of the rank of a root (in other words the index of a root)
Note: See TracChangeset for help on using the changeset viewer.