ベクトルのスカラー関数のヘッセ行列です。Richardson 外挿 (Bates and Watts) により求めます。R の numDeriv::hessian(func, x) と同等です。
numDeriv::hessian(func, x)
hessian((x) => x[0]! ** 2 * x[1]! ** 2, [1, 2]); // [[8, 8], [8, 2]] コピー
hessian((x) => x[0]! ** 2 * x[1]! ** 2, [1, 2]); // [[8, 8], [8, 2]]
ベクトルのスカラー関数のヘッセ行列です。Richardson 外挿 (Bates and Watts) により求めます。R の
numDeriv::hessian(func, x)と同等です。