search for: afunction

Displaying 12 results from an estimated 12 matches for "afunction".

Did you mean: function
2012 Nov 29
0
[LLVMdev] noreturn attribute on a call instruction vs noreturn on afunction
You can use CallInst::hasFnAttr(). It checks for attributes in the instruction and in the function decl. http://llvm.org/docs/doxygen/html/Instructions_8cpp_source.html#l00345 Nuno ----- Original Message ----- > Hi, > > Building the following C code I get a call instruction that has no > noreturn > attribute, while the function itself does have it. > > void foo(void **b)
2014 May 28
1
Ellipsis to Two Functions When One Has Nested Functions
Hello If I have a function aFunction <- function(data, alpha, ...) { transform(alpha, ...) rowMeans(data) > alpha } f <- function(data, selection, ...) { selected <- selection(data, ...) plot(data[selected, ], ...) } f(aDataset, aFunction, alpha = 10, pch = 19, transform = sqrt) and selection calls anoth...
2004 Mar 24
7
binding vectors or matrix using their names
...;x","x2") I would like to cbind these two vectors using their names contained in the vector my.names. I can create a string with comma ncomma=paste(my.names,collapse=",") and now, I just need a function to transform this string into a adequate argument for cbind: cbind(afunction(ncomma)) Is there in R a function that can do the job ? If not, how can I do it ?? Thanks in advance, Sincerely. St?phane DRAY -------------------------------------------------------------------------------------------------- D?partement des Sciences Biologiques Universit? de Montr?al, C.P. 6...
2008 May 29
7
How do you exit a function in R?
For example, based on a certain condition, I may want to exit my code early: # Are there the same number of assets in "prices" and "positions"? if (nAssetPositions != nAssetPrices) { cat("Different number of assets! \n\n") <exit function> } I have searched, but not
2012 Oct 03
0
[LLVMdev] [cfe-dev] Does LLVM optimize recursive call?
Hello David Chisnall, John McCall, David Blaikie and other people who may concern > If your teachers are really making this sort of superficial generalization, > they're doing you a disservice. This hit my head. Actually I didn't test the performance of those two, the iteration and the recursion, at all. And in this field of study, testing is very much important, I believe. And
2008 Jun 21
1
passing arguments to a function problem
Dear R-users, is there some way how to pass various colnames to the following code for sorting data.frames? mydf.ordered<-with(mydf, mydf[order(colname1,colname2, colnameX, decreasing = TRUE), ]) I was trying something like Afunction<-function (mydf,colnames,decreasing=T){ mydf.ordered<-with(mydf, mydf[order(colnames, decreasing = decreasing), ]) } but it didnt work please help thank you Jiri Voller [[alternative HTML version deleted]]
2012 Oct 03
2
[LLVMdev] [cfe-dev] Does LLVM optimize recursive call?
On 3 Oct 2012, at 09:48, John McCall wrote: > If your teachers are really making this sort of superficial generalization, > they're doing you a disservice. I completely agree with John here - we had a case a few years ago where someone spent ages refactoring their algorithm to be iterative and was surprised that it became slower (with the MS compiler). Looking at the assembly, it was
2016 Sep 19
3
llvm interpreter does not find function defined by addGlobalMapping
...; builder.CreateRet(temp); // generation of the llvm function calling the c function llvm::FunctionType* ftWrapper = llvm::FunctionType::get(llvm::Type::getDoubleTy(context),noArgTypes, false); auto pWrapperFunction = llvm::Function::Create(ftWrapper, llvm::Function::ExternalLinkage, "AFunction",pModule); pWrapperFunction->getBasicBlockList().push_back(pBlock); // calling the generated llvm function pExecutionEngine->finalizeObject(); pExecutionEngine->runFunction(pWrapperFunction,std::vector<llvm::GenericValue>()); } Thanks for any help, Markus
1999 Aug 14
1
leaps and bounds
Dear friends. On the Bayesian averaging homepage http://www.research.att.com/~volinsky/bma.html I found some S code some of which perhaps may run in R. There was a call to an algorithm possibly within S but not supported by R 64.1: "leaps and bounds". I guess it is a minimization step. Can anyone clarify the algorithm and perhaps even give a pointer to some code ? I guess this may be
2007 May 16
2
Is it possible to pass a Tcl/Tk component as argument to a function
hi! All: I wonder if someone has done this before... I am writing several functions that conduct statistical analysis using a GUI interface by Tcl/Tk, they share many identical GUI components. What I am trying to do now is to simplify the code by writing a GUI repository for all the components they use, thus save effort for code maintenance. Since they all use: mainFrame <-
2007 May 18
1
penalized maximum likelihood estimator
...st p value (Terry Therneau) > 23. effective df in local polinomial regression > (Simone Vantini) > 24. Re: more woes trying to convert a data.frame > to a numerical > matrix (Andrew Yee) > 25. Re: Is it possible to pass a Tcl/Tk component > as argument to > afunction (John Fox) > 26. Re: Is it possible to pass a Tcl/Tk component > as argument to > a function (Duncan Murdoch) > 27. Re: more woes trying to convert a data.frame > to a numerical > matrix (Marc Schwartz) > 28. partial least regression > (=?gb2312?Q?=D5=D4=D3...
2004 Aug 26
6
chan_capi module
...onv.h:72: error: storage class specified for parameter `__gconv_fct'/usr/include/gconv.h:75: error: syntax error before '*' token /usr/include/gconv.h:75: error: storage class specified for parameter `wint_t'/usr/include/gconv.h:75: error: `wint_t' declared as function returning afunction/usr/include/gconv.h:75: error: conflicting types for `wint_t' /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/stddef.h:354: error: previous declaration of `wint_t'/usr/include/gconv.h:78: error: storage class specified for parameter `__gconv_init_fct'/usr/include/gconv.h:79: error: sto...