simpeg.maps.ParametricLayer.deriv#
- ParametricLayer.deriv(m)[source]#
Derivative of the mapping with respect to the input parameters.
Let
be the set of model parameters the defines a layer within a wholespace. The mapping :math:`mathbf{u}(mathbf{m})`from the parameterized model to all active cells is given by:where
is a vectors containing the vertical cell center locations for all active cells in the mesh. The derivative of the mapping with respect to the model parameters is anumpy.ndarray
of shape (nAct, 4) given by:- 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.