This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: multi-variate distribution


On Mon, Sep 3, 2012 at 1:41 PM, Ulrich Drepper <drepper@gmail.com> wrote:
> I agree with these points and changed the code.  The overall question
> stands, are these the best interfaces for the job?

No comments?

I'll check in the changes then.  This allows people to check out the
code themselves.  The code is in the ext/random header and contained
in the template.  So there are no std namespace pollution and binary
compatibility problems if the code has to be changed afterwards.

There is one change I won't add yet.  I probably would like a
__generate function which takes _RealType* parameters in place of the
iterators.  This is different from the other distributions because a
_RealType* is not a specialization of the normally expected type
(std:array or something else with an operator[]).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]