Displaying 6 results from an estimated 6 matches for "newmax".
Did you mean:
newman
2001 Aug 30
1
imagenrgb: Function to display RGB images in R
...ini <- apply(mat3d,3,min)
maxi <- apply(mat3d,3,max)
}
if(stretch=="n") {
med <- apply(mat3d,3,median)
ma <- apply(mat3d,3,mad)
mini <- med - 3*ma
maxi <- med + 3*ma
}
if(stretch==" ")
mat3d <- round(rescale(mat3d,oldmin=0,oldmax=255,newmax=ngris-1))
else {
mat3d[,,1] <- round(rescale(mat3d[,,1],oldmin=mini[1],oldmax=maxi[1],newmax=ngris-1))
mat3d[,,2] <- round(rescale(mat3d[,,2],oldmin=mini[2],oldmax=maxi[2],newmax=ngris-1))
mat3d[,,3] <- round(rescale(mat3d[,,3],oldmin=mini[3],oldmax=maxi[2],newmax=ng...
2011 Jun 22
2
[LLVMdev] ConstantRange::sub
...> These aren't quite right, I think it should be:
>
> NewLower = Lower - (Upper-1)
> NewUpper = (Upper-1) - Lower + 1
>
> Constant ranges are stored half-open, [lower, upper) which means that the upper value is one past the end of the range. I often think of the formula as newmax = max - min --> newupper - 1 = ((getUpper() - 1) - Other.getLower(). min = lower, while max = upper - 1.
>
> Nick
2011 Jun 22
0
[LLVMdev] ConstantRange::sub
...per() - Other.getLower();
>
These aren't quite right, I think it should be:
NewLower = Lower - (Upper-1)
NewUpper = (Upper-1) - Lower + 1
Constant ranges are stored half-open, [lower, upper) which means that the
upper value is one past the end of the range. I often think of the formula
as newmax = max - min --> newupper - 1 = ((getUpper() - 1) -
Other.getLower(). min = lower, while max = upper - 1.
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110622/baa1bc98/attachment.html>
2011 Jun 21
2
[LLVMdev] ConstantRange::sub
Hi,
I have a question about ConstantRange::sub(const ConstantRange &Other) at lib/Support/ConstantRange.cpp:524. The code computes the new bounds as follows.
APInt NewLower = getLower() - Other.getLower();
APInt NewUpper = getUpper() - Other.getUpper() + 1;
Could someone explain this to me? I was expecting something like
APInt NewLower = getLower() - Other.getUpper() + 1;
APInt
2011 Jun 22
0
[LLVMdev] ConstantRange::sub
...ht, I think it should be:
> >
> > NewLower = Lower - (Upper-1)
> > NewUpper = (Upper-1) - Lower + 1
> >
> > Constant ranges are stored half-open, [lower, upper) which means that the
> upper value is one past the end of the range. I often think of the formula
> as newmax = max - min --> newupper - 1 = ((getUpper() - 1) -
> Other.getLower(). min = lower, while max = upper - 1.
> >
> > Nick
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110622/032ff...
2002 Feb 11
0
profile
...1.6) #my adjustment
break
pars <- pars + ((pars - par.vals[count - 1, ]) *
delta.t)/abs(tau[count] - tau[count - 1])
}
tau[1:count] <- tau[count:1]
par.vals[1:count, ] <- par.vals[count:1, ]
sgn <- 1
newmax <- count + maxpts
pars <- par.vals[count, ]
while (count <= newmax) {
pars <- pars + ((pars - par.vals[count - 1, ]) *
delta.t)/abs(tau[count] - tau[count - 1])
if (abs(pars[par] - base)/std.err[par] > 10 * cutoff)...