residual_variable_projection
- glotaran.optimization.variable_projection.residual_variable_projection(matrix: ArrayLike, data: ArrayLike) tuple[ArrayLike, ArrayLike] [source]
Calculate conditionally linear parameters and residual with the variable projection method.
- Parameters:
matrix (ArrayLike) – The model matrix.
data (ArrayLike) – The data to analyze.
- Returns:
The clps and the residual.
- Return type:
tuple[ArrayLike, ArrayLike]