![]() |
Prev | Next |
H = af.hessian(x, w)
a_fun af
Note that its state is changed by this operation.
The zero order
Taylor coefficients
in
af
correspond to the value of
x
.
The other Taylor coefficients in
af
are unspecified.
af
.
Note that
n
is the size of ax
and
m
is the size of ay
in to the constructor for
af
.
const vec_double& x
and its size must be
n
.
It specifies the argument value at we are computing the Hessian
@(@
g^{(2)}(x)
@)@.
const vec_double& w
and its size must be
m
.
It specifies the vector
w
in the definition of @(@
g(x)
@)@ above.
vec_double H
and its size is
n*n
.
For
i
between zero and
n-1
and
j
between zero and
n-1
,
@[@
H [ i * n + j ] = \frac{ \partial^2 g }{ \partial x_i \partial x_j } (x)
@]@