search for: efficency

Displaying 20 results from an estimated 65 matches for "efficency".

Did you mean: efficiency
2009 Feb 11
4
Efficent way to create an nxn upper triangular matrix of one's
The code below create an nxn upper triangular matrix of one's. I'm stuck on finding a more efficient vectorized way - Thanks. --Dale n <- 9 data <- matrix(data=NA, nrow=n, ncol=n) data for (i in 1:n) { data[,i] <- c(rep(1,i), rep(0,n-i)) } data
2006 Jun 28
2
[LLVMdev] jump table ?
Is it possible to take the address of a basic block ? I'd like to put a whole bunch of these addresses into an array, and then select one to branch to. Eg. like a switch statement. (i'm thinking also of GCC's computed goto's) I'm finding the code generated by an llvm switch is a big bunch of compares and jump instructions, which i'm not sure is the most efficent way of
2004 Nov 11
6
scan or source a text file into a list
...e model with the same type of I/O. The Matlab model reads a text file with the initial parameters specified as: C:\Data\Carluc\Rport>more Params.R # Number of years to simulate nYears = 50; # Initial year for graphing purposes year0 = 1970; # NPP/GPP ratio (cpp0 unitless) fnr = 0.30; # Quantum efficency qe = 0.040; That is, there are four input variables (for this run - there can be many more) written in a way that R can understand them. In R, I can have the model source the parameter text file easily enough and have the objects in the workspace. The model function in R takes a list at runtime....
1998 Sep 23
4
Start and stop the samba server
Is there a good way to stop and restart the samba server... for example to have it re read the smb.conf, without rebooting the actual pc? if I should kill a process should I kill them all ??? if so is there an efficent way to do this? thanks in advance Robert
2006 Mar 08
5
data import problem
Dear All, I'm trying to read a text data file that contains several records separated by a blank line. Each record starts with a row that contains it's ID and the number of rows for the records (two columns), then the data table itself, e.g. 123 5 89.1791 1.1024 90.5735 1.1024 92.5666 1.1024 95.0725 1.1024 101.2070 1.1024 321 3 60.1601 1.1024 64.8023 1.1024 70.0593
2006 Mar 02
7
G729 and Meetme
I have noticed that when I try to connect multiple G729 VoIP devices into a MeetMe conference that I can only add up to the number of G729 licenses I have. Now I would think that because all the devices are G729, this wouldn't be the case and the only license that would ever be used would be if a non G729 device or Zap channel was a part of the Meetme conference. This is apparently note the
2012 Mar 09
2
anonymous "on demand" file transfers?
Hello All, Is it possible to serve up files anonymously via a folder of my choosing on demand? >From time to time where I work, we transfer large file heirarchies between co-workers and contractor workstations, and we've gotten away with tar'ing things up or using something like webfs (or Python -m SimpleHTTPServer) on one end and 'wget -r http://remote-server' on the the
2007 Nov 10
7
How to more efficently read in a big matrix
Dear list, I need to read in a big table with 487 columns and 238,305 rows (row names and column names are supplied). Is there a code to read in the table in a fast way? I tried the read.table() but it seems that it takes forever :( Thanks a lot! Best, Allen
2006 Apr 27
12
Stealing users IP address
Is there a functiaon to take the IP address of person who submits to a form example: <input id="user_ip" name="user[ip]" type="hidden" value="<%= some_ip_call %>" /> -- Posted via http://www.ruby-forum.com/.
2008 Jul 11
3
data summerization etc...
Hello, I am trying to do some fairly straightforward data summarization, i.e., the kind you would do with a pivot table in excel or by using SQL queires. I have a moderately sized data set of ~70,000 records and I am trying to compute some group averages and sum values within groups. the code example below shows how I am trying to go about doing this pti <-rnorm(70000,10) fid <-
2006 Jun 25
1
Sorting ferret results by column
I have the acts_as_ferret plugin installed. Everything searches great, but I would like to limit the results (i.e. by ''end_date'') and sort them (by ''end_date''). ''end_date'' is a valid column in my "posts" table. Here''s the code I have already: @posts = Post.find_by_contents(params[:query]) params[:query] comes from a form. I
2008 Jul 14
1
Computing row means for sets of 2 columns
Is there a better or more efficent approach than this without the use of t() ? > (m <- matrix(1:40, ncol=4)) [,1] [,2] [,3] [,4] [1,] 1 11 21 31 [2,] 2 12 22 32 [3,] 3 13 23 33 [4,] 4 14 24 34 [5,] 5 15 25 35 [6,] 6 16 26 36 [7,] 7 17 27 37 [8,] 8 18 28 38 [9,] 9 19 29 39[10,] 10 20 30 40 >
2001 Nov 26
1
rsync-ing compressed archives
Hi there! I'm quite happily using rsync. There is only one case where I couldn't figure out how to use it efficently: I sometimes have large compressed files (either .tar.gz or .zip) that I need to keep synchronized. The exploded files are usually not available on the machines i use for rsync (to keep everything unpacked would mean wasting a lot of space on the server). The problem is that
2006 Jun 28
0
[LLVMdev] jump table ?
On Wed, 28 Jun 2006, Simon Burton wrote: > Is it possible to take the address > of a basic block ? Nope. > I'd like to put a whole bunch of these > addresses into an array, and then select > one to branch to. Eg. like a switch statement. > (i'm thinking also of GCC's computed goto's) llvm-gcc supports gcc's computed goto's. You can see what code it
2004 Sep 21
3
how to take this experiment with R?
How about: x <- data.frame(matrix(rnorm(1550),c(50,31))) model <- step(lm(x[,1] ~ as.matrix(x[,2:31]))) --Matt -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of rongguiwong Sent: Monday, September 20, 2004 20:52 PM To: r-help at stat.math.ethz.ch Subject: [R] how to take this experiment with R? This message uses
2006 Aug 24
1
Using a 'for' loop : there should be a better way in R
I need to apply a yearly inflation factor to some wages and supply some simple sums by work category. I have gone at it with a brute force "for" loop approach which seems okay as it is a small dataset. It looks a bit inelegant and given all the warnings in the Intro to R, etc, about using loops I wondered if anyone could suggest something a bit simpler or more efficent? Example:
2003 May 12
1
Processor
Hi, I am interested in the thoughts of the people who know the architecture of Asterisk quite well.. What I am interested in is the performace difference of Celeron vs P4 vs Xeon.. I know Intel marketing says that servers should be Xeon, Workstations should be P4 and desktops should be Celeron and they are priced to the specific target market.. I am on a tight budget and so I am looking for the
2008 Jul 11
1
data summarization etc...
Hello, I am trying to do some fairly straightforward data summarization, i.e., the kind you would do with a pivot table in excel or by using SQL queires. I have a moderately sized data set of ~70,000 records and I am trying to compute some group averages and sum values within groups. the code example below shows how I am trying to go about doing this pti <-rnorm(70000,10) fid <-
2010 Aug 21
2
t.tests on a data.frame using an apply-type function
I have a data.frame with ~250 observations (rows) in each of ~50 categories (columns). I would like to perform t.tests on subsets of observations within each column, with the subsets according to index vectors contained in other columns of the data.frame. My data.frame looks something like this: x<-data.frame(matrix(rnorm(200,mean=5,sd=.5),nrow=20)) colnames(x)<-c("site",
2016 Nov 18
1
Good email client to use with Dovecot?
...OP and IMAP as well as S/MIME and PGP. You can highly customize it, if you want to with rules per folder, per sender adress etc. pp. Just like vi it takes a while until you have internalized the (invisible) interface. Once you've moved beyond that point you will experience an enormous boost in efficency. If you want to, ping me offline and I will share my mutt config. That should make it easier to start using it. p at rick > ? Original Message ? > From: Andreas Kalex > Sent: Thursday, November 17, 2016 11:06 PM > To: Dovecot Mailing List > Subject: Re: Good email client to use w...