simpeg.electromagnetics.natural_source.Simulation1DPrimarySecondary.Jvec#
- Simulation1DPrimarySecondary.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.
- f
frequency_domain.fields.FieldsFDEM
,optional
Fields solved for all sources.
- m(n_param,)
- Returns:
- (n_data,)
numpy.ndarray
The sensitivity matrix times a vector.
- (n_data,)