search for: fxx

Displaying 15 results from an estimated 15 matches for "fxx".

Did you mean: fix
2018 Nov 05
3
Safe fptoui/fptosi casts
...imagine that the Float2Int pass makes assumptions here, but haven't looked too carefully.) Point 2 is also important, because specifying saturation as the default behavior for float-to-int casts is becoming increasingly common. This would need two new intrinsics, such as: iYY llvm.fptoui.sat.fXX.iYY(fXX %a) iYY llvm.fptosi.sat.fXX.iYY(fXX %a) There is some precedent here with the recently introduced llvm.sadd.sat and llvm.uadd.sat intrinsics for saturating integer addition. The wasm backend also has custom llvm.wasm.trunc.saturate intrinsics for this purpose. These intrinsics would also...
2004 Mar 10
5
do.call and environments
...assed to the function. For compatibility reasons I cannot modify the parameter list of fx and I want to avoid setting variables in the global environment (e.g. via <<-) Is there a way, how to do this? Thomas P. The example: fx <- function(y) print(x*y) f <- function(fun, xx) { fxx <- function() {do.call(fun, list(y=3))} x <- x fxx() } f("fx", 13) ## does not work, because fx does not find x
2018 Nov 05
5
Safe fptoui/fptosi casts
...pass makes assumptions here, but haven't looked too carefully.) > > Point 2 is also important, because specifying saturation as the default > behavior for float-to-int casts is becoming increasingly common. This would > need two new intrinsics, such as: > > iYY llvm.fptoui.sat.fXX.iYY(fXX %a) > iYY llvm.fptosi.sat.fXX.iYY(fXX %a) > > There is some precedent here with the recently introduced llvm.sadd.sat > and llvm.uadd.sat intrinsics for saturating integer addition. The wasm > backend also has custom llvm.wasm.trunc.saturate intrinsics for this > purpose....
2011 Feb 02
2
multicore + xeon ?
Is there any reason to expect a problem ? i'm running this script on the cluster down the hall: module load R/2.11.0 R library(multicore) fxx<-function(ll) runif(1) mclapply(1:10,fxx) i get: Error in fork() : Unable to fork. less /proc/cpuinfo yields: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU X5365 @ 3.00GHz stepping : 11 cp...
2017 Mar 19
2
outer not applying a constant function
...ivatives, and if on of these partial derivatives happens to be constant it fails. So e.g this works: library(Deriv) f <- function(x,y) (x-1.5)*(y-1)*(x-1.8)+(y-1.9)^2*(x-1.1)^3 fx <- Deriv(f,"x") fy <- Deriv(f,"y") fxy <- Deriv(Deriv(f,"y"),"x") fxx <- Deriv(Deriv(f,"x"),"x") fyy <- Deriv(Deriv(f,"y"),"y") fg <- outer(xg,yg,f) fxg <- outer(xg,yg,fx) fyg <- outer(xg,yg,fy) fxyg <- outer(xg,yg,fxy) fxxg <- outer(xg,yg,fxx) fyyg <- outer(xg,yg,fyy) And with f <- function(x,...
2004 Mar 11
4
Summary: do.call and environments
To use the modify the solution from Tony and I so that you can pass the name of the function, rather than the function itself, like this: x <- 7 fx <- function(y) print(x*y) f <- function(fun, x) { fun <- get(fun) environment(fun) <- environment() do.call("fun",list(3)) } f("fx",2) --- Date: Thu, 11 Mar 2004 08:22:45 +0100 From:
2017 Mar 20
1
outer not applying a constant function
...g this works: > > > library(Deriv) > > f <- function(x,y) (x-1.5)*(y-1)*(x-1.8)+(y-1.9)^2*(x-1.1)^3 > > fx <- Deriv(f,"x") > > fy <- Deriv(f,"y") > > fxy <- Deriv(Deriv(f,"y"),"x") > > fxx <- Deriv(Deriv(f,"x"),"x") > > fyy <- Deriv(Deriv(f,"y"),"y") > > > fg <- outer(xg,yg,f) > > fxg <- outer(xg,yg,fx) > > fyg <- outer(xg,yg,fy) > > fxyg <- outer(xg,yg,fxy) > &gt...
2007 May 31
4
Context documentation for the newbie!
Skipped content of type multipart/alternative-------------- next part -------------- _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
2017 Mar 20
0
outer not applying a constant function
...constant it fails. > So e.g this works: > library(Deriv) > f <- function(x,y) (x-1.5)*(y-1)*(x-1.8)+(y-1.9)^2*(x-1.1)^3 > fx <- Deriv(f,"x") > fy <- Deriv(f,"y") > fxy <- Deriv(Deriv(f,"y"),"x") > fxx <- Deriv(Deriv(f,"x"),"x") > fyy <- Deriv(Deriv(f,"y"),"y") > fg <- outer(xg,yg,f) > fxg <- outer(xg,yg,fx) > fyg <- outer(xg,yg,fy) > fxyg <- outer(xg,yg,fxy) > fxxg <- outer(xg,yg,fxx)...
2008 Mar 25
3
derivatives in R
Hi, I posted this message earlier in "Rmetrics" and I don't know whether I posted in the wrong place, so I'm posting it again in Rhelp. I have a function in x and y and let's call it f(x,y). I need to get the Hessian matrix. i.e I need (d^2f/dx^2), (d^2f/dxdy), (d^2f/dydx), (d^2f/dy^2).I can get these using the D function. now I need to evaluste the hessian matrix for
2005 Jun 18
6
htb child classes don''t borrow form "parent''s parent class" :(
...004 . . . The script is dynamically generated, periodically called, and should put the users (distinguished through their IP address) according to their traffic usages into lower priorities (axx,bxx,cxx) respecting different bandwidth needs but also respecting minimum rates for different groups (fxx). Now the borrowing among user classes (1:3xxx) is working; but for some reason and I just can''t figure out why, the group classes (fxx) don''t borrow from each other when their is unused bandwidth available. The "ceil 10mbit" just seems to be ignored :( e.g.: class ht...
2004 Dec 02
2
regex to match word boundaries
Can someone verify whether or not this is a bug. When I substitute all occurrence of "\\B" with "X" R seems to correctly place an X at all non-word boundaries (whether or not I specify perl) but "\\b" does not seem to act on all complement positions: > gsub("\\b", "X", "abc def") # nothing done [1] "abc def" >
2011 Jul 08
11
New VirtualBox Beta Has PCI Pass-Through Support
Can you say a Virtualized Asterisk with a PRI card! http://www.phoronix.com/scan.php?page=news_item&px=OTY0OQ Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
2008 May 21
0
Errors in using gdb (PR#11496)
...eOj3iN84nA4opsJxyDMq wq0uFZ0m/VQyz2fCT3pIPpIdVwCDK4x3FWDAf6Itlmf1fkac2EHcxYkDsaFQdeej5areLyK4 UpmaZl+UGCqYh17YAcpvWCgOX4vcZbiZbBvQEdK7vQnWmOjdVZPVKfhEYuC9VfzPbDkz8+5P 0n8mX/dJXWxgR/Y+OwJ/HKGzX0ax3S65gsqWeTidZo+GSy2Dc/4miroDjyy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