![]() |
Prev | Next |
H = f.hessian(x, w)
f
correspond to the value of
x
.
The other Taylor coefficients in
f
are unspecified.
f
.
Note that
n
is the size of ax
and
m
is the size of ay
in to the constructor for
f
.
f
is a d_fun
or a_fun
,
x
is a numpy vector with float
(a_double
) elements
and size
n
.
It specifies the argument value at we are computing the Hessian
@(@
g^{(2)}(x)
@)@.
f
is a d_fun
or a_fun
,
w
is a numpy vector with float
(a_double
) elements
and size
m
.
It specifies the vector
w
in the definition of @(@
g(x)
@)@ above.
float
(a_double
) elements,
n
rows and n
columns.
For
i
between zero and
n-1
and
j
between zero and
n-1
,
@[@
H [ i, j ] = \frac{ \partial^2 g }{ \partial x_i \partial x_j } (x)
@]@