Back to Eqiora docs Skip to main content

accept_linear_solution_with_verifier_in

Function accept_linear_solution_with_verifier_in 

pub fn accept_linear_solution_with_verifier_in(
    problem: &LinearProblem<'_>,
    plan: SolverPlan,
    solver_provider: SolverProvider,
    execution_provider: ExecutionProvider,
    execution: ExecutionReport,
    reason: ConvergenceReason,
    completed_iterations: usize,
    reported_residual_norm: f64,
    values: Vec<f64>,
    verifier: &dyn ReplicatedLinearExecution,
    workspace: &mut LinearAcceptanceWorkspace,
) -> Result<LinearSolution, Diagnostic>
Description

Independently verify a backend-produced solution using admitted buffers.

This is the allocation-free execution counterpart of accept_linear_solution_with_verifier. It is intended for transports that must prove all dynamic workspace exists before communication begins.

ยงErrors

Returns the same diagnostics as accept_linear_solution_with_verifier, plus EQ0802 when the supplied workspace has the wrong shape.