search for: denum

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

Did you mean: enum
2003 Apr 14
1
isoMDS and stress
...<- isoMDS(swiss.dist) initial value 2.979731 iter 5 value 2.431486 iter 10 value 2.343353 final value 2.338839 Converged > > delta.x <- swiss.mds$points > delta.dist <- dist(delta.x) > > stress <- function(avant, apres) { + l <- length(avant) + num <- 0 + denum <- 0 + + for (i in 1:l) { + num <- num + (avant[i] - apres[i])^2 + denum <- denum + apres[i] + } + + sqrt(num / denum) + } > > swiss.mds$stress [1] 2.338839 > stress(swiss.dist, delta.dist) [1] 0.4196349 > Any idea ? Thanks -- Stephane
2004 Nov 20
0
ffmpeg2theora start and end time support
...width = this->video_x; info.ti.height = this->video_y; info.ti.frame_width = this->output_width; info.ti.frame_height = this->output_height; info.ti.offset_x = this->frame_x_offset; info.ti.offset_y = this->frame_y_offset; // FIXED: looks like ffmpeg uses num and denum for fps too // venc->frame_rate / venc->frame_rate_base; //info.ti.fps_numerator = 1000000 * (this->fps); /* fps= numerator/denominator */ //info.ti.fps_denominator = 1000000; info.ti.fps_numerator=venc->frame_rate; info.ti.fps_denominator = venc->frame_rate_base; /...