Displaying 20 results from an estimated 20000 matches similar to: "AW: Compare rows of two matrices"
2005 Feb 21
5
Compare rows of two matrices
Hello,
#I have two matrices, eg.:
y <- matrix( c(20, NA, NA, 45, 50, 19, 32, 101, 10, 22, NA, NA, 80, 49, 61, 190), ncol=4 )
x <- matrix( c(20, NA, NA, NA, 50, 19, 32, 101, 10, 22, NA, NA, 80, 49, 61, 190), ncol=4 )
#Whereas x contains all NA?s from y plus some additional NA?s.
#I want to find the index of these additional NA?s. I think, there must be a very
2010 Jan 14
1
lattice dotplot with missing levels in factor variable
Hi,
I am trying to create a dotplot where each panel shows levels vs.
responses; the levels are sorted by responses but levels vary from one
panel to another. However, I run into problems with controlling the
y-limits and y-labels.
In particular, suppose I have a data frame
rsp <- c(10,2,4,0,2,3)
lvl <-
2013 Nov 06
0
[LLVMdev] loop vectorizer: Unexpected extract/insertelement
Yes, you need the latest ToT version of llvm or you run
-loop-vectorize -earlycse -instcombine -simplifycfg
The bitcast essentially is a noop to satisfy the type system.
This is how your example looks like for me:
vector.body: ; preds = %vector.body, %vector.ph
%index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
%.lhs = shl i64 %6, 2
2013 Nov 06
0
[LLVMdev] loop vectorizer: Unexpected extract/insertelement
The loop vectorizer relies on cleanup passes to be run after it:
from Transforms/IPO/PassManagerBuilder.cpp:
// Add the various vectorization passes and relevant cleanup passes for
// them since we are no longer in the middle of the main scalar pipeline.
MPM.add(createLoopVectorizePass(DisableUnrollLoops));
MPM.add(createInstructionCombiningPass());
2013 Nov 06
2
[LLVMdev] loop vectorizer: Unexpected extract/insertelement
The instcombine pass cleans up a lot.
Any idea why there are still shufflevector, insertelement, *and* bitcast
(!!) etc. instructions left? The original loop is so clean, a textbook
example I'd say. There is no need to shuffle anything.At least I don't
see it.
Frank
vector.ph: ; preds = %L5
%broadcast.splatinsert1 = insertelement <4 x
2013 Nov 06
2
[LLVMdev] loop vectorizer: Unexpected extract/insertelement
The following IR implements the following nested loop:
for (int i = start ; i < end ; ++i )
for (int p = 0 ; p < 4 ; ++p )
a[i*4+p] = b[i*4+p] + c[i*4+p];
define void @main(i64 %arg0, i64 %arg1, i1 %arg2, i64 %arg3, float*
noalias %arg4, float* noalias %arg5, float* noalias %arg6) {
entrypoint:
br i1 %arg2, label %L0, label %L1
L0:
2000 Mar 31
1
R: one bananna aov() question
Hello world,
I'm trying to do an
anova on data in data.set, dependent variable is a column
named "dep.var", grouping variable is in a column called "indep.var", and
is.factor(indep.var) is TRUE...
why can't I just do aov(dep.var ~ indep.var, data = data.set)?
What have I done to deserve this?! What gives? Am I missing something
totlly obvious?
R-base-1.0.0-1,
2013 Nov 11
0
[LLVMdev] loop vectorizer: JIT + AVX segfaults
I changed the code to use the MCJIT engine. As Josh suspected
it's the same issue: The program runs fine on SSE based machines,
but SEGFAULTs on a CPU with AVX extensions.
I attach the repro case.
Should I file a bug report? P.S. On bugzilla there is the component
'new-bugs'. Should all new bugs be filed there?
Frank
On 11/11/13 08:45, Josh Klontz wrote:
> For what it's
2010 Aug 02
2
[LLVMdev] indirectbr and phi instructions
Hi,
How does the requirement that phi instructions have one value per
predecessor basic block interact with indirectbr instructions? For
instance, take the following code:
L1:
br i1 %somevalue, label %L2, label %L3
L2:
%ret1 = i8* blockaddress(@myfunction, %L5)
br label %L4
L3:
%ret2 = i8* blockaddress(@myfunction, %L6)
br label %L4
L4:
%ret = phi i8* [%ret1, L2], [%ret2, L3]
2016 Oct 12
2
Generate Register Indirect mode instruction
On 10/12/2016 3:15 PM, Alex Bradley wrote:
>
> Yes the result goes into memory. But the *address* of that destination
> memory location also needs to be loaded first into a register.
>
Your architecture has a single instruction for the following operation?
define void @foo(i32 **%a, i32**%b) {
entry:
%l1 = load i32*, i32** %a, align 4
%l2 = load i32, i32* %l1, align 4
%l3 =
2006 Aug 08
1
fixed effects constant in mcmcsamp
I'm fitting a GLMM to some questionnaire data. The structure is J individuals,
nested within I areas, all of whom answer the same K (ordinal) questions. The
model I'm using is based on so-called continuation ratios, so that it can be
fitted using the lme4 package.
The lmer function fits the model just fine, but using mcmcsamp to judge the
variability of the parameter estimates produces
2012 Jun 27
1
Strucchange: Breakpoint slow
Hi to all,
I am trying to run breakpoints() on a fairly large sample (>10.000
observations). The process is very slow, any idea on how to speed this up? I
have tried the hpc="foreach" parameter, but this didn't work at all when I
tried to run it on a smaller sample.
breakpoints(x ~ x.l1 + x.l2 + X.l3 + x.l4 + x.l5 + x.l6 + x.l7 + x.l8 + y.l1
+ y.l2 + y.l3 + y.l4 + y.l5 + y.l6
2013 Nov 10
2
[LLVMdev] loop vectorizer: JIT + AVX segfaults
Is it possible that the AVX support in the JIT engine or x86-64 backend
is not mature? I am getting segfaults when switching from a vector
length 4 to 8 in my application. I isolated the barfing function and it
still segfaults in the minimal setup:
The IR attached implements the following simple function:
void bar(int start, int end, int ignore , bool add , bool addme , float*
out, float* in)
{
2012 Sep 25
2
Strange data frame behavior
Hello all,
I don't understand a strange behavior in data frame manipulation.
data_frame1 = data.frame(Site = c("S1", "S2", "S3", "S4", "L1", "L2",
"L3", "L4"),
Number = c(1, 3, 5, 2, 1, 1, 2, 1))
data_frame2 = data_frame1 [data_frame1$Site != "S1", ]
dput (data_frame2)
structure(list(Site =
2007 Dec 02
1
setting up two asterisk server as ss7 back to back.
I have used asterisk-1.4.14, zaptel-1.4.7, chan_ss7-1.0.0 on FC7 all
went okay. using sangoma a104dx on both machine.
I followed the write up on
http://www.voip-info.org/wiki/index.php?page=Asterisk+ss7+setup
I have the cross over cable between them.
however, wanpipe shows connected but the signaling link does not align.
i have my configs for host A
##wanpipe1.conf
[devices]
wanpipe1 =
2004 Oct 05
0
Asterisk CLI Prompt : Small hack
Just incase anyone is interested, I got tired of not having a newline
command available
with the cli_prompt. So me and a friend made this uber-quick hack to get
it working.
Flames/comments/suggestions:
Matt or Matt
flewid@flewid.ca sideshow@terahertz.net
now you can use %n in your prompts to give a newline. A prompt example
is below.
2008 Apr 06
3
Xen 3.2.1-rc1: ptwr_emulate: could not get_page_from_l1e()
Xen 3.2.1-rc1 64 bit
Dom0: 2.6.16.33 PAE
DomU: 2.6.18.8 (from a pull a few weeks ago)
If you need the symbols, there from the same Xen I linked to in my post
from a few days ago...
(XEN) mm.c:3498:d4 ptwr_emulate: could not get_page_from_l1e()
(XEN) Unhandled page fault in domain 4 on VCPU 0 (ec=0003)
(XEN) Pagetable walk from 00000000c08187f0:
(XEN) L4[0x000] = 00000004dfa38027
2010 Jan 26
1
Bug#567025: xen-hypervisor-3.4-amd64: unhandled page fault while initializing dom0
Package: xen-hypervisor-3.4-amd64
Version: 3.4.2-2
Severity: critical
Justification: breaks the whole system
-- Dump:
(XEN) Xen version 3.4 (Debian 3.4.2-29
(XEN) Command line: com1=115200,8n1 console=com1,vga loglvl=all
guest_loglvl=all noreboot
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
(XEN) VBE/DDC methods: none; EDID transfer time: 1 seconds
(XEN) EDID info not
2010 Jan 26
1
Bug#567026: xen-hypervisor-3.4-amd64: unhandled page fault while initializing dom0
Package: xen-hypervisor-3.4-amd64
Version: 3.4.2-2
Severity: critical
Justification: breaks the whole system
-- Dump:
(XEN) Xen version 3.4 (Debian 3.4.2-29
(XEN) Command line: com1=115200,8n1 console=com1,vga loglvl=all guest_loglvl=all noreboot
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16
2009 May 22
0
miniOS page table allocation
Hi Folks,
I''m sorry to come with a so technical question, but I''m working out a port of XEN on ARM in the context of EmbeddedXEN project.
I digged into miniOS and found something which seems strange to me: the build_pagetable() function in mm.c.
This function aims at building up the additional page tables which were not allocated by the hypervisor during the
domain construction