search for: bexp

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

Did you mean: beep
2006 Oct 31
1
Compiling R packages on Ubuntu
...(BcorStruct.c:60: warning: implicit declaration of function $(B!F(Bmemcpy$(B!G (BcorStruct.c:60: warning: incompatible implicit declaration of built-in function $(B!F(Bmemcpy$(B!G (BcorStruct.c: In function $(B!F(Bsymm_fullCorr$(B!G(B: corStruct.c:93: warning: implicit declaration of function $(B!F(Bexp$(B!G (BcorStruct.c:93: warning: incompatible implicit declaration of built-in function $(B!F(Bexp$(B!G (BcorStruct.c:95: warning: implicit declaration of function $(B!F(Bcos$(B!G (BcorStruct.c:95: warning: incompatible implicit declaration of built-in function $(B!F(Bcos$(B!G (BcorStruct.c:96: warn...
2008 Jun 03
1
nlm behaviour and error
Hi R-Gurus, I've been cutting along quite nicely with nlm, until I threw in the following condition in the function that nlm is minimising: if (((term*bexp) < 0.0001)) { #warning(term*bexp, "=term*bexp",psi,"=psi") theta<-2000 } Now when I run this function anywhere else, there is no problem, whether or the if's condition is met. When I use this in nlm: nlm(f=ssewrap.dist, p=c(292397.7,-.14053,0.03...
2008 Sep 16
0
FW: odesolve dynload example
...small numbers/large (using Brobdingnag): surfacewithdiff <- function(t, y, p) { const=p["const"] kay =p["kay"] psii=p["psii"] m1=p["m1"] m2=p["m2"] M=p["M"] N=p["N"] T=p["T"] bexp<-as.brob((const*(psii-m1*y[1]-m2*M/N))/T) yd1<-as.numeric((kay*exp(bexp))/(kay*t*exp(bexp)+1)- (kay^2*t*exp(2*bexp))/(kay*t*exp(bexp)+1)^2) list(c(yd1)) } Now I guess this could be done with gmp. Now I use this stuff in the function that odesolve's lsoda refers to,...
2008 Sep 16
0
lsoda( linking to GMP for big numbers from C code)
...small/large numbers (using Brobdingnag): surfacewithdiff <- function(t, y, p) { const=p["const"] kay =p["kay"] psii=p["psii"] m1=p["m1"] m2=p["m2"] M=p["M"] N=p["N"] T=p["T"] bexp<-as.brob((const*(psii-m1*y[1]-m2*M/N))/T) yd1<-as.numeric((kay*exp(bexp))/(kay*t*exp(bexp)+1)- (kay^2*t*exp(2*bexp))/(kay*t*exp(bexp)+1)^2) list(c(yd1)) } Now I guess this could be done with gmp. Now I use this stuff in the function that odesolve's lsoda refers to,...