I want to calculate the diagonal of 2nd derivative of a function (likelihood function for example), but I didn’t find any corresponding documents supporting that?
Can anyone give me an example?
I really appreciate that.
Thanks a lot.