simpeg.potential_fields.magnetics.Simulation3DIntegral.Jvec#
- Simulation3DIntegral.Jvec(m, v, f=None)[source]#
Dot product between sensitivity matrix and a vector.
- Parameters:
- m(n_param,)
numpy.ndarray The model parameters. This array is used to compute the
Jmatrix.- v(n_param,)
numpy.ndarray Vector used in the matrix-vector multiplication.
- f
Ignored Not used, present here for API consistency by convention.
- m(n_param,)
- Returns:
- (nD,)
numpy.ndarray
- (nD,)
Notes
If
store_sensitivitiesis 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 matrixGis constructed and stored either in memory or disk.