extendr_api::prelude::sparse::solvers

Trait SolverCore

pub trait SolverCore<E>: SpSolverCore<E>
where E: Entity,
{ // Required methods fn reconstruct(&self) -> Mat<E>; fn inverse(&self) -> Mat<E>; }
Expand description

Object-safe base for Solver

Required Methods§

fn reconstruct(&self) -> Mat<E>

Reconstructs the original matrix using the decomposition.

fn inverse(&self) -> Mat<E>

Computes the inverse of the original matrix using the decomposition.

§Panics

Panics if the matrix is not square.

Implementors§

§

impl<E> SolverCore<E> for Cholesky<E>
where E: ComplexField,

§

impl<E> SolverCore<E> for ColPivQr<E>
where E: ComplexField,

§

impl<E> SolverCore<E> for FullPivLu<E>
where E: ComplexField,

§

impl<E> SolverCore<E> for Lblt<E>
where E: ComplexField,

§

impl<E> SolverCore<E> for PartialPivLu<E>
where E: ComplexField,

§

impl<E> SolverCore<E> for Qr<E>
where E: ComplexField,

§

impl<E> SolverCore<E> for SelfAdjointEigendecomposition<E>
where E: ComplexField,

§

impl<E> SolverCore<E> for Svd<E>
where E: ComplexField,

§

impl<E> SolverCore<E> for ThinSvd<E>
where E: ComplexField,