simpeg.maps.SurjectFull.deriv#

SurjectFull.deriv(m, v=None)[source]#

Derivative of the mapping with respect to the input parameters.

Let m be the single parameter that the mapping acts on. The SurjectFull class constructs a mapping that can be defined as a projection matrix P; i.e.:

u=Pm,

the deriv method returns the derivative of u with respect to the model parameters; i.e.:

um=P

Note that in this case, deriv simply returns the original operator P; a (mesh.nC , 1) numpy.ndarray of 1s.

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