SimPEG.regularization.JointTotalVariation.deriv2#

JointTotalVariation.deriv2(model, v=None)[source]#

Computes the Hessian of the joint total variation.

Parameters
modelnumpy.ndarray

Stacked array of individual models

vnumpy.ndarray, optional

An array to multiply the Hessian by.

Returns
numpy.ndarray or scipy.sparse.csr_matrix

The Hessian of joint total variation with respect to the model times a vector or the full Hessian if v is None.