search for: rmathlib

Displaying 4 results from an estimated 4 matches for "rmathlib".

Did you mean: mathlib
2020 Jun 02
0
R standalone Rmath library - missing log1pexp(), rnbeta()
...up there, *not* on R-SIG-mac. 1) An R core colleague of mine had decided log1pexp() should be Rf_log1pexp() but had forgotten to update the documentation. This should be fixed one way (= documentation), or then, as it is the *only* function with name Rf_*() in the whole of standalone Rmathlib.{so,dynlib} by renaming it back to log1pexp(). 2) rnbeta(): This has been in the headers forever, but there has not been a corresponding function in R's C code. As you, can see, R's rbeta(*, ncp = v) currently just calls R code, and so there was never a need for a C level rnbeta...
2004 Jan 20
1
Ruby & R
I see the packages from OmegaHat -- RSPython and RSPerl, however, I don't see anything available for Ruby. Is there a similar package for Ruby? If, not, is there the possiblility of creating one? Thx, Neil Eastep. ------------ "Try not. Do, do! Or do not. There is no try" Jedi Master Yoda
2001 Sep 28
1
binary coding of NA, Nan etc.
I wonder which binary codings to use for the different "special" values used in R. I want to create binary coded files of double, int, and string values that should get read into R using readBin. Now, what is the correct way to code NA, NaN, Inf, and -Inf for these types? The documentation for read/writeBin doesnt contain any info on that ... (for int and string, there probably is only
2002 Jan 24
2
random number generation issues with r and compiled C code
Dear People, I have been writing a simulation routine that is currently entirely written in c++. I've been using the R standalone math library to give me random number generation for this. However, I have had to set the seed myself, and I am using set_seed(time(NULL), clock) for every call to unif_rand(). However, this works really badly. The random numbers aren't uniform at all. Does