search for: aggiemail

Displaying 18 results from an estimated 18 matches for "aggiemail".

2010 Oct 14
5
R on a ma c
...of mine indicated that everyone he knows with a Mac has problems with R. What can you tell me about using R with a Mac. What do I need to download? I have downloaded the basic R package. Thanks, -- Tiffany Kinder MS Student Department of Watershed Science Utah State University tiffany.kinder@aggiemail.usu.edu [[alternative HTML version deleted]]
2009 Dec 14
3
[LLVMdev] clang and static functions
...; target triple = "i386-pc-linux-gnu" > > define i32 @use() nounwind { > [...] > } > > define internal i32 @add(i32 %a, i32 %b) nounwind { > [...] > } > > Olivier. > > > On Mon, Dec 14, 2009 at 8:49 PM, Arvind Sudarsanam > <arvind.sudarsanam at aggiemail.usu.edu> wrote: >> >> Hi, >> >> I am trying to compile a single module (dgemm.c) using clang and >> generate dgemm.ll. >> Command: clang -emit-llvm dgemm.c -S -o dgemm.ll >> Some of the functions are declared as static and clang ignores these >> fu...
2009 Dec 14
0
[LLVMdev] clang and static functions
Ah ok. Sorry. :) I think that argument "-femit-all-decls" will help you. Olivier. On Mon, Dec 14, 2009 at 9:18 PM, Arvind Sudarsanam < arvind.sudarsanam at aggiemail.usu.edu> wrote: > Hi, > > Sorry for not being specific. I just wanted to know if there is any > way at all to force clang to generate intermediate code for static > functions when they are not being called anywhere inside the current > module. Other compilers seem to generate...
2010 Jul 15
2
[LLVMdev] Trying to access the user defined variable name
...ething wrong in my approach? I feel that I have not understood the method to access metadata in llvm. Thanks Regards Arvind On Thu, Jul 15, 2010 at 2:07 PM, Devang Patel <devang.patel at gmail.com> wrote: > On Wed, Jul 14, 2010 at 3:03 PM, Arvind Sudarsanam > <arvind.sudarsanam at aggiemail.usu.edu> wrote: >> Dear all, >> >> I have the following source code: >> >> long f(long x, long y) >> { >>        long u; >> >>   u = x+y; >>   return u; >> }; >> >> After clang (with debug option set) and llvm opt usin...
2010 Jul 15
0
[LLVMdev] Trying to access the user defined variable name
On Thu, Jul 15, 2010 at 1:19 PM, Arvind Sudarsanam <arvind.sudarsanam at aggiemail.usu.edu> wrote: > Hi Devang, > > Thanks for your reply. You mentioned > " First parameter is the compiler generated temp. and 3rd parameter > provides info about the variable, including its name 'u'." > > I did manage to get this far. But, I am finding it d...
2009 Dec 14
0
[LLVMdev] clang and static functions
...32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" target triple = "i386-pc-linux-gnu" define i32 @use() nounwind { [...] } define internal i32 @add(i32 %a, i32 %b) nounwind { [...] } Olivier. On Mon, Dec 14, 2009 at 8:49 PM, Arvind Sudarsanam < arvind.sudarsanam at aggiemail.usu.edu> wrote: > Hi, > > I am trying to compile a single module (dgemm.c) using clang and > generate dgemm.ll. > Command: clang -emit-llvm dgemm.c -S -o dgemm.ll > Some of the functions are declared as static and clang ignores these > functions: > > One of the functi...
2009 Nov 21
2
how to ignore NA when using cumsum?
I would like to cumulatively sum rows in a matrix, in which each row has 1 NA value. The usual "na.rm=TRUE" does not seem to work with the command cumsum. Is there another way to ignore the NAs or do I need to figure out a different way to do this? Here's an example matrix of title "proportion": Ntrail Strail NFJD Baldy Onion Crane [1,]
2009 Dec 14
2
[LLVMdev] clang and static functions
Hi, I am trying to compile a single module (dgemm.c) using clang and generate dgemm.ll. Command: clang -emit-llvm dgemm.c -S -o dgemm.ll Some of the functions are declared as static and clang ignores these functions: One of the functions is: static void innerloop(double a, const double* b, double* c, double beta) { *b = a*beta; return; } Is there any way to make clang generate llvm code
2010 Jul 15
0
[LLVMdev] Trying to access the user defined variable name
On Wed, Jul 14, 2010 at 3:03 PM, Arvind Sudarsanam <arvind.sudarsanam at aggiemail.usu.edu> wrote: > Dear all, > > I have the following source code: > > long f(long x, long y) > { >        long u; > >   u = x+y; >   return u; > }; > > After clang (with debug option set) and llvm opt using mem2reg, I get > the following .ll file > **...
2010 Jul 14
2
[LLVMdev] Trying to access the user defined variable name
Dear all, I have the following source code: long f(long x, long y) { long u; u = x+y; return u; }; After clang (with debug option set) and llvm opt using mem2reg, I get the following .ll file *************************************************************************** ; ModuleID = '<stdin>' target datalayout =
2009 Dec 04
2
[LLVMdev] regarding getelementptr
Hi, I have been working towards generating my own IR code from llvm IR. I have hit a stumbling block with respect to "getelementptr" used inside another llvm instruction. Example: %arrayidx = getelementptr inbounds i32* getelementptr inbounds ([10 x i32]* @k, i32 0, i32 0), i32 %tmp2 ; <i32*> [#uses=1] I am unable to get a handle on the second "getelementptr" in this
2009 Dec 04
2
[LLVMdev] regarding getelementptr
Hi, I got the "getelementptr" issue solved...John Criswell helped me...Thanks, Duncan, for your reply. I have another query though. When I try to pass a structure into a function in my C program, if there are less than four scalars in the structure, the clang tool creates llvm code where the structure is passed as sequence of scalars. If there are more than (or equal to) four scalars,
2009 Mar 12
0
e1071 SVM one-classification tune problem
Hello all, I am using the e1071 SVM with the tune options for classification, which work pretty well, given the examples of using tune.svm function for classification. But I have not found any example to tune the SVM novelty detection (one-classification) parameters (gamma, cost, nu), for example this are some of the options I have tried with no success: obj<-tune(svm, x,y, type
2010 Mar 26
0
ColorRamp different from ColorRampPalette
Try the rgb function in the grDevices library. pal.cr<-colorRamp( c("blue", "white", "red"), space = "rgb") plot(rep(0,40),pch=16,col=rgb(pal.cr((0:40)/40),max=255)) Troy -- View this message in context: http://n4.nabble.com/ColorRamp-different-from-ColorRampPalette-tp889372p1692642.html Sent from the R help mailing list archive at Nabble.com.
2011 Jun 16
0
coxph: cumulative mortality hazard over time with associated confidence intervals
Dear R-users, I computed a simple coxph model and plotted survival over time with associated confidence intervals for 2 covariate levels (males and females). M1 <- coxph(survobject~sex, data=surv) M1 survsex <- survfit(survobject~sex,data=surv) summary(survsex) plot(survsex, conf.int=T, col=c("black","red"), lty = c(1,2), lwd=c(1,2), xlab="Time",
2010 Mar 25
4
[LLVMdev] source code information in LLVM IR
Hi, I am generating llvm IR code for C source code using clang as the front end. I am wondering if there is any way of mapping an llvm IR line number back to its C source code line number. Thanks Sincerely Arvind -- Arvind Sudarsanam Utah State University Phone: (435) 512-7769 E-mail: theonemorpheus at gmail.com Web-site: http://cc.usu.edu/~asudarsanam
2009 Nov 21
1
how to ignore NA when using cumsum WHILE retaining NAs?
I would like to cumulatively sum rows in a matrix, in which each row has 1 NA value, which I do NOT want to treat as 0s. The NAs are placeholders where there is actually no data, which is not the same as a 0. The usual "na.rm=TRUE" does not seem to work with the command cumsum. Is there another way to ignore the NAs or do I need to figure out a different way to do this? Here's an
2013 Jul 23
0
Coxme Package Error Message Help
Hello: I am new to R Help so hopefully I will have included enough information to allow for valuable feedback on an error message I am receiving. I am trying to a fit a mixed effects cox model to binary elk telemetry data to look at movement decisions relative to other possibilities (specifically selection or avoidance of risk <- kauf_avg ) in a matched-case-control framework. >