search for: dense

Displaying 20 results from an estimated 607 matches for "dense".

Did you mean: sense
2010 Apr 20
2
QCA3 segfault
...presolve = as.integer(presolve), compute.sens = as.integer(compute.sens), sens.coef.from = as.double(sens.coef.from), sens.coef.to = as.double(sens.coef.to), duals = as.double(duals), duals.from = as.double(duals.from), duals.to = as.double(duals.to), scale = as.integer(scale), use.dense = as.integer(use.dense), dense.col = as.integer(dense.col), dense.val = as.double(dense.val), dense.const.nrow = as.integer(dense.const.nrow), dense.ctr = as.integer(dense.ctr), use.rw = as.integer(use.rw), tmp = as.character(tmp), status = as.integer(status), PACKAGE = "lpSolve&qu...
2004 Nov 19
0
Legend
...id this. Will I have to use the lattice library for this functionality? Also, how does one get around removing the grey background produce by the following xyplot. The postscript works great but my boss wants the figures for the Microsoft world. Thanks Randy ########Coding used for fill question? dense <- rep(0,length(LTtempmean)) for(i in 1:length(LTtempmean)){ if(LTtempmean[i] < 2)dense[i]=5 else if(LTtempmean[i] >= 2 & LTtempmean[i] < 4)dense[i]=12 else if(LTtempmean[i] >= 4 & LTtempmean[i] < 6)dense[i]=30 else if(LTtempmean[i] >= 6 & LTtempmean[i] < 8)dense...
2012 Apr 23
0
Different results for sparse and dense version of model matrix using contrasts and interactions
Dear all, I've been getting different results from the sparse and dense version of model.Matrix when used with sparse contrasts and interactions between factors. The same happens when using model.matrix and sparse.model.matrix. When calculating list.contrasts I get the same results for sparse and dense contrasts (except the type of the matrix is different of course). H...
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 you how I can print each...
2010 Jul 02
2
is there a way to do dense rank in R
I have not been able to find a way to do dense rank in R Here is an example of what I need rank() gives the following 5 rank 1 7 rank 2 7 rank 2 9 *rank 4* but I want 5 rank 1 7 rank 2 7 rank 2 9 *rank 3* * * thanks SS [[alternative HTML version deleted]]
2002 Oct 15
2
extremely dense tinc-mini-howto
Hi, I'm trying to write an extremely dense tinc-mini-howto. You can see it at: http://keetweej.vanheusden.com/~folkert/tinc_mini_howto.html Please send me suggestions on how I can make things better and such. Oh, and if someone could tell me how to configure tinc so that it authenticates against the host on the other side, please tell me! (...
2006 Nov 29
1
Matrix*vector: coercing sparse to dense matrix for arithmetic
...atrices), and I need to multiply each row by a number to get another matrix. If the matrix is A and the numbers are stored in a vector k, with plain vanilla matrices I would do A*k But when using the Matrix package (class of A is "dgCMatrix"), I get the warning "coercing sparse to dense matrix for arithmetic". The error message is perfectly reasonable, I am looking for a way to do it right (keeping operations in the realm of sparse matrices). Any help would be appreciated. Thanks, Tamas
2013 Nov 13
0
[LLVMdev] How to reduce the footprint of MDNodes? (About the comment you made at BOF LTO)
...wrote: > I'm moderately opposed to just encoding these in a string format. I think > we can do something substantially better both for space, time, and > readability. Fundamentally, there is no reason for the original metadata > node you describe to not *encode* its operands into a dense bit-packed blob > of memory. We can still expose APIs that manipulate them as separate > entities, and have the AsmPrinter and AsmParser map back and forth with > nice human-readable forms. But even a simple varint encoding will be both > smaller and faster than ascii. > > > I...
2013 Nov 13
3
[LLVMdev] How to reduce the footprint of MDNodes? (About the comment you made at BOF LTO)
...s the important part. > I'm moderately opposed to just encoding these in a string format. I think we can do something substantially better both for space, time, and readability. Fundamentally, there is no reason for the original metadata node you describe to not *encode* its operands into a dense bit-packed blob of memory. We can still expose APIs that manipulate them as separate entities, and have the AsmPrinter and AsmParser map back and forth with nice human-readable forms. But even a simple varint encoding will be both smaller and faster than ascii. I guess you could make it work, but...
2016 Jul 27
2
K MEANS clustering
...rs for documents. The particular problem I'm having is representing centroids in an efficient way. For example, when we find the mean vector of a cluster, the resultant centroid need not be a document vector of a document belonging to that cluster. Hence representing that cluster, which will be dense as a C++ map is inefficient because of the number of terms associated with it and calculating distances with that doesn't work or scale too well. Over that, my distance calculation works over two documents. So will I need to modify that in a way to accommodate arbitrary vectors which might not...
2009 Oct 24
1
operations on sparse matrices, and dense intermediary steps
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm doing some basic operations on large sparse matrices, for example getting a row. it takes close to 30 seconds on a 3Ghz machine, and shots the memory usage up to the sky. I suspect there are dense intermediary steps (which, if true would defeat the purpose of trying to use sparse representaitons). As much as I try understanding the hierarchy of Matrix classes, it's a mystery to me. Is subsetting sparse matrices memory-intensive? Does it have to do with features of the language, such as...
2005 Nov 09
2
Packages that require other packages - How?
...: The source code for a package that requires one or more other packages should have a call to 'require', preferably near the beginning of the source, and of course before any code that uses functions, classes or methods from the other package. Now, I'm being very dense today, but I don't know where to put such a call to require. My package has added methods for a generic function supplied by another package. I have listed this package in the Depends field in my DESCRIPTION. What do I need to do to have the package that my package depends on be attached when...
2014 Aug 28
2
[LLVMdev] The problem of densemap and loop
Hello, everyone, I created a dense map like this: DenseMap<Loop *, int> ls; And I have a module which contains 3 functions: function F and it has a loop which is " Loop at depth 1 containing: %1<header><exiting>,%3,%5<latch> " function G and it has two loops which are " Loop at depth 1 con...
2011 Oct 18
2
reading a dense file of binary number
hi all, i have a file of the following format that i want to read into a matrix: 010101001110101 101010010111110 010010100100000 ... it has no headers or row names. I tried to use read.table(), but it doesn't allow me to specify nothing as the column separator (specifying sep='' means whitespace for that function). read.fwf doesn't seem appropriate either. [[alternative HTML
2019 Jan 07
2
dns_tkey_gssnegotiate: TKEY is unacceptable
Call me dense, but now I am more confused. I have tried with and without quotes ... all over the place (i.e. in the smb.config and on the command line) and everything still results in errors, although not always exactly the same. Messing with the command line results in things like this: ERROR(runtime): uncaught...
2004 Apr 28
2
Matrix efficiency in 1.9.0 vs 1.8.1
I'm seeking some advice on effectively using the new Matrix library in R1.9.0 for operations with large dense matrices. I'm working on integral operator models (implemented numerically via matrix operations) and except for the way entries are generated, the examples below really are representative of my problem sizes. My main concern is speed of large dense matrix multiplication. In R 1.8.1 (Windows...
2014 Aug 29
2
[LLVMdev] The problem of densemap and loop
Dear John, First thing, the 3 loops in Densemap are all " Loop at depth 1 containing: %1<header><exiting>,%3,%5<latch> " in the 3 functions. The dense map is in a ImmutablePass. I got it in FunctionPass and tried insert the information in this FunctionPass. So to turn the FunctionPass to ModulePass may be a bette...
2013 Nov 13
3
[LLVMdev] How to reduce the footprint of MDNodes? (About the comment you made at BOF LTO)
...I'm moderately opposed to just encoding these in a string format. I think >> we can do something substantially better both for space, time, and >> readability. Fundamentally, there is no reason for the original metadata >> node you describe to not *encode* its operands into a dense bit-packed blob >> of memory. We can still expose APIs that manipulate them as separate >> entities, and have the AsmPrinter and AsmParser map back and forth with >> nice human-readable forms. But even a simple varint encoding will be both >> smaller and faster than ascii. &...
2008 Jun 17
0
Quickly reading data into the Matrix packages sparse formats
I have data set that I wish to solve with the Matrix package's sparse matrix functionality. The speed improvements that it has achieved are amazing, with my dense matrix solutions never taking really long enough to time in what I've been able to time so far. However, before I can solve my full linear model, I need to be able to read in all the data, and therein lies the rub. There are two ways that I see to read it in: (1) generate a dense X mat...
2006 Dec 19
3
Parsing Area Code from CallerID
How would I parse the area code from this variable? Number=2515551212 Sorry for the dense question, I don't seem to be able to find an appropriate function for parsing left to right.