simpeg.regularization.CrossGradient.deriv#
- CrossGradient.deriv(model)[source]#
Gradient of the regularization function evaluated for the model provided.
Where
is the discrete regularization function (objective function), this method evaluates and returns the derivative with respect to the model parameters; i.e. the gradient. For a model consisting of two physical properties such that:The gradient has the form:
- Parameters:
- model(
n_param
, )numpy.ndarray
The model; a vector array containing all physical properties.
- model(
- Returns:
- (
n_param
, )numpy.ndarray
Gradient of the regularization function evaluated for the model provided.
- (