num_dual.third_derivative

num_dual.third_derivative(f, x)

Calculate the third derivative of a scalar, univariate function.

Parameters

fcallable

A scalar, univariate function.

xfloat

The value at which the derivative is evaluated.

Returns

function value, first derivative, second derivative, and third derivative