search for: gx

Displaying 20 results from an estimated 144 matches for "gx".

Did you mean: gmx
2012 May 22
4
“For” calculation is so slow
...function I wrote can run well with the small data, but with the large data, the function runs very very slowly. How can I correct it? Thank you very much. My function as below: a<-c(1:240) b<-c(1:240) l=function(a,b){ v=0 u=0 uv=0 v[1]=0 u[1]=0 uv[1]=0 for (i in 1:(length(s)-1)){ v[i]<-((gx[[i]][b,(gx[[i]][a,1]+1)])-(gx[[i]][a,gx[[i]][a,1]+1]))/(gx[[i]][a,gx[[i]][a,1]+1]) u[i]<-((gy[[i]][a,(gy[[i]][a,1]+1)])-(gy[[i]][b,gy[[i]][a,1]+1]))/(gy[[i]][a,gy[[i]][a,1]+1]) uv[i]<-v[i]+u[i] } w=0 w=mean(uv) } kk<-data.frame() for (a in 1:240){ for (b in 1:240){ if (a<b) kk[a,b]=l(a,...
2006 May 24
0
the computation of exact p-value for the nonparametric cor-test with ties
...STATISTIC <- c(T = NA) PVAL <- NA } else { if(is.null(exact)) exact <- (n < 50) if(exact) { xr<-rank(x) yr<-rank(y) Gx<-table(xr) Gx<-Gx[Gx>1] Gx<-sum(Gx^2-Gx) #Gx is null when x variable is without ties Gy<-table(yr) Gy<-Gy[Gy>1] Gy<-sum(Gy^2-Gy) Gy is null when y variable is without tie...
2013 Feb 26
5
Glassfish automatic installation in Puppet
Hi All, Can any one help to install my jar file automatically, When I tried to install /usr/bin/java -Xmx256m -jar /gx/mnt/software/Vidispine/Components/glassfish-installer-v2.1.1-b31g-linux.jar,its is asking for confirmation like Accept or Decline? [A,D,a,d]. So how can I pass answer with command. Please find my puppet code below exec { ''glassfishInstaExe'': comman...
2013 Mar 23
0
[LLVMdev] About commit TILE-Gx backend to community repository and default disabled
...n. yes, Asm Parser is a module which could be committed individually, but I think the code for AsmParser is relatively small and highly target dependent, a full regression test which cover all instructions could largly gurantee the correctness. I know contributors have their own works. For TILE-Gx backend, it's good if any contributor could have time to finish a full set review, I have been wating for several weeks. I personly think it's not premature to commit TILE-Gx backend into mainline and default disable. Because: 1. TILE-Gx finished the regression test & test-suite te...
2013 Mar 23
2
[LLVMdev] About commit TILE-Gx backend to community repository and default disabled
On Sat, Mar 23, 2013 at 04:59:49PM +0100, Tobias Grosser wrote: > With Chris's reply you also got the general OK to upstream the > patch, _AFTER_ the actual patches have been reviewed. One thing I was asking on IRC for is whether it makes sense for new backends to be committable in incremental steps. Especially for a complete backend like this, e.g. the asm parser would make a
2009 Jul 06
1
how to apply a self-written function to a data frame
...that the " In if (pp > 1) { : condition has length > 1 only the first element will be used " I interpret this error message as saying that only the first element of pp is used. However, I'd like to analyse each row of the data frame, row by row. Using apply(final, 1, abst, gx,gy,tx,ty,p_pos) (with gx - p_pos being columns of the data frame final) gives the error message Error in FUN(newX[, i], ...) : unused argument(s) (c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, aso self-written function abst=function(gx, gy, tx, ty, pp){ # Datum 22.6. 09 - 17:24 # gx, gy...
2013 Mar 24
1
[LLVMdev] About commit TILE-Gx backend to community repository and default disabled
...dule which could be committed individually, but I > think the code > for AsmParser is relatively small and highly target dependent, a full > regression test which > cover all instructions could largly gurantee the correctness. > > I know contributors have their own works. For TILE-Gx backend, it's good > if any contributor could have time to finish a full set review, I have been > wating for several weeks. > > I personly think it's not premature to commit TILE-Gx backend into > mainline and default disable. Because: > > 1. TILE-Gx finished the regre...
2013 Mar 23
0
[LLVMdev] About commit TILE-Gx backend to community repository and default disabled
On 03/23/2013 10:51 AM, Jiong Wang wrote: > on 2013/3/23 1:52, Chris Lattner wrote: >> On Mar 19, 2013, at 8:58 PM, Jiong Wang <jiwang at tilera.com> wrote: >> >>> Hi Chris, >>> >>> could you please comment on committing TILE-Gx backend into community? >> Hi Jiong, >> >> I don't have any special advice here. It sounds like the general >> functionality level is high enough. Taking it into mainline sounds >> great, so long as it is reviewed by someone. > > thanks. > > I w...
2013 Mar 23
3
[LLVMdev] About commit TILE-Gx backend to community repository and default disabled
on 2013/3/23 1:52, Chris Lattner wrote: > On Mar 19, 2013, at 8:58 PM, Jiong Wang <jiwang at tilera.com> wrote: > >> Hi Chris, >> >> could you please comment on committing TILE-Gx backend into community? > Hi Jiong, > > I don't have any special advice here. It sounds like the general functionality level is high enough. Taking it into mainline sounds great, so long as it is reviewed by someone. thanks. I will commit after rebasing & re-testing the c...
2006 Jul 28
3
random effects with lmer() and lme(), three random factors
...effects. So the model I am looking for is Model: y = Samples(random) + Operator(random) + Operator:Run(random) + Error(Operator) + Error(Operator:Run) + Residuals I am using lme function in nlme package. Here is the R code I have 1. using lme: First I created a grouped data using gx <- groupedData(y ~ 1 | Sample, data=x) gx$dummy <- factor(rep(1,nrow(gx))) then I run the lme fm<- lme(y ~ 1, data=gx, random=list(dummy=pdBlocked(list(pdIdent(~Sample-1), pdIdent(~Operator-1), pdIdent(~Operator:Run-1))))) finally, I use VarCorr...
2011 Nov 25
1
Multiple selection, renaming and saving the results
...ear all, I have a big data frame: str(data1) 'data.frame': 18272 obs. of 11 variables: $ tag : int 100001 100002 100003 100005 100007 100008 100009 100011 100012 100014 ... $ sp : Factor w/ 18 levels "acassp","acocar",..: 13 5 7 14 14 18 3 11 13 10 ... $ gx : num 20 10 35 68 88 63 123 115 137 136 ... $ gy : num 30 25 24 1 10 40 45 25 23 45 ... $ d0 : int 0 0 0 0 0 0 0 0 0 0 ... $ d1 : int 395 395 395 395 395 395 395 395 395 395 ... $ d2 : int 751 751 751 751 751 751 751 751 751 751 ... $ d3 : int 1515 1515 1515 1515 1515 15...
2013 Mar 01
2
[LLVMdev] RFC: TileGX, a new backend for Tilera's many core processor
Hi, On behalf of Tilera Corporation, I'd like to contribute llvm ports to Tilera's TILE-Gx architecture and wish this could be submitted to main llvm tree. TILE-Gx is a VLIW architecture with 64-bit registers, 64-bit address space, and 64-bit instructions. TILE-Gx has load-store architecture ISAs. More information on the architectures is available at http://www.tilera.com/scm/docs/inde...
2007 Sep 23
2
return(x=x,y=y,prob=prob) hasn't been used in R now?
...ltiple variables wasn't used in: return(x = x, y = gy, prob = prob) I used the methods of "help.search("return")" and "?return" to get some help, but didn't find info on it. Anybody knows how it should be used correctly? #EXAMPLES a<-function(x,y,z) { gx<-seq(1,10,length.out=20) gy<-gx prob<-matrix(20,20) for (i in 1:20) { for (j in 1:20) { prob<-0.1 } } return(x=gx,y=gy,prob=prob) } a(1,1,1) # the warning message will display Thanks. -- With Kind Regards, oooO::::::::: (..)::::::::: :\.(:::Oooo::...
2013 Mar 22
0
[LLVMdev] About commit TILE-Gx backend to community repository and default disabled
On Mar 19, 2013, at 8:58 PM, Jiong Wang <jiwang at tilera.com> wrote: > Hi Chris, > > could you please comment on committing TILE-Gx backend into community? Hi Jiong, I don't have any special advice here. It sounds like the general functionality level is high enough. Taking it into mainline sounds great, so long as it is reviewed by someone. -Chris > > > ========== TILE-Gx Status =========== > > Fea...
2013 Mar 20
2
[LLVMdev] About commit TILE-Gx backend to community repository and default disabled
Hi Chris, could you please comment on committing TILE-Gx backend into community? ========== TILE-Gx Status =========== Features Supported === 1. general function. 2. PIC/TLS/JumpTable. 3. Instructoin Bundling for VLIW. 4. Asm Parser 5. MC Layer (aware of instruction bundle), MCJIT support. 6. Initial regression tests for CodeGen & MC Layer. Regre...
2013 Mar 23
2
[LLVMdev] About commit TILE-Gx backend to community repository and default disabled
...; On 03/23/2013 10:51 AM, Jiong Wang wrote: >> on 2013/3/23 1:52, Chris Lattner wrote: >>> On Mar 19, 2013, at 8:58 PM, Jiong Wang <jiwang at tilera.com> wrote: >>> >>>> Hi Chris, >>>> >>>> could you please comment on committing TILE-Gx backend into community? >>> Hi Jiong, >>> >>> I don't have any special advice here. It sounds like the general >>> functionality level is high enough. Taking it into mainline sounds >>> great, so long as it is reviewed by someone. >> >> t...
2001 Nov 09
2
ks.test
Dear R-List members, I want to check if a set of measurements follows better a gamma or a lognormal distribution (see data below). Using shapiro.test I can test for normality (shapiro.test(log (Lt)). To test for gamma (and normal) distribution I would use ks.test but I need to specify its shape and scale. How should I calculate these values in R? I tried > Lt.fit <- glm(Lt ~ 1,
2008 Sep 17
1
Strange browser displays with 5.x on Dell GX-260
I had been running CentOS 4.x for quite some time with no problems. Apparently I stubbed my toe when installing CentOS 5 final. Symptoms: various web sites are not properly displayed in Firefox 3.0.1 (or predecessors). In particular, cnn.com and any calls to Google display with a screen full of ascii characters rather than images. When I look at "page info" within Firefox, it
2013 Mar 23
0
[LLVMdev] About commit TILE-Gx backend to community repository and default disabled
> > Hi Jiong, >> >> did you receive a full review by an LLVM committer who approved the >> full patch set (not just individual ones) with some kind of "Looks >> good to me"? This is the requirement Chris put for inclusion and only >> after this has happened (and there are no major concerns found during >> review) you should commit the back end.
2013 Mar 01
0
[LLVMdev] RFC: TileGX, a new backend for Tilera's many core processor
----- Original Message ----- > From: "Jiong Wang" <jiwang at tilera.com> > To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>, cfe-dev at cs.uiuc.edu > Sent: Thursday, February 28, 2013 6:09:20 PM > Subject: [LLVMdev] RFC: TileGX, a new backend for Tilera's many core processor > > Hi, > > On behalf of Tilera Corporation, I'd like to contribute llvm ports to > Tilera's TILE-Gx > architecture and wish this could be submitted to main llvm tree. Jiong, I am happy to see the Tile backend being of...