SimPEG.regularization.BaseSparse.deriv2#
- BaseSparse.deriv2(m, v=None) csr_matrix [source]#
Second derivative
- Parameters
m (numpy.ndarray) – geophysical model
v (numpy.ndarray) – vector to multiply
- Return type
- Returns
WtW, or if v is supplied WtW*v (numpy.ndarray)
The regularization is:
So the second derivative is straight forward: