Opened 9 years ago

Closed 9 years ago

#9200 closed Bugs (invalid)

behavior of boost::geometric_distribution is different from its description in doc.

Reported by: updogliu@… Owned by: No-Maintainer
Milestone: To Be Determined Component: random
Version: Boost 1.54.0 Severity: Problem
Keywords: geometric_distribution Cc:

Description

The parameter of the constructor p is the failure fraction, and zero is NOT included in the set of trials. These are opposite the description in the documentation at http://www.boost.org/doc/libs/1_54_0/libs/math/doc/html/math_toolkit/dist_ref/dists/geometric_dist.html

Change History (1)

comment:1 by Steven Watanabe, 9 years ago

Resolution: invalid
Status: newclosed

As far as I can tell, the description is accurate, both for Boost.Math and Boost.Random.

Note: See TracTickets for help on using tickets.