SimPEG.maps.Weighting.P#

property Weighting.P#

The linear mapping operator

This property returns the sparse matrix \(\mathbf{P}\) that carries out the weighting mapping via matrix-vector product, i.e.:

\[\mathbf{u}(\mathbf{m}) = \mathbf{Pm} \;\;\;\;\; \textrm{where} \;\;\;\;\; \mathbf{P} = diag(\mathbf{w})\]
Returns:
scipy.sparse.csr_matrix

Sparse linear mapping operator