Displaying 9 results from an estimated 9 matches for "sy2".
Did you mean:
sky2
1997 Sep 05
2
R-beta: help with R simulation
...nal+nnoise
x<<-NULL
y<<-NULL
x.temp<-0
y.temp<-0
#generate noise dots
nx1<-runif(nnoise,0,4095)
nx2<-runif(nnoise,0,4095)
ny1<-runif(nnoise,0,4095)
ny2<-runif(nnoise,0,4095)
#generate signal dots
sx1<-runif(nsignal,0,4095)
sx2<-sx1
sy1<-runif(nsignal,0,4095)
sy2<-sy1+jump
sy2<-ifelse(sy2>4095, sy2-4096,sy2) #wrap around
#put noise and signal dots together
tx1<-c(nx1,sx1)
tx2<-c(nx2,sx2)
ty1<-c(ny1,sy1)
ty2<-c(ny2,sy2)
#compute distance to nearest neighbour (x and y) in frame 2
#for each dot in frame 1
for(i in 1:ntotal)
{
rbest<...
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...crnInfoPtr pScrn = xf86Screens[pDst->drawable.pScreen->myNum];
+ ScrnInfoPtr pScrn = xf86Screens[pix_dst->drawable.pScreen->myNum];
NVPtr pNv = NVPTR(pScrn);
struct nouveau_channel *chan = pNv->chan;
struct nouveau_grobj *celsius = pNv->Nv3D;
- float sX0, sX1, sX2, sY0, sY1, sY2, sX3, sY3;
- float mX0, mX1, mX2, mY0, mY1, mY2, mX3, mY3;
+ PicturePtr mask = pNv->pmpict,
+ src = pNv->pspict;
+ PictVector dstq[4] = QUAD(dstX, dstY, width, height),
+ maskq[4] = QUAD(maskX, maskY, width, height),
+ srcq[4] = QUAD(srcX, srcY, width, height);
+
+ MAP(transform_vertex, sr...
2007 May 29
2
R's Spearman
Hi all,
I am trying to figure out the formula used by R's Spearman rho (using
cor(method="spearman")) because I can't seem to get the same value as by
calculating "by hand". Perhaps I'm using "cor" wrong, but I don't know
where. Basically, I am running these commands:
> y=read.table(file="tmp",header=TRUE,sep="\t")
>
2010 Apr 20
1
[PATCH] nv30/exa : cleanup from nv40 exa
...ate->unit[0].transform,
- srcX, srcY + height,
- state->unit[0].width,
- state->unit[0].height, &sX1, &sY1);
- NV30EXATransformCoord(state->unit[0].transform,
- srcX + 2*width, srcY + height,
- state->unit[0].width,
- state->unit[0].height, &sX2, &sY2);
+ srcX + 2*width, srcY + height,
+ state->unit[0].width,
+ state->unit[0].height, &sX2, &sY2);
if (state->have_mask) {
- NV30EXATransformCoord(state->unit[1].transform,
- maskX, maskY - height,
- state->unit[1].width,
- state->un...
2012 Dec 04
1
Winbugs from R
...a1 * cases[i] + beta2 * distance[i]}# prior distributionstau ~ dgamma( 0.01, 0.01 )beta0 ~ dnorm( 0.0, 1.0E-4)beta1 ~ dnorm( 0.0, 1.0E-4)beta2 ~ dnorm( 0.0, 1.0E-4)# definition of sigmas2<-1/taus <-sqrt(s2)# calculation of the sample variancefor (i in 1:n){ c.time[i]<-time[i]-mean(time[]) }sy2 <- inprod( c.time[], c.time[] )/(n-1)# calculation of Bayesian version R squaredR2B <- 1 - s2/sy2# Expected y for a typical delivery timetypical.y <- beta0 + beta1 * mean(cases[]) + beta2 * mean(distance[])}INITSlist( tau=1, beta0=1, beta1=0, beta2=0 )DATA (LIST)list( n=25,time = c(16.68,...
2016 Oct 16
2
[PATCH] exa: add GM10x acceleration support
...USH_DATAf(push, 0);
+
+ PUSH_DATAf(push, sx2+(sx2-sx1));
+ PUSH_DATAf(push, sy1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 1);
+ PUSH_DATAf(push, tx2+(tx2-tx1));
+ PUSH_DATAf(push, ty1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 0);
+
+ PUSH_DATAf(push, sx1);
+ PUSH_DATAf(push, sy2+(sy2-sy1));
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 1);
+ PUSH_DATAf(push, tx1);
+ PUSH_DATAf(push, ty2+(ty2-ty1));
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 0);
+ }
+
BEGIN_NVC0(push, NVC0_3D(SCISSOR_HORIZ(0)), 2);
PUSH_DATA (push, sx2 << NVC0_3D_SCISSOR_HORIZ_MAX__SHIFT...
2016 Oct 27
0
[PATCH v2 1/7] exa: add GM10x acceleration support
...USH_DATAf(push, 0);
+
+ PUSH_DATAf(push, sx2+(sx2-sx1));
+ PUSH_DATAf(push, sy1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 1);
+ PUSH_DATAf(push, tx2+(tx2-tx1));
+ PUSH_DATAf(push, ty1);
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 0);
+
+ PUSH_DATAf(push, sx1);
+ PUSH_DATAf(push, sy2+(sy2-sy1));
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 1);
+ PUSH_DATAf(push, tx1);
+ PUSH_DATAf(push, ty2+(ty2-ty1));
+ PUSH_DATAf(push, 0);
+ PUSH_DATAf(push, 0);
+ }
+
BEGIN_NVC0(push, NVC0_3D(SCISSOR_HORIZ(0)), 2);
PUSH_DATA (push, sx2 << NVC0_3D_SCISSOR_HORIZ_MAX__SHIFT...
2016 Oct 17
0
[PATCH] exa: add GM10x acceleration support
...2-sx1));
> + PUSH_DATAf(push, sy1);
> + PUSH_DATAf(push, 0);
> + PUSH_DATAf(push, 1);
> + PUSH_DATAf(push, tx2+(tx2-tx1));
> + PUSH_DATAf(push, ty1);
> + PUSH_DATAf(push, 0);
> + PUSH_DATAf(push, 0);
> +
> + PUSH_DATAf(push, sx1);
> + PUSH_DATAf(push, sy2+(sy2-sy1));
> + PUSH_DATAf(push, 0);
> + PUSH_DATAf(push, 1);
> + PUSH_DATAf(push, tx1);
> + PUSH_DATAf(push, ty2+(ty2-ty1));
> + PUSH_DATAf(push, 0);
> + PUSH_DATAf(push, 0);
> + }
> +
> BEGIN_NVC0(push, NVC0_3D(SCISSOR_HORIZ(0)), 2);
> PUSH_DATA (p...
2016 Oct 27
11
[PATCH v2 0/7] Add Maxwell support
I believe I've addressed all the feedback from the first time around, and
also made fixes necessary for GM20x based on testing results. I believe
now it should actually work for all GM10x and GM20x. Further, GP10x should
be very easy to add, but without someone to actually test I didn't want to
claim support for it.
Ilia Mirkin (7):
exa: add GM10x acceleration support
hwdefs: update