num_dual.second_partial_derivative

num_dual.second_partial_derivative(f, x, y)

Calculate the second partial derivatives of a scalar, bivariate function.

Parameters

fcallable

A scalar, bivariate function.

xfloat

The value of the first variable.

yfloat

The value of the second variable.

Returns

function value, first partial derivative w.r.t. x, first parital derivative w.r.t. y, and second partial derivative