Displaying 9 results from an estimated 9 matches for "step_size".
2009 Mar 27
2
Physical or Statistical Explanation for the "Funnel" Plot?
...reased. There appears to be a quick convergence and then a pretty steady variance out to a set size of 10,0000.
I'm just wondering if there is a statistical explanation out there for this convergence and it has been explored further. Thanks again.
# First case
N<-100000
X<-rnorm(N)
step_size<-1
# Groups
g<-rep(1:(N/step_size),each=step_size)
# The result
tmp_output<-tapply(X[1:length(g)],g,mean)
length_tmp_output<-length(tmp_output)
tmp_x_vals<-rep(step_size,length_tmp_output)
plot(tmp_x_vals, tmp_output, xlim=c(0,10000))
#points(tmp_x_vals, tmp_output)
for(ii in 1:...
2015 Feb 24
2
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
...re GEP splitting logic, although not quite for this
> case).
>
>
Hi Hal,
MachineLICM is not able to hoist anything because the address mode is not
loop invariant.
Here is a reduction of the code I am talking about.
extern const unsigned phasor[4096];
void test(unsigned* out , unsigned step_size)
{
unsigned big_step_size = step_size<<2;
int *phasor_ptr_temp_1 = &phasor[big_step_size];
for (int i = 0 ; i < 1020 ; i+=4)
out[i] = phasor_ptr_temp_1[i<<step_size];
}
I am getting slightly better code on my target (Octasic's Opus) if I return
false for shouldMergeG...
2011 Mar 25
0
Bounding ellipse for any set of points
...{
## see
[4]http://stackoverflow.com/questions/1768197/bounding-ellipse
## for commented code
X <- Q %*% diag(u) %*% t(Q)
M <- diag(t(Q) %*% solve(X) %*% Q)
maximum <- max(M)
j <- which(M == maximum)
step_size = (maximum - d -1) / ((d+1)*(maximum-1))
new_u <- (1 - step_size) * u
new_u[j] <- new_u[j] + step_size
err <- sqrt(sum((new_u - u)^2))
count <- count + 1
if (count > max.iter) {
warning(paste("Iterated",...
2015 Feb 22
2
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
Hello
I am not sure I understand the logic for merging GEPs in
InstructionCombining.cpp:
static bool shouldMergeGEPs(GEPOperator &GEP, GEPOperator &Src) {
// If this GEP has only 0 indices, it is the same pointer as
// Src. If Src is not a trivial GEP too, don't combine
// the indices.
if (GEP.hasAllZeroIndices() && !Src.hasAllZeroIndices() &&
2011 Jul 21
0
Bounding ellipse for any set of points
...[4]http://stackoverflow.com/questions/1768197/bounding-ellipse
> ## for commented code
> X <- Q %*% diag(u) %*% t(Q)
> M <- diag(t(Q) %*% solve(X) %*% Q)
> maximum <- max(M)
> j <- which(M == maximum)
> step_size = (maximum - d -1) / ((d+1)*(maximum-1))
> new_u <- (1 - step_size) * u
> new_u[j] <- new_u[j] + step_size
> err <- sqrt(sum((new_u - u)^2))
> count <- count + 1
> if (count > max.iter) {
> warnin...
2015 Feb 25
2
[LLVMdev] Question about shouldMergeGEPs in InstructionCombining
...able to hoist anything because the address mode
> > is
> > not loop invariant.
> >
> >
> > Here is a reduction of the code I am talking about.
> >
> >
> >
> > extern const unsigned phasor[4096];
> > void test(unsigned* out , unsigned step_size)
> > {
> > unsigned big_step_size = step_size<<2;
> > int *phasor_ptr_temp_1 = &phasor[big_step_size];
> > for (int i = 0 ; i < 1020 ; i+=4)
> > out[i] = phasor_ptr_temp_1[i<<step_size];
> > }
> >
> >
> > I am getting slight...
2008 Sep 15
1
Jitter Buffer issues
...DP
I use TCP for the first two to insure all voice packets are delivered to
the user. I must use UDP for the Full Duplex link to minimize latency.
When I use UDP I also use the Speex Jitter Buffer. I have run into some
issues when using it.
My first problem is minor with jitter_buffer_init(int step_size). The
initialization of buffer_margin I think this should be 1 not 0.
/*FIXME: Should this be 0 or 1?*/
jitter->buffer_margin = 0;
With it set to 0 there is a problem if jitter_buffer_get() is called
before jitter_buffer_put(). This cause all packets to be discarded due
to every...
2008 Mar 29
0
GCC/ELF Visibility patch
...reo;
spx_word16_t sign=1, dexp;
Index: libspeex/jitter.c
===================================================================
--- libspeex/jitter.c (revision 14645)
+++ libspeex/jitter.c (working copy)
@@ -269,7 +269,7 @@
/** Initialise jitter buffer */
-JitterBuffer *jitter_buffer_init(int step_size)
+EXPORT JitterBuffer *jitter_buffer_init(int step_size)
{
JitterBuffer *jitter = (JitterBuffer*)speex_alloc(sizeof(JitterBuffer));
if (jitter)
@@ -294,7 +294,7 @@
}
/** Reset jitter buffer */
-void jitter_buffer_reset(JitterBuffer *jitter)
+EXPORT void jitter_buffer_reset(JitterBuffer...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...reo;
spx_word16_t sign=1, dexp;
Index: libspeex/jitter.c
===================================================================
--- libspeex/jitter.c (revision 14645)
+++ libspeex/jitter.c (working copy)
@@ -269,7 +269,7 @@
/** Initialise jitter buffer */
-JitterBuffer *jitter_buffer_init(int step_size)
+EXPORT JitterBuffer *jitter_buffer_init(int step_size)
{
JitterBuffer *jitter = (JitterBuffer*)speex_alloc(sizeof(JitterBuffer));
if (jitter)
@@ -294,7 +294,7 @@
}
/** Reset jitter buffer */
-void jitter_buffer_reset(JitterBuffer *jitter)
+EXPORT void jitter_buffer_reset(JitterBuffer...