Title
Requirements of Distribution parameter for variate_generator
Status
nad
Section
[rand][tr.rand.var]
Submitter
Walter Brown

Created on 2005-07-03.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Rationale:

Berlin: N1932 makes this moot: variate_generator has been eliminated.

Date: 2010-10-21.18:28:33

[ Mont Tremblant: Jens reccommends NAD, min/max not needed everywhere. Marc supports having min and max to satisfy generic programming interface. ]

Date: 2010-10-21.18:28:33

Proposed resolution:

Consequence 1: Remove the precondition clauses [tr.rand.var]/16 and /18.

Consequence 2: Add max() and min() functions to those distributions that do not already have them.

Date: 2005-07-03.00:00:00

Paragraph 3 requires that template argument U (which corresponds to template parameter Engine) satisfy all uniform random number generator requirements. However, there is no analogous requirement regarding the template argument that corresponds to template parameter Distribution. We believe there should be, and that it should require that this template argument satisfy all random distribution requirements.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg2880
2010-10-21 18:28:33adminsetmessages: + msg2879
2010-10-21 18:28:33adminsetmessages: + msg2878
2005-07-03 00:00:00admincreate