cuqi.model.LinearModel.adjoint#
- LinearModel.adjoint(*args, is_par=True, **kwargs)#
Adjoint of the model.
Adjoint converts the input to function values (if needed) using the range geometry of the model then applies the adjoint operator to the function values and converts the output function values to parameters using the domain geometry of the model.
- Parameters:
*args (ndarrays or cuqi.array.CUQIarray object) – Positional arguments for the adjoint operator ( maximum one argument). The adjoint operator input can be specified as either positional arguments or keyword arguments but not both.
**kwargs (keyword arguments) –
keyword arguments for the adjoint operator (maximum one argument). The adjoint operator input can be specified as either positional arguments or keyword arguments but not both.
If the input is specified as keyword arguments, the keys should match the non_default_args of the model.
- Returns:
The adjoint model output. Always returned as parameters.
- Return type:
ndarray or cuqi.array.CUQIarray