a few questions about discrete rng
Rodney Sparapani
rsparapa@post.its.mcw.edu
Tue Jul 9 08:37:00 GMT 2002
Brian:
Apparently, I didn't understand the standards documentation with respect to
size_t. But, it's too bad about gsl_vector. I think this decision should be
reconsidered. Also, I remember reading that there have been some developments
with respect to vectors in C99. Might this not also be a good reason to
re-think the design? It is alot easier to pass one parameter than 2 since you
can easily get them backwards.
But, back to discrete with size_t and without gsl_vector. I thought that it
would be better to streamline it a bit and make it look more like the other
rng's. I'm attaching an example of that which also contains a prototype for a
multinomial randist. Comments are welcome and please feel free to use this in
GSL.
Rodney Sparapani Medical College of Wisconsin
Sr. Biostatistician Patient Care & Outcomes Research (PCOR)
rsparapa@mcw.edu http://www.mcw.edu/pcor
Was 'Name That Tune' rigged? WWLD -- What Would Lombardi Do
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multinomial.c
Type: text/x-sun-c-file
Size: 5034 bytes
Desc: multinomial.c
URL: <http://sourceware.org/pipermail/gsl-discuss/attachments/20020709/eb09a0df/attachment.bin>
More information about the Gsl-discuss
mailing list