Status of R_unif_index

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Status of R_unif_index

Ralf Stubner
Dear List,

section "6.3 Random number generation" of WRE [1] lists unif_rand(),
norm_rand() and exp_rand() as the interface to R's RNG. Now
R_ext/Random.h also has

    double R_unif_index(double);

Can this be also treated as an official API function that may be called
from a package?

Thanks
Ralf

[1]
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Random-numbers

--
Ralf Stubner
Senior Software Engineer / Trainer

daqana GmbH
Dortustraße 48
14467 Potsdam

T: +49 331 23 61 93 11
F: +49 331 23 61 93 90
M: +49 162 20 91 196
Mail: [hidden email]

Sitz: Potsdam
Register: AG Potsdam HRB 27966
Ust.-IdNr.: DE300072622
Geschäftsführer: Dr.-Ing. Stefan Knirsch, Prof. Dr. Dr. Karl-Kuno Kunze


______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [External] Status of R_unif_index

Tierney, Luke
Seems reasonable, done now.

Best,

luke

On Fri, 22 Mar 2019, Ralf Stubner wrote:

> Dear List,
>
> section "6.3 Random number generation" of WRE [1] lists unif_rand(),
> norm_rand() and exp_rand() as the interface to R's RNG. Now
> R_ext/Random.h also has
>
>    double R_unif_index(double);
>
> Can this be also treated as an official API function that may be called
> from a package?
>
> Thanks
> Ralf
>
> [1]
> https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Random-numbers
>
>

--
Luke Tierney
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa                  Phone:             319-335-3386
Department of Statistics and        Fax:               319-335-3017
    Actuarial Science
241 Schaeffer Hall                  email:   [hidden email]
Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel