simpeg.potential_fields.magnetics.Simulation3DIntegral.Jtvec#

Simulation3DIntegral.Jtvec(m, v, f=None)[source]#

Dot product between transposed sensitivity matrix and a vector.

Parameters:
m(n_param,) numpy.ndarray

The model parameters. This array is used to compute the J matrix.

v(nD,) numpy.ndarray

Vector used in the matrix-vector multiplication.

fIgnored

Not used, present here for API consistency by convention.

Returns:
(nD,) numpy.ndarray

Notes

If store_sensitivities is set to "forward_only", then the matrix G is never fully constructed, and the dot product is computed by accumulation, computing the matrix elements on the fly. Otherwise, the full matrix G is constructed and stored either in memory or disk.