Previous Up Next

6.21.3 Hessian matrix: hessian

Recall, the Hessian of a function F of n variables x1,…,xn is the matrix of second order derivatives:

⎛
⎜
⎜
⎜
⎜
⎜
⎜
⎜
⎜
⎝
∂2 F
∂ x12
⋯
∂2 F
∂ x1∂ xn
⋮⋮⋮
∂2 F
∂ xn ∂ x1
⋯
∂2 F
∂ xn2
⎞
⎟
⎟
⎟
⎟
⎟
⎟
⎟
⎟
⎠

The hessian command computes the Hessian of a function.


Examples.


Previous Up Next