similar to: Syntax question: assigning sparse matrix elements

Displaying 20 results from an estimated 5000 matches similar to: "Syntax question: assigning sparse matrix elements"

2007 Feb 06
1
Unicode support--case sensitive in share name
Hi all: I create one share named gr?zer but the share can?t be accessed.I looked into the log, and find the share name will be transformed to upper case and then lower case. The ASCII can be transformed in between successfully, but German can?t. It leaded to access failed. I also tried the upper case share gr?zer, and it works successfully. It seems the lower case can?t be transformed back
2018 Aug 30
4
crash problem when using IndirectBrInst to replace BranchInst
Hello all, I have written a pass, which replaces condition branchinst using indirectBr to obfuscate program. The origin IR is as the following: br i1 %1, label %2, label %3 And the transformed IR is as the follwoing: %4 = select i1 %1, i8* blockaddress(@func, %2), i8* blockaddress(@func, %3) indirectbr i8* %4, [label %2, label %3] The pass's core function is as the
2017 Mar 08
2
[virtio-dev] packed ring layout proposal - todo list
On Wed, Mar 08, 2017 at 03:09:48PM +0800, Yuanhan Liu wrote: > On Wed, Mar 01, 2017 at 03:07:29AM +0200, Michael S. Tsirkin wrote: > > On Tue, Feb 28, 2017 at 12:29:43PM +0800, Yuanhan Liu wrote: > > > Hi Michael, > > > > > > Again, as usual, sorry for being late :/ > > > > > > On Wed, Feb 22, 2017 at 06:27:11AM +0200, Michael S. Tsirkin
2017 Mar 08
2
[virtio-dev] packed ring layout proposal - todo list
On Wed, Mar 08, 2017 at 03:09:48PM +0800, Yuanhan Liu wrote: > On Wed, Mar 01, 2017 at 03:07:29AM +0200, Michael S. Tsirkin wrote: > > On Tue, Feb 28, 2017 at 12:29:43PM +0800, Yuanhan Liu wrote: > > > Hi Michael, > > > > > > Again, as usual, sorry for being late :/ > > > > > > On Wed, Feb 22, 2017 at 06:27:11AM +0200, Michael S. Tsirkin
2018 Aug 31
2
crash problem when using IndirectBrInst to replace BranchInst
With Debug mode, it shows the assert error: Assertion failed: (I != BlockLiveness.end() && "Predecessor not found"), function calculateLocalLiveness, file lib/CodeGen/StackColoring.cpp, line 782. 1. <eof> parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module 'busybox/archival/libarchive/decompress_bunzip2.c'. 4. Running
2008 Oct 15
0
[LLVMdev] bug in the JIT global variable emitter
On Oct 14, 2008, at 4:47 AMPDT, Nuno Lopes wrote: >>> Today I found a nice bug in the JIT global variable emitter. >>> The problem may lead to an assert() failure when doing the >>> following: >>> 1) compile some function >>> 2) emit a global variable >>> 3) compile another function. an assert() may trigger in the JIT >>> memory
2013 Apr 14
1
[LLVMdev] [RFC/PATCH][1/4] New SystemZ backend: LLVM code changes
Hello, this set of patches adds SystemZ support to base LLVM. This is split up into three patches just to simplify review; they should be committed as a single change if approved. The first patch adds SystemZ support to the configure logic and support for the systemz Triple. This ought to be straightfoward. The second patch adds changes to LLVM common code required to support the SystemZ ELF
2008 Oct 16
2
[LLVMdev] bug in the JIT global variable emitter
>> Ok, thanks for the explanation. So my first patch doesn't work. >> Also, to be >> clear, this bug has nothing to do with overflowing the JIT memory >> buffer. >> I made another one that takes keeps the allocation of global >> variables in >> the JIT buffer, but it creates a new mem block if it doesn't exist >> (i.e. >> when dumping a
2000 Jun 07
1
forward stepwise selection
Dear R-Help, My problem/bug came to light,when fitting a linear model using stepwise selection. I'd started with the straightfoward command step(lm(y~., dataset)) This worked fine, but because this starts with all the possible explanatory variables, it results in a model with too many explanatory variables. Hence I wanted to start with just a constant and do forward selection, to get a
2006 Mar 08
1
problem installing RNetCDF
Hello all, I set 'UDUNITS_PATH' and 'NETCDF_PATH' successfully to my custom places and then % R CMD INSTALL RNetCDF_1.1-3.tar.gz and got this: ... checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for main in -lnetcdf... yes checking for main in -ludunits...
2008 Nov 06
4
[LLVMdev] Available code-generation parallelism
On Mon, 2008-11-03 at 23:59 -0800, Chris Lattner wrote: > On Nov 3, 2008, at 3:55 PM, heisenbug wrote: > > What about "inventing" pseudo-constants (which point to the right > > thing) and build the piece of IR with them. When done, grab mutex and > > RAUW it in. Alternatively, submit to a privileged thread that performs > > the RAUW. > > The trick is to
1999 Nov 24
1
Need help..
Dear All, I am trying to generate some Pareto random variates using the inverse method. This is really straightfoward and my R function looks as below : pareto <- function(c, a, cnt=1000) { u <- runif(cnt) x <- (c / ((u ^ (1 / a)))) mean.theo <- ((c * a) / (a - 1)) mean.gen <- mean(x) cat('Pareto mean : theoritical', mean.theo, 'generated', mean.gen,
2013 Mar 23
1
Error with custom function in apply: ”Error in FUN(newX[, i], ...) : unused argument(s) (newX[, i])”
Hi everyone, I wonder if I can get your help using a custom function in apply. Imagine the following dataframe called "data": LowLim HighLim A1 A2 A3 A4 4 6 3 4 5 6 4 6 4 5 5 6 2 3 1 4 2 3 2 3 NA NA NA NA We have created a custom function (see below) that takes the values in a given row between columns A1 to A4 to see if they are outside the limits in the same
2018 Feb 08
0
[VLIW Scheduler] Itineraries vs. per operand scheduling
> On Feb 4, 2018, at 9:15 AM, Yatsina, Marina via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi, > > What is the best way to model a scheduler for a VLIW in-order architecture? > I’ve looked at the Hexagon and R600 architectures and they are using itineraries. I wanted to understand the benefit in using itineraries over the per operand scheduling. > > I
2009 Jun 16
3
The most straightfoward way to write a function that sums over the rows of a matrix
Hello! I am trying to write a function with vector and data.frame parameters that uses the sum() function and values from the rows of the data.frame. I need to pass this function as a parameter to optim(). My starting point is: observs <- data.frame(y, x1, x2, x3) Fn <- function(par, observs) { sum( (y - (par[1] * (x1 + 1) * x2^(-par[2]) * x3^par[3])^2 ) }
2017 Mar 01
2
[virtio-dev] packed ring layout proposal - todo list
On Tue, Feb 28, 2017 at 12:29:43PM +0800, Yuanhan Liu wrote: > Hi Michael, > > Again, as usual, sorry for being late :/ > > On Wed, Feb 22, 2017 at 06:27:11AM +0200, Michael S. Tsirkin wrote: > > Stage 2: prototype guest/host drivers > > > > At this stage we need real guest and host drivers > > to be able to test real life performance. > > I suggest
2017 Mar 01
2
[virtio-dev] packed ring layout proposal - todo list
On Tue, Feb 28, 2017 at 12:29:43PM +0800, Yuanhan Liu wrote: > Hi Michael, > > Again, as usual, sorry for being late :/ > > On Wed, Feb 22, 2017 at 06:27:11AM +0200, Michael S. Tsirkin wrote: > > Stage 2: prototype guest/host drivers > > > > At this stage we need real guest and host drivers > > to be able to test real life performance. > > I suggest
2006 Nov 24
2
low-variance warning in lmer
For block effects with small variance, lmer will sometimes estimate the variance as being very close to zero and issue a warning. I don't have a problem with this -- I've explored things a bit with some simulations (see below) and conclude that this is probably inevitable when trying to incorporate random effects with not very much data (the means and medians of estimates are plausibly
2008 Oct 14
2
[LLVMdev] bug in the JIT global variable emitter
>> Today I found a nice bug in the JIT global variable emitter. >> The problem may lead to an assert() failure when doing the following: >> 1) compile some function >> 2) emit a global variable >> 3) compile another function. an assert() may trigger in the JIT memory >> manager >> >> This happens because the JIT global variable emitter is using the
2010 Aug 11
0
R and TK Error "can't find objects"
Dear R People, I?m trying to link R and TK. I?m using R 2.11.1 with Tinn-R 1.17.2.4. For simple examples like the following one it?s working (see the initiation of the variables, the handler and the link to the function which multiply Zahl, Exponent and Factor) : require(tcltk) Ergebnis<-tclVar(c(0,0,0,0,0,0)) Zahl<-tclVar(c(0,0,1,1,1,0)) Exponent<-tclVar(c(1,1,1,1,1,1))