similar to: question on creating a new logical variable

Displaying 20 results from an estimated 2000 matches similar to: "question on creating a new logical variable"

2005 Aug 02
5
question on graphs and finding area under a curve
Question on graphs: The default case for drawing a graph in R, is where a little space is left on the x and y axis before the first tick i.e. even if I say xlim=c(0,1) -- there will be some space between the edge of the x-axis and where 0 is placed. If I want 0 on the edge, how do I do it in R? Area under the curve: I have a 45 degree line and a curve above or below it. Is there a way in R
2017 Dec 30
24
[Bug 104421] New: System freeze on wayland with nouveau on NV137 (GP107)
https://bugs.freedesktop.org/show_bug.cgi?id=104421 Bug ID: 104421 Summary: System freeze on wayland with nouveau on NV137 (GP107) Product: xorg Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee:
2005 Jul 18
1
dataframes of unequal size
I have two dataframes C and C1. Each has three columns viz. state, psu and weight. The dataframes are of unequal size i.e. C1 could be 2/25/50 rows and C has 42000 rows. C1 is the master table i.e. C1$state, C1$psu and C1$weight are never the same. ThisA. P., Urban, 0 is not so for C. For example C state, psu,weight A. P., Urban, 0 Mah., Rural, 0 W.B., Rural,0 Ass., Rural,0 M. P., Urban,0 A. P.,
2005 Oct 30
1
question on adding confidence intervals
I am trying to do a forecasting exercise for a series, x. My forecast model consists of the following I first regress log(x) on time and dummy variables for each month. lm(log(x) ~ time + monthly dummies) I then use predict() to obtain a prediction for the next year. I then fit an AR(6)/AR(12) model on the residuals of the regression. I use predict() here also to obtain the prediction for the
2001 Nov 20
2
rename file1 -> file2: No such file or directory
I'm rsyncing from an linux box to a win2k box with a precompiled version of rsync for win2k. durring the procces he gives me a lotte of the following errors (with different filenames): rename realother/Maildir/cur/.1005882149.8001_0.nyx.wildape,S=3080:2,.001002 -> realother/Maildir/cur/1005882149.8001_0.nyx.wildape,S=3080:2, : No such file or directory I user the command: rsync -cru
2009 Mar 14
3
[LLVMdev] Strange LLVM Crash
Nyx wrote: > The linkage type is set to external, I have little code snippet I use to > register those native functions in the first post of this topic. The global > DCE pass deletes the unused native functions when run. I commented it out > for now... Can you make this happen by writing a custom .ll to demonstrate the problem? For example: $ cat gdce.ll define i32 @foo() {
2009 Mar 10
2
[LLVMdev] C++ Exception Handling Problem
Duncan Sands wrote: > > Hi Nyx, > >> I'm in the process of creating a JIT and I've run into a problem with >> exception handling. The situation I'm in is that my program will JIT >> functions, which will call native C++ functions (part of the run-time >> support). These native functions can throw exceptions. However, I don't >> actually want
2009 Mar 15
0
[LLVMdev] Strange LLVM Crash
I don't know how to do that. Rather new to LLVM. The functions that get stripped out are native C++ functions that I'm registering in my execution engine by doing: // Create a function type object for the function llvm::FunctionType* pFuncType = llvm::FunctionType::get(returnType, argTypes, false); // Create a function object with external linkage and the specified
2009 Mar 15
2
[LLVMdev] Strange LLVM Crash
On Mar 14, 2009, at 5:47 PM, Nyx wrote: > By the way, is there any way to have the pass managers run its > passes on a > single function, instead of a whole module? Yes, and this is what I'd suggest since it's quite a bit faster. Basically you'd use a function pass manager there are some passes which are function only and then get pointer to function as normal. -eric
2009 Jun 18
0
[LLVMdev] Explicitly Freeing Allocas
In the TargetData class (available from you ExecutionEngine), you have some informations available (such as StructLayout...). On Thu, Jun 18, 2009 at 5:08 PM, Nyx <mcheva at cs.mcgill.ca> wrote: > > That sounds rather cumbersome, is there no simpler way to get the actual > size > of a struct? > > > John Criswell wrote: > > > > Nyx wrote: > >>
2009 Mar 14
2
[LLVMdev] Strange LLVM Crash
Nyx wrote: > Ok, well, I seem to have pinpointed the cause of the problem more accurately. > I'm running some optimization passes on my module after I compile each > function in my scripting language (functions can be compiled at various > times, when scripts are loaded). Now it seems these optimization passes will > prune some of the native C++ functions I'm registering in
2009 Mar 16
2
[LLVMdev] Strange LLVM Crash
On Mar 15, 2009, at 7:55 AM, Nyx wrote: > > Is there a webpage documenting these function passes? Here's some: http://llvm.org/docs/WritingAnLLVMPass.html#FunctionPass You can also look in llvm/lib/Transforms/Scalar for runOnFunction () > Which ones should I run > to maximize performance? There's no right way to determine this. It depends on what you need/ want from your
2009 Mar 30
1
[LLVMdev] JIT Optimization Levels?
I was simply surprised because some C++ code I implemented/translated into LLVM IR ran significantly slower in the JIT than the C++ version. The code in question was mean to implement the "plus" operator in my scripting language, and had different behaviors depending on the type of the objects being added. I expected it to run faster as I was eliminating a call to a C++ function by
2013 Jan 29
6
[Bug 60020] New: Resuming Dell Precision M70 crashes
https://bugs.freedesktop.org/show_bug.cgi?id=60020 Priority: medium Bug ID: 60020 Assignee: nouveau at lists.freedesktop.org Summary: Resuming Dell Precision M70 crashes QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: Linux (All) Reporter: rcbixler at nyx.net
2009 Jun 18
1
[LLVMdev] Explicitly Freeing Allocas
I went ahead and implemented the allocation based on the maximum size of all structs seen so far... The problem is, the TargetData object from ExecutionEngine gives me a size of 12 for a struct containing a pointer and an i64 (on a 32-bit machine). However, the generated code seems to assume an alignment of 8, and tries to read the i64 value at offset 8, which obviously reads an invalid value.
2009 Mar 14
0
[LLVMdev] Strange LLVM Crash
The linkage type is set to external, I have little code snippet I use to register those native functions in the first post of this topic. The global DCE pass deletes the unused native functions when run. I commented it out for now... Nick Lewycky wrote: > > Nyx wrote: >> Ok, well, I seem to have pinpointed the cause of the problem more >> accurately. >> I'm running
2009 Jun 18
2
[LLVMdev] Explicitly Freeing Allocas
That sounds rather cumbersome, is there no simpler way to get the actual size of a struct? John Criswell wrote: > > Nyx wrote: >> Hello, >> >> I would just like to ask if it's possible to explicitly free allocas. >> This >> is because I need to call functions that take structs of different sizes >> as >> input, (possibly inside of loops) and I
2009 Mar 14
0
[LLVMdev] Strange LLVM Crash
Hi Nyx, > I'm implementing a JIT and getting some strange crashes. I'm unsure exactly > what's causing them, but it seems to occur when I call the getReturnType() > method on some LLVM function objects. More precisely, I'm registering some > native C++ functions as LLVM functions through the addGlobalMapping method > of an execution engine object. I then keep a
2009 Mar 15
0
[LLVMdev] Strange LLVM Crash
Is there a webpage documenting these function passes? Which ones should I run to maximize performance? Also, do the machine function passes automatically run (I'm assuming those optimize the final x86 code). Eric Christopher-2 wrote: > > > On Mar 14, 2009, at 5:47 PM, Nyx wrote: > >> By the way, is there any way to have the pass managers run its >> passes on a
2009 Mar 17
0
[LLVMdev] Printing x86 ASM for Function
Dear Maxime, Nyx wrote: > Hello, > > I would like to know how to go about printing the x86 assembly output for a > compiled function (I'm using the JIT). I saw there is a X86IntelAsmPrinter > on doxygen. However, it takes several arguments I don't know how to fill in. > Is there a helper function to create such a pass? Once I have the pass > created, do I just add it