sfepy.linalg.check_derivatives module
Utilities for checking derivatives of functions.
-
sfepy.linalg.check_derivatives.
check_fx
(x0, fx, fx_args, dfx, dfx_args=None, delta=1e-05)[source]
Check derivatives of a (vectorized) scalar function of a scalar variable.
-
sfepy.linalg.check_derivatives.
check_vfvx
(x0, fx, fx_args, dfx, dfx_args=None, delta=1e-05)[source]
Check derivatives of a (vectorized) vector or scalar function of a vector
variable.