search for: narray

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

Did you mean: array
2006 Apr 17
0
pre compiled gnu scientific library for win one-click-installer
...cientific library (gsl) is by far the best collection of open source algorithms for scientific computing available. you can read about the gsl and ruby bindings to it here http://www.gnu.org/software/gsl/manual/html_node/ http://rb-gsl.rubyforge.org/ the installer also installs the amazing narray package, which integrates nicely with the gsl http://narray.rubyforge.org/index.html.en this is the first thing i''ve compiled using the msys/mingw approach so i''m not 100% certain that my approach -- which i''ll be writing up on the sciruby wiki (http://sciruby.codef...
2004 Jun 11
1
bug or correct behaviour ?
This is the general outline of my code:: main(argc,argv){ ... Rf_initEmbeddedR(argc,argv); ... Test_tryEval("source(test.r)"); ... } ############# # test.r ############# ... dyn.load("toload.so") tmp <-matrix(data=1,nrow=narray*2,ncol=nclust) .Call("Init",tmp,...) while(...) { criteria <-feval(tmp) if (criteria < criteria.min) tmp.last <- tmp else tmp <- tmp.last ... .Call("replace",tmp,...) } #################################### When I try to recover tm...
2001 Feb 27
1
using fmod in C code to be loaded into R
...s works with rnorm, for example. What am I doing wrong here? Sincerely, Faheem Mitha. *************************************************************************** #include <R.h> #include <Rinternals.h> #include <Rmath.h> double absdiff(double *array, Sint *narray, Sint *lag, double *diffarray) { int i; for(i=0; i < *narray - *lag; i++) diffarray[i] = fmod(array[i + *lag] - array[i],1); } -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send...
2005 Oct 26
2
changing memory limits to speed up lsoda
Hi All, I am running R 2.2.0 on Mac OS 10.4.2, dual G5 processors with 8 Gig RAM. I am running a simulation with lsoda that requires ~378 s to complete one set of time intervals. I need to optimize the parameters, and so need to considerably speed up the simulation. I have tried to figure out how to change the appropriate memory allocation and have search R help and Introductory