[R-SIG-Finance] [R-sig-finance] matrix

Lavan rsumithran at yahoo.com
Tue Mar 25 00:55:32 CET 2008


Hi, I'm new to R and need some help.

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 -5<x<5 and -2<y<2 and I also need to print the output.

I tried  using a for loop,but it is giving me an error.

Thanks
-- 
View this message in context: http://www.nabble.com/matrix-tp16265306p16265306.html
Sent from the Rmetrics mailing list archive at Nabble.com.



More information about the R-SIG-Finance mailing list