search for: median3

Displaying 2 results from an estimated 2 matches for "median3".

Did you mean: median
2003 Oct 29
3
long algo
...(the inevitable however), I am finding it very slow for one of my operations: it s basically an itertation over i and j in a pretty big table (4* 4608). It takes 30 minutes!!!! Thanks Ps:if it can help here is the source: median1<-matrix(nrow=4608,ncol=1) median2<-matrix(nrow=4608,ncol=1) median3<-matrix(nrow=4608,ncol=1) median4<-matrix(nrow=4608,ncol=1) v<-c(18,19,20,21,23) for (i in 0:11) { for (j in 1:384) { median1[j+(i*384),]<-puce[j+(i*384),5]+median(puce[v+384*i,2]-puce[v+384*i,5]) median2[j+(i*384),]<-puce[j+(i*384),19]+median(...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...st->voc_m2=st->voc_mean=0; st->voc_offset=0; st->dtx_enabled=0; #ifdef ENABLE_VALGRIND VALGRIND_MAKE_READABLE(st, (st->stack-(char*)st)); #endif return st; } void nb_decoder_destroy(void *state) { DecState *st; st=(DecState*)state; speex_free(state); } #define median3(a, b, c) ((a) < (b) ? ((b) < (c) ? (b) : ((a) < (c) ? (c) : (a))) : ((c) < (b) ? (b) : ((c) < (a) ? (c) : (a)))) static void nb_decode_lost(DecState *st, spx_word16_t *out, char *stack) { int i, sub; VARDECL(spx_coef_t *awk1); VARDECL(spx_coef_t *awk2); VARDECL(spx_coef...