simpeg.maps.SurjectVertical1D.deriv#
- SurjectVertical1D.deriv(m, v=None)[source]#
Derivative of the mapping with respect to the model paramters.
Let \(\mathbf{m}\) be a set of parameter values for the 1D model and let \(\mathbf{P}\) be a projection matrix that maps the 1D model the 2D/3D tensor mesh. The forward mapping \(\mathbf{u}(\mathbf{m})\) is given by:
\[\mathbf{u} = \mathbf{P m},\]the deriv method returns the derivative of \(\mathbf{u}\) with respect to the model parameters; i.e.:
\[\frac{\partial \mathbf{u}}{\partial \mathbf{m}} = \mathbf{P}\]Note that in this case, deriv simply returns the projection matrix.
- Parameters:
- m(
nP
)numpy.ndarray
A vector representing a set of model parameters
- v(
nP
)numpy.ndarray
If not
None
, the method returns the derivative times the vector v
- m(
- Returns:
scipy.sparse.csr_matrix
Derivative of the mapping with respect to the model parameters. If the input argument v is not
None
, the method returns the derivative times the vector v.