[Boost-bugs] [Boost C++ Libraries] #7818: Docs incorrect for Complement of CDF in boost::math

Subject: [Boost-bugs] [Boost C++ Libraries] #7818: Docs incorrect for Complement of CDF in boost::math
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-20 13:22:26


#7818: Docs incorrect for Complement of CDF in boost::math
---------------------------------+------------------------------------------
 Reporter: harris.pc@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
---------------------------------+------------------------------------------
 http://www.boost.org/doc/libs/1_52_0/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/nmp.html#math_toolkit.dist.dist_ref.nmp._anchor_id__math_dist_ccdf___complement_of_the_cumulative_distribution_function

 The example code is:
 std::cout << cdf(complement(norm, 2.0)) << std::endl;

 I believe it should read
 cdf(complement(norm), 2.0)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7818>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC