search for: 500th

Displaying 12 results from an estimated 12 matches for "500th".

Did you mean: 100th
2009 Mar 27
3
how to get all iterations if I meet NaN?
hi, everybody, please help me with this question: If I want to do iteration for 1000 times, however, for the 500th iteration, there is NaN appears. Then the iteration will stop. If I don't want the stop and want the all the 1000 iterations be done. What shall I do? suppose I have x[1:1000] and z[1:1000],I want to do some calculation for all x[1] to x[1000]. z=rep(0,1000) for (i in 1:1000){ z[i]=sin(1/x...
2024 Jun 16
2
slowness when I use a list comprehension
...or loops. May you please explain to me why the list comprehension is slower in my case. Here is my example. I do the calculation of the square difference between the values of two vectors vec1 and vec2, the ratio sampling between vec1 and vec2 is equal to ratio_sampling. I have to use only the 500th value of the first serie before doing the difference with the value of the second serie (vec2). Thank you Best regards Laurent library(tictoc) library(comprehenr) ratio_sampling <- 500 ## size of the first serie N1 <- 70000 ## size of the second serie N2 <- 100 ## mock data set.seed(...
2024 Jun 16
1
slowness when I use a list comprehension
...explain to me why the > list comprehension is slower in my case. > > Here is my example. I do the calculation of the square difference > between the values of two vectors vec1 and vec2, the ratio sampling > between vec1 and vec2 is equal to ratio_sampling. I have to use only the > 500th value of the first serie before doing the difference with the > value of the second serie (vec2). > > Thank you > > Best regards > > Laurent > > library(tictoc) > library(comprehenr) > > ratio_sampling <- 500 > ## size of the first serie > N1 <- 70000...
2009 Jul 01
2
?max (so far...)
...s from other columns *so far* - not for the whole data.frame. It seems this sort of question is really coming from my lack of understanding about how R intends me to limit myself to portions of a data.frame. I get the impression from the help files that the generic way is that if I'm on the 500th row of a 1000 row data.frame and want to limit the search max does to rows 1:500 I should use something like [1:row] but it's not working inside my function. The idea works outside the function, in the sense I can create tempt1[1:7] and the max function returns what I expect. How do I do this...
2024 Jun 16
1
slowness when I use a list comprehension
...or loops. May you please explain to me why the list comprehension is slower in my case. Here is my example. I do the calculation of the square difference between the values of two vectors vec1 and vec2, the ratio sampling between vec1 and vec2 is equal to ratio_sampling. I have to use only the 500th value of the first serie before doing the difference with the value of the second serie (vec2). Thank you Best regards Laurent library(tictoc) library(comprehenr) ratio_sampling <- 500 ## size of the first serie N1 <- 70000 ## size of the second serie N2 <- 100 ## mock data set.seed(...
2002 Mar 07
1
mp3stat 2.5 released
...te of vbr mp3s. A gui was added sometime after to give a rough representation of the where-abouts of different bitrates in the file. Many revisions later it became what it is now. Mp3stat is a utility that scans MP3 and Ogg files and generates a linear graph of bitrates per section of the file (1/500th). It also generates a table of how many blocks in the file fall under a certain bitrate. Mp3stat allows one to compare the effect (at least on bitrates) of using different decoders on the same file or even different codecs on the same file as well as simply seeing how different arguments on the sam...
2013 Nov 28
3
[Bug 10295] New: do_lchown() after set_xattr() causes xattrs to be dropped on Linux 3.10.20.
...Example: rsync -Xa /foo /bar Expected: Copies will have the same security attributes as the originals. Reality: Copies have security attributes cleared. Please look at rsync-3.1.0/rsync.c lines 492 & 541 in the context of chown_common() from linux kernel fs/open.c around the 500th line. It appears that the SET{G,U}ID bits and security attrs are cleared. Relevant kernel line: if (!S_ISDIR(inode->i_mode)) newattrs.ia_valid |= ATTR_KILL_SUID | ATTR_KILL_SGID | ATTR_KILL_PRIV; Suggestion: move the SUPPORT_XATTRS code invoca...
2012 Sep 10
3
Plot not too dense line plot
Dear all, I am including in a plot 6 different lines (?lines) with 6 different line types. The problem is that I have so dense information that the line types are not visible any more.   In the code below myLength<-length(currentSet) plot(seq(from=1,to=myMax,length.out=myLength),currentSet, type="l",xlim=c(1,myMax),axes=F,...) the myLength is 100.000+ elements. I would like to ask
2004 Sep 16
1
MAX PRINT JOBS bugg
My smb.conf file contains in the general section. max print jobs = 50 And i disabled the print queue using this command : disable PrintQueueName Therefore i would expect SAMBA to reject print jobs after the 50th. But in real life it does not, it continues to spool indefinitely. If i run a batch file from a client workstation to print continuously. It means the request to print is made
2024 Jun 16
1
slowness when I use a list comprehension
...explain to me why the >list comprehension is slower in my case. > >Here is my example. I do the calculation of the square difference >between the values of two vectors vec1 and vec2, the ratio sampling >between vec1 and vec2 is equal to ratio_sampling. I have to use only the >500th value of the first serie before doing the difference with the >value of the second serie (vec2). > >Thank you > >Best regards > >Laurent > >library(tictoc) >library(comprehenr) > >ratio_sampling <- 500 >## size of the first serie >N1 <- 70000 >##...
2024 Jun 16
1
slowness when I use a list comprehension
...explain to me why the >list comprehension is slower in my case. > >Here is my example. I do the calculation of the square difference >between the values of two vectors vec1 and vec2, the ratio sampling >between vec1 and vec2 is equal to ratio_sampling. I have to use only the >500th value of the first serie before doing the difference with the >value of the second serie (vec2). > >Thank you > >Best regards > >Laurent > >library(tictoc) >library(comprehenr) > >ratio_sampling <- 500 >## size of the first serie >N1 <- 70000 >##...
2008 Jan 22
2
forced fsck (again?)
hello everyone. i guess this has been asked before, but haven't found it in the faq. i have the following issue... it is not uncommon nowadays to have desktops with filesystems in the order of 500gb/1tb. now, my kubuntu (but other distros do the same) forces a fsck on ext3 every so often, no matter what. in the past it wasn't a big issue. but with sizes increasing so much, users are