Opened 10 years ago
Closed 10 years ago
#7818 closed Bugs (invalid)
Docs incorrect for Complement of CDF in boost::math
| Reported by: | Owned by: | John Maddock | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | math |
| Version: | Boost 1.52.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
The example code is: std::cout << cdf(complement(norm, 2.0)) << std::endl;
I believe it should read cdf(complement(norm), 2.0)
Note:
See TracTickets
for help on using tickets.

No that's correct - complement() should wrap all the arguments not just the distribution.