Module newton_rootfinder::residuals
source · [−]Expand description
Definition of residuals
The residuals are splitted between the solver parametrization and the model output:
ResidualsConfig
for the solverResidualsValues
for the model output
In addition to this two base struct, the following one are introduced:
ResidualConfig
to make easier to create theResidualsConfig
from a slice of the ladderJacobianValues
to manipulate the jacobian outputs of a model when it is provided (non applicable for finite-differences)
Structs
Residuals jacobian values outputs of the model
Single residual configuration
Residuals configuration used by the solver
Residuals values outputs of the model
Enums
Normalization method used by the
normalization
function.Not used yet
Functions
Default method to construct a residual with Abs values
Derivation of the normalization method
Compute the residue according to the normalization method