Skip to main content

create_linear_solver

Function create_linear_solver 

Source
pub fn create_linear_solver(
    solver_type: &LinearSolverType,
) -> Box<dyn LinearSolver<SparseMode>>
👎Deprecated since 1.5.0:

no optimizer calls this; construct the desired solver directly

Expand description

Create a sparse linear solver for the given solver type.

Never referenced by the optimizers — each dispatches its own supported solver/mode combinations and rejects the rest. Superseded; scheduled for removal.