search for: functio

Displaying 20 results from an estimated 25 matches for "functio".

Did you mean: function
2005 Jul 10
0
package loading smooth.lf (LOCFIT), couldn't find functio n "smooth.lf"
...nto CRAN-conforming form and upload to CRAN. Meanwhile, make sure you're using the package from Prof. Loader's web page, instead of the one on CRAN, if you want the new features. Andy > From: Uwe Ligges > > Y Y wrote: > > > After loading locfit, I am unable to access functions within locfit. > > > > following > > http://www.herine.net/locfit/start.html > > > > > >>library("locfit") > >>x <- 10*runif(100) > >>y <- 5*sin(x)+rnorm(100) > >>fit <- smooth.lf(x,y) > > > > Err...
2016 Mar 24
4
attribute of intrinsic function
Hi, When I define an intrinsic function with memory write permission, my assumption is that we can either attach [IntrReadWriteArgMem] or [] to the intrinsic function. Based on the comment of the source code , "IntrReadWriteArgMem - This intrinsic reads and writes only from memory that one of its arguments points to, but may access...
2005 Sep 16
4
Integrate functions with loops
Hi i am having a problem with the 'integrate' function the function i want to integrate has the form sum(vector^x) i have defined the function with a for loop first - integrandtotest <- function(x) {a<-rep(0,len=2) for (i in 1:2) {a[i]<-t[i]^x} sum(a) } the results gives errors ########### Error in integrate...
2009 Sep 18
1
Incorrect Dimension
...ched in the list but hasn?t helped When i run this script above i get the message "Error in gen[j, i] : incorrect number of dimensions". However gen is 1000x200 (ind x loc) and so is g could anybody help me for (i in 1 : loc) { #loc=200 for (j in 1 : ind) { #ind=1000 g1 <= function ( gen ) matrix ( if (gen[j, i] == 0) al1 [i, 1] + al1 [i, 1] else if (gen [j, i] == 1) al1 [i, 1] + al2 [i, 1] else if (gen [j, i] == 2) al2 [i, 1] + al2 [i, 1] else 999, ncol = loc, nrow = ind) g2 <= function ( gen ) sample (b1, 1, re = T) #b1 is 1x3 and came from a vector 1000X1 (e...
2016 Mar 24
0
attribute of intrinsic function
On 03/24/2016 12:45 PM, Xiangyang Guo via llvm-dev wrote: > Hi, > > When I define an intrinsic function with memory write permission, my > assumption is that we can either attach [IntrReadWriteArgMem] or [] to > the intrinsic function. Based on the comment of the source code , > "IntrReadWriteArgMem - This intrinsic reads and writes only from > memory that one of its arguments p...
2005 Mar 05
2
cant compile app_meetme2
...L/usr/local/lib/mysql $(CFLAGS) -c -o app_meetme2.o app_meetme2.c app_meetme2.so: app_meetme2.o $(CC) $(SOLINK) -o $@ $< -lpq -I/usr/local/include/mysql -L/usr/local/li b/mysql -lmysqlclient # $(CC) $(SOLINK) -o $@ $< -lgdbm app_meetme2.o app_meetme2.c app_meetme2.c: In function `launch_query': app_meetme2.c:138: error: `PGconn' undeclared (first use in this function) app_meetme2.c:138: error: (Each undeclared identifier is reported only once app_meetme2.c:138: error: for each function it appears in.) app_meetme2.c:138: error: `conn' undeclared (first use in t...
2016 Mar 24
0
attribute of intrinsic function
> On Mar 24, 2016, at 12:45 PM, Xiangyang Guo via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi, > > When I define an intrinsic function with memory write permission, my assumption is that we can either attach [IntrReadWriteArgMem] or [] to the intrinsic function. Based on the comment of the source code , "IntrReadWriteArgMem - This intrinsic reads and writes only from memory that one of its arguments points to, but may access...
2007 Oct 08
3
tcltk scrollbar
...;,size=16) lbl.MainT<-tklabel(tt,text="Basic Manipulation",font=mainFont) tkgrid(lbl.MainT,sticky="nw") but.Browse<-tkbutton(tt,text=" Browse ",command=browse) but.Apply<-tkbutton(tt,text=" Apply ") scr1 <- tkscrollbar(tt, repeatinterval=5,command=function(...)tkyview(lsbDim1,...)) scr2 <- tkscrollbar(tt, repeatinterval=5,command=function(...)tkyview(lsbDim2,...)) lsbDim1<-tklistbox(tt,height=10,selectmode="multiple",yscrollcommand=function(...)tkset(scr1,...),background="white",exportselection=FALSE) lsbDim2<-tklistbox(...
2016 Mar 25
1
attribute of intrinsic function
Thanks for your reply, Philip. You are right, when I use LLVM-3.8, the 'argmemonly' shows up. Previously, I use LLVM-3.7. I think idempotent is what I want. Can you tell me how to add idempotent attribute to the function? Thanks. Regards, Xiangyang 2016-03-24 14:30 GMT-07:00 Philip Reames <listmail at philipreames.com>: > > > On 03/24/2016 12:45 PM, Xiangyang Guo via llvm-dev wrote: > > Hi, > > When I define an intrinsic function with memory write permission, my > assumption is th...
2004 Jun 25
4
rgl installation problems
...pp -o glgui.o g++ -L/usr/local/lib -o rgl.so x11lib.o x11gui.o types.o math.o fps.o pixmap.o gui.o api.o device.o devicemanager.o rglview.o scene.o glgui.o -L/usr/X11R6/lib -L/usr/lib -lstdc++ -lX11 -lXext -lGL -lGLU -lpng /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In functio n `_start': ../sysdeps/i386/elf/start.S:77: undefined reference to `main' x11lib.o(.text+0x84): In function `set_R_handler': /tmp/R.INSTALL.8663/rgl/src/x11gui.h:33: undefined reference to `R_InputHandlers ' x11lib.o(.text+0x92):/tmp/R.INSTALL.8663/rgl/src/x11gui.h:33: undefined r...
2007 Jul 27
0
11 commits - libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite_movie_as.c test/trace
...oadcaster-listeners.as @@ -0,0 +1,16 @@ +// makeswf -v 7 -s 200x150 -r 1 -o asbroadcaster-listeners.swf asbroadcaster-listeners.as + +trace ("Check what happens if _listeners is not an array"); + +emitter = new Object (); +AsBroadcaster.initialize (emitter); +o1 = new Object (); +o1.foo = function () { + trace ("o1"); +}; +emitter._listeners = new Object (); +emitter._listeners[10] = o1; +trace (emitter._listeners[10]); +trace (emitter.broadcastMessage ("foo")); + +loadMovie ("FSCommand:quit", ""); diff-tree 00f6b6ce1b01dd2f2eb2a0c1532c2b8f83741a36 (...
2012 Aug 06
4
Overlay Histogram
Dear all, For two sets of random variables, say, x <- rnorm(1000, 10, 10) and y <- rnorm(1000. 3, 20). Is there any way to overlay the histograms (and density curves) of x and y on the plot of y vs. x? The histogram of x is on the x axis and that of y is on the y axis. The density curve here is to approximate the shape of the distribution and does not have to have area 1. Thank you
2016 Mar 19
2
Should we enable -Wrange-loop-analysis? (Was: [llvm] r261524 - Fix some abuse of auto...)
...=diff > ============================================================================== > --- llvm/trunk/lib/Target/PowerPC/PPCBoolRetToInt.cpp (original) > +++ llvm/trunk/lib/Target/PowerPC/PPCBoolRetToInt.cpp Mon Feb 22 07:11:58 2016 > @@ -119,7 +119,7 @@ class PPCBoolRetToInt : public FunctionP > Promotable.insert(P); > > SmallVector<const PHINode *, 8> ToRemove; > - for (const auto &P : Promotable) { > + for (const PHINode *P : Promotable) { > // Condition 2 and 3 > auto IsValidUser = [] (const Value *V) -> bool...
2009 Aug 28
1
[LLVMdev] [Cygwin] 'make install' woes
...ild/llvm-coff/runtime/libprofile' llvm[2]: Compiling BasicBlockTracing.c for Release build (PIC) llvm[2]: Compiling BlockProfiling.c for Release build (PIC) llvm[2]: Compiling CommonProfiling.c for Release build (PIC) llvm[2]: Compiling EdgeProfiling.c for Release build (PIC) llvm[2]: Compiling FunctionProfiling.c for Release build (PIC) PIC seems to be enabled for some strange reason, even with --disable-pic on configure. Then there seems to be a missing library too :- llvm[2]: Linking Release Loadable Module profile_rt.dll /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:...
2013 Feb 17
0
[LLVMdev] [llvm-c] LLVMInitializeNativeTarget not exported in shared library
...or dll, tested with both) and then performing objdump on the resulting library will reveal that LLVMInitializeNativeTarget does not get exported ("objdump -x libLLVM-3.3svn.so | grep LLVMInitializeNativeTarget" will return without any output). As far as I can tell this is because the function is marked as inline at its definition in http://llvm.org/docs/doxygen/html/TargetSelect_8h_source.html#l00116 which afaik (correct me if I'm wrong here) means that for each call to the function its body will be copied to the call location when compiling/linking with other c/c++ code, instea...
2023 Feb 25
0
libnbd | Failed pipeline for master | 3a49373a
...ipeline #788829014 has failed! Project: libnbd ( https://gitlab.com/nbdkit/libnbd ) Branch: master ( https://gitlab.com/nbdkit/libnbd/-/commits/master ) Commit: 3a49373a ( https://gitlab.com/nbdkit/libnbd/-/commit/3a49373a78a611af7497f76b797c78d612f47c84 ) Commit Message: python: Add a contextlib function This functio... Commit Author: Richard W_M_ Jones ( https://gitlab.com/rwmjones ) Pipeline #788829014 ( https://gitlab.com/nbdkit/libnbd/-/pipelines/788829014 ) triggered by Richard W_M_ Jones ( https://gitlab.com/rwmjones ) had 1 failed job. Job #3834126161 ( https://gitlab.com/nbdkit/libnbd/-...
2018 Mar 23
0
Optimization: Replace functions with thread unsafe variants + detection of multithreading
Hello, My idea is to detect a multithreading and perform some transformations and get new possibilities for optimizations: 1. Check pthread_create and follow CallInstr (goal: to know that we are in new thread), identify functions where fork is used and check all other CallIstr (we are in child) + check Windows variants of fork/ thread create.. 2. Check functions if they do not contain any of thread unsafe functions - if yes - mark such function as thread unsafe. Then, we can replace some functions with thread unsafe var...
2004 Aug 24
0
rgl installation problems
...s.o >> >pixmap.o >> >gui.o api.o device.o devicemanager.o rglview.o scene.o glgui.o >> >-L/usr/X11R6/lib >> >-L/usr/lib -lstdc++ -lX11 -lXext -lGL -lGLU -lpng >> >/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In >> >functio >> >n `_start': >> >../sysdeps/i386/elf/start.S:77: undefined reference to `main' >> >x11lib.o(.text+0x84): In function `set_R_handler': >> >/tmp/R.INSTALL.8663/rgl/src/x11gui.h:33: undefined reference to >> >`R_InputHandlers >>...
2005 Aug 27
1
problems getting xen going on FC4
...en I do "make tools" in the -testing directory I get: [...] In file included from xc_atropos.c:9: xc_private.h:19:31: xen/linux/privcmd.h: No such file or directory In file included from xc_atropos.c:9: xc_private.h:66: syntax error before "privcmd_hypercall_t" xc_private.h: In function `do_xen_hypercall'': xc_private.h:68: `xc_handle'' undeclared (first use in this function) xc_private.h:68: (Each undeclared identifier is reported only once xc_private.h:68: for each function it appears in.) xc_private.h:69: `IOCTL_PRIVCMD_HYPERCALL'' undeclared (first use...
2012 Aug 05
2
how to put barchart and line chart in the same plot in ggplot2
dear userR: I am trying to plot two dependent variables in the same plot in ggplot2. because these two variables have very different magnitude, I have to use a second Y axis. I hope one variable to be line and the other to be barchart. The x axis is continuous. Yet since I have to make barchart, I guess I have to treat it as discrete or categorical. I have been google searching for the whole