simpeg.regularization.JointTotalVariation.deriv2#
- JointTotalVariation.deriv2(model, v=None)[source]#
Hessian of the regularization function evaluated for the model provided.
Where
is the discrete regularization function (objective function), this method evalutate and returns the second derivative (Hessian) with respect to the model parameters. For a model consisting of multiple physical properties such that:The Hessian has the form:
When a vector
is supplied, the method returns the Hessian times the vector:- Parameters:
- model(
n_param
, )numpy.ndarray
The model; a vector array containing all physical properties.
- v
numpy.ndarray
,optional
An array to multiply the Hessian by.
- model(
- Returns:
numpy.ndarray
orscipy.sparse.csr_matrix
Hessian of the regularization function evaluated for the model provided. The Hessian of joint total variation with respect to the model times a vector or the full Hessian if v is None.