SimPEG.regularization.LinearCorrespondence.relation#

LinearCorrespondence.relation(model)[source]#

Computes the relation vector for the model provided.

For a model consisting of two physical properties such that:

\[\begin{split}\mathbf{m} = \begin{bmatrix} \mathbf{m_1} \\ \mathbf{m_2} \end{bmatrix}\end{split}\]

this method computer the relation vector for coefficients \(\{ \lambda_1 , \lambda_2 , \lambda_3 \}\) as follows:

\[\mathbf{f}(\mathbf{m}) = \lambda_1 \mathbf{m_1} + \lambda_2 \mathbf{m_2} + \lambda_3\]
Parameters:
model(n_param, ) numpy.ndarray

The model for which the relation vector is evaluated.

Returns:
float

The relation vector for the model provided.