This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Add uniform_inside_sphere_distribution
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 5 Nov 2014 22:25:56 +0100 (CET)
- Subject: Re: Add uniform_inside_sphere_distribution
- Authentication-results: sourceware.org; auth=none
- References: <545A6BD6 dot 5050706 at verizon dot net>
- Reply-to: libstdc++ at gcc dot gnu dot org
On Wed, 5 Nov 2014, Ed Smith-Rowland wrote:
Like the uniform_on_sphere_distribution which is used inside, the
2-dimensional case uses rejection
Could you point out where in the code you are special-casing dimension 2?
Somehow I can't see it in the patch.
--
Marc Glisse