Displaying 6 results from an estimated 6 matches for "dimg".
Did you mean:
dig
2012 Dec 15
3
interfacing with .Call
Hi
My code is as following:
#include <R.h>
#include <Rinternals.h>
//* the Projector part *//
void Projector(double *L, int *dimL, double *G, int *dimG, double *W, int
*dimW, int *xymod, int *dimxy, double *modif, int *dimif, double *Lsum)
{ ...}
//* the interface part *//
#define getDim(A) INTEGER(coerceVector(getAttrib(A,R_DimSymbol), INTSXP))
SEXP Projector5(SEXP L, SEXP G, SEXP W, SEXP xymod, SEXP modif)
{
//* digest SEXPs from R *//...
2012 Dec 06
1
Use .Call interface
...W));nprot++;
PROTECT(xymod=AS_INTEGER(xymod));nprot++;
PROTECT(modif=AS_NUMERIC(modif));nprot++;
double *lptr; lptr=REAL(L);
double *gptr; gptr=REAL(G);
double *wptr; wptr=REAL(W);
int *xyptr; xyptr=INTEGER(xymod);
double *ifptr; ifptr=REAL(modif);
int *dimL; dimL=INTEGER(GET_DIM(L));
int *dimG; dimG=INTEGER(GET_DIM(G));
int *dimW; dimW=INTEGER(GET_DIM(W));
int *dimxy; dimxy=INTEGER(GET_DIM(xymod));
int *dimif; dimif=INTEGER(GET_DIM(modif));
SEXP ans;
PROTECT(ans=allocMatrix(REALSXP, dimG[0], dimL[1])); nprot++;
double *ansptr; ansptr=REAL(ans);
Projector(lptr, dimL, gptr, dimG, wp...
2005 Jul 28
1
Rails+Apache 2+FastCGI on Fedora Core 3 Linux: Has anyone got it working well?
...ers (0 bytes) receive
d from server "/projects/epinet/website/current/public/dispatch.fcgi"
[Thu Jul 28 10:54:23 2005] [error] [client 150.203.5.176] FastCGI: server
"/projects/epinet/website/current/public/dispatch.fcgi" stderr: (erb):32:
warning: already initialized constant Dimg, referer: http:
//example.org/...
Can someone tell me if this is expected FastCGI/fcgi behaviour I''m
seeing, or if I''ve gotten the installation messed up somehow?
Has anyone gotten Rails+Apache 2+FastCGI+fcgi working well on
FC3? Can you share your experiences in setting everyt...
2010 Jul 27
1
R CMD build wiped my computer
...bdaX? may be used uninitialized in this function
MCMCglmm.cc:225: warning: ?bv_tmp? may be used uninitialized in this function
MCMCglmm.cc:225: warning: ?bv? may be used uninitialized in this function
MCMCglmm.cc:225: warning: ?A? may be used uninitialized in this function
MCMCglmm.cc:86: warning: ?dimG? may be used uninitialized in this function
MCMCglmm.cc:228: warning: ?AlphainvS? may be used uninitialized in
this function
MCMCglmm.cc:227: warning: ?AlphainvL? may be used uninitialized in
this function
MCMCglmm.cc:225: warning: ?alphalocation_tmp? may be used
uninitialized in this functio...
2010 Jul 27
1
R CMD build wiped my computer
...bdaX? may be used uninitialized in this function
MCMCglmm.cc:225: warning: ?bv_tmp? may be used uninitialized in this function
MCMCglmm.cc:225: warning: ?bv? may be used uninitialized in this function
MCMCglmm.cc:225: warning: ?A? may be used uninitialized in this function
MCMCglmm.cc:86: warning: ?dimG? may be used uninitialized in this function
MCMCglmm.cc:228: warning: ?AlphainvS? may be used uninitialized in
this function
MCMCglmm.cc:227: warning: ?AlphainvL? may be used uninitialized in
this function
MCMCglmm.cc:225: warning: ?alphalocation_tmp? may be used
uninitialized in this functio...
2010 Jul 27
1
R CMD build wiped my computer
...bdaX? may be used uninitialized in this function
MCMCglmm.cc:225: warning: ?bv_tmp? may be used uninitialized in this function
MCMCglmm.cc:225: warning: ?bv? may be used uninitialized in this function
MCMCglmm.cc:225: warning: ?A? may be used uninitialized in this function
MCMCglmm.cc:86: warning: ?dimG? may be used uninitialized in this function
MCMCglmm.cc:228: warning: ?AlphainvS? may be used uninitialized in
this function
MCMCglmm.cc:227: warning: ?AlphainvL? may be used uninitialized in
this function
MCMCglmm.cc:225: warning: ?alphalocation_tmp? may be used
uninitialized in this function
MCMC...