search for: getf

Displaying 5 results from an estimated 5 matches for "getf".

Did you mean: get
2010 Feb 11
3
How to use a string to refer a function?
> f=function(){ print('in f')} > attr(f, 'source') [1] "function(){ print('in f')}" I have the above simple function. I can use the variable f to refer to the function and get the function source. Suppose that I have 'f' as a string (say I get it from ls()), could somebody let me know how to get the function from the name 'f'?
2007 Mar 15
1
Sweave bug using 'FDR' in chunk label (PR#9567)
...n from: (NULL) (143.111.22.24) I'm running R 2.4.0 on a Windows XP machine, with only the default packages loaded. Running Sweave or Stangle on the following Rnw file: -------------- % bug.Rnw \begin{document} Demonstrate an Sweave/Stangle bug. <<info>>= sessionInfo() @ <<getFDR>>= x <- 1 @ <<getFDX>>= y <- 2 @ <<problem>>= <<getFDX>> <<getFDR>> @ \end{document} --------------- produces an error message: > Stangle("bug.Rnw") Writing to file bug.R Warning message: reference to unknown chunk ...
2020 Jan 26
2
[RFC] Replacing inalloca with llvm.call.setup and preallocated
...nsider the case below of inlining try / catch into a call region: ```c++ struct Foo { Foo(int x); Foo(const Foo &o); ~Foo(); int x, y, z; }; void use_callsetup(int, Foo, Foo); int maythrow2(); static inline int maythrow() { try { return maythrow2(); } catch (int) {} return 0; } Foo getf(); int main() { use_callsetup(maythrow(), getf(), getf()); } ``` The backend should be able to detect whether SP must be saved or not by checking if there are any invokes reachable along normal paths from the call setup that do not first reach the call itself, or a normal `llvm.call.teardown`....
2012 Jul 18
6
taylor expansions with real vectors
Dear list, I have a big deal concerning the development of a Taylor expansion. require(Matrix) e1 <- as.vector(1:5) e2 <- as.vector(6:10) in order to obtain all the combinations between these two vectors following a Taylor expansion (or more simply through a Maclaurin series) for real numbers. We have f(x) = f(0) + f'(0)(x-0) + f''(0)(x-0)^2/2! + ? + f^(k)(0)(x-0)^k/k!
2013 Oct 15
23
[PATCH 00/21] Upgrade to Lua 5.2.2, add filesystem module and get_key binding
Hi, This series targets automatic boot menu generation, but most of it is the Lua upgrade, because I got tired reading deprecated API docs. It's mostly a straightforward forward port of the earlier Syslinux specific changes to Lua 5.1, except that: * I chose the add a stub getenv() implementation to the COM32 API instead of #ifdefing out all the references in Lua, and * I kept oslib