Function accept_linear_solution_with_execution
pub fn accept_linear_solution_with_execution(
problem: &LinearProblem<'_>,
plan: SolverPlan,
solver_provider: SolverProvider,
reason: ConvergenceReason,
completed_iterations: usize,
reported_residual_norm: f64,
values: Vec<f64>,
execution: &dyn ReplicatedLinearExecution,
) -> Result<LinearSolution, Diagnostic>Description
Independently verify and accept a backend-produced solution through the exact execution that produced it.
ยงErrors
Returns EQ0802 for shape/non-finite execution behavior, inconsistent
termination/iteration evidence, or when the true residual exceeds the
declared target, and EQ0807 for an incompatible reduction policy.