Opened 12 years ago

Closed 12 years ago

#4273 closed Bugs (fixed)

Rayleigh distribution in boost::math has wrong support

Reported by: anonymous Owned by: Paul A. Bristow
Milestone: Boost 1.43.0 Component: math
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc:

Description

support is [1,max_value] should be [0,max_value] also pdf and cdf plots on Rayleigh distribution docs page (http://beta.boost.org/doc/libs/1_43_0/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/rayleigh.html) start at 1 instead of 0.

Change History (3)

comment:1 by anonymous, 12 years ago

also range is [1, max_value], should be [0,max_value]

comment:2 by anonymous, 12 years ago

Owner: changed from John Maddock to Paul A. Bristow

Confirmed.

Paul, as you wrote that one can you take care of this?

Thanks, John.

comment:3 by anonymous, 12 years ago

Resolution: fixed
Status: newclosed

Corrected in trunk At revision: 62380

(Alternatively you could locally patch functions range and support in rayleigh.hpp, changing 1 to 0).

Will also correct graphs soon.

Note: See TracTickets for help on using tickets.