pub struct JacobiPreconditioner<T: Float> { /* private fields */ }Expand description
Jacobi (diagonal) preconditioner for sparse iterative solvers.
Stores the reciprocal of each diagonal element of the matrix. When a diagonal entry is zero, the corresponding inverse is set to one (identity fallback) to avoid division by zero.
Implementations§
Source§impl<T: Float> JacobiPreconditioner<T>
impl<T: Float> JacobiPreconditioner<T>
Trait Implementations§
Source§impl<T: Clone + Float> Clone for JacobiPreconditioner<T>
impl<T: Clone + Float> Clone for JacobiPreconditioner<T>
Source§fn clone(&self) -> JacobiPreconditioner<T>
fn clone(&self) -> JacobiPreconditioner<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for JacobiPreconditioner<T>
impl<T> RefUnwindSafe for JacobiPreconditioner<T>where
T: RefUnwindSafe,
impl<T> Send for JacobiPreconditioner<T>
impl<T> Sync for JacobiPreconditioner<T>
impl<T> Unpin for JacobiPreconditioner<T>where
T: Unpin,
impl<T> UnsafeUnpin for JacobiPreconditioner<T>
impl<T> UnwindSafe for JacobiPreconditioner<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more