cuqi.model.LinearModel.adjoint#
- LinearModel.adjoint(y, is_par=True)#
Adjoint of the model.
Adjoint converts the input to function values (if needed) using the range geometry of the model. Adjoint converts the output function values to parameters using the range geometry of the model.
- Parameters:
y (ndarray or cuqi.array.CUQIarray) – The adjoint model input.
- Returns:
The adjoint model output. Always returned as parameters.
- Return type:
ndarray or cuqi.array.CUQIarray