simpeg.electromagnetics.frequency_domain.Simulation3DCurrentDensity.Jvec#

Simulation3DCurrentDensity.Jvec(m, v, f=None)[source]#

Compute the sensitivity matrix times a vector.

Where \(\mathbf{d}\) are the data, \(\mathbf{m}\) are the model parameters, and the sensitivity matrix is defined as:

\[\mathbf{J} = \dfrac{\partial \mathbf{d}}{\partial \mathbf{m}}\]

this method computes and returns the matrix-vector product:

\[\mathbf{J v}\]

for a given vector \(v\).

Parameters:
m(n_param,) numpy.ndarray

The model parameters.

v(n_param,) numpy.ndarray

The vector.

ffrequency_domain.fields.FieldsFDEM, optional

Fields solved for all sources.

Returns:
(n_data,) numpy.ndarray

The sensitivity matrix times a vector.