public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Joseph Wakeling <joseph.wakeling@webdrake.net>
To: gsl-discuss@sourceware.org
Subject: Re: Random sampling extension for GSL
Date: Sat, 15 May 2010 08:11:00 -0000	[thread overview]
Message-ID: <4BEE5711.4050902@webdrake.net> (raw)
In-Reply-To: <4BE99D2E.6060703@webdrake.net>

On 05/11/2010 08:08 PM, Joseph Wakeling wrote:
> As discussed in earlier emails, I've created a project page at GitHub
> for the new random sampling extension:
> http://github.com/WebDrake/GrSL

Further to the above: the system now implements Vitter's "Algorithm D"
and has a new "choose" function that uses the sampling classes.

Running the latter using the former for the sampling functionality shows
a sizeable speedup over the gsl_ran_choose function.

This is early days and it still all needs much more testing.  What would
be really useful at this stage is if there could be confirmation as to
whether the basic design -- API etc. -- makes a good fit with GSL or if
there are recommended changes.

Still to come: Nair's "Algorithm E" plus various other less-superior but
historically relevant ones (e.g. Knuth's Algorithm S).

Best wishes,

    -- Joe

      reply	other threads:[~2010-05-15  8:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-11 18:09 Joseph Wakeling
2010-05-15  8:11 ` Joseph Wakeling [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BEE5711.4050902@webdrake.net \
    --to=joseph.wakeling@webdrake.net \
    --cc=gsl-discuss@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).