search for: fyyg

Displaying 3 results from an estimated 3 matches for "fyyg".

Did you mean: fyy
2017 Mar 19
2
outer not applying a constant function
...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,y) x+y it stops working. Of course I can manually fix this for that special case, but thats not my point. I simply thought "outer" should be able to handle constant functions. Best regards Albrecht [[alternative HTML version del...
2017 Mar 20
1
outer not applying a constant function
...quot;) > > 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,y) x+y > > > it stops working. Of course I can manually fix this for that special case, but thats not my point. I simply thought "outer" should be able to handle constant functions. >...
2017 Mar 20
0
outer not applying a constant function
...- 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,y) x+y > it stops working. Of course I can manually fix this for that special case, but thats not my point. I simply thought "outer" should be able to handle constant functions. ?outer clearly states that F...