Skip to content

num::auto_linear_solver

Defined in header <linear/solvers/auto_linear.hpp>

class auto_linear_solver;

Reusable real factorization that selects a dense or sparse backend by size.

Members

member description
explicit auto_linear_solver(const spmat &matrix, auto_linear_options options = {}) Factor a square CSR matrix using the configured backend threshold.
auto_linear_solver(auto_linear_solver &&) noexcept
auto_linear_solver &operator=(auto_linear_solver &&) noexcept
idx size() const noexcept Return the order of the factored matrix, or zero after a move.