pub struct JacobiPreconditioner { /* private fields */ }Expand description
Positive diagonal preconditioner. Reciprocal overflow is rejected at construction.
Implementations§
Source§impl JacobiPreconditioner
impl JacobiPreconditioner
pub fn new(diagonal: &[f64]) -> Result<Self, SolverError>
pub fn from_matrix(a: MatrixView<'_>) -> Result<Self, SolverError>
Trait Implementations§
Source§impl Clone for JacobiPreconditioner
impl Clone for JacobiPreconditioner
Source§fn clone(&self) -> JacobiPreconditioner
fn clone(&self) -> JacobiPreconditioner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JacobiPreconditioner
impl Debug for JacobiPreconditioner
Auto Trait Implementations§
impl Freeze for JacobiPreconditioner
impl RefUnwindSafe for JacobiPreconditioner
impl Send for JacobiPreconditioner
impl Sync for JacobiPreconditioner
impl Unpin for JacobiPreconditioner
impl UnsafeUnpin for JacobiPreconditioner
impl UnwindSafe for JacobiPreconditioner
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