pub struct ILU0Preconditioner<F> { /* private fields */ }Expand description
ILU(0) preconditioner (Incomplete LU with zero fill-in).
Computes an approximate factorization A ~ L U where L and U
retain only the sparsity pattern of A.
Implementations§
Source§impl<F: Float + NumAssign + Sum + Debug + SparseElement + 'static> ILU0Preconditioner<F>
impl<F: Float + NumAssign + Sum + Debug + SparseElement + 'static> ILU0Preconditioner<F>
Sourcepub fn new(matrix: &CsrMatrix<F>) -> SparseResult<Self>
pub fn new(matrix: &CsrMatrix<F>) -> SparseResult<Self>
Construct an ILU(0) preconditioner from a CSR matrix.
Trait Implementations§
Source§impl<F: Float + NumAssign + Sum + Debug + SparseElement + 'static> Preconditioner<F> for ILU0Preconditioner<F>
impl<F: Float + NumAssign + Sum + Debug + SparseElement + 'static> Preconditioner<F> for ILU0Preconditioner<F>
Auto Trait Implementations§
impl<F> Freeze for ILU0Preconditioner<F>
impl<F> RefUnwindSafe for ILU0Preconditioner<F>where
F: RefUnwindSafe,
impl<F> Send for ILU0Preconditioner<F>where
F: Send,
impl<F> Sync for ILU0Preconditioner<F>where
F: Sync,
impl<F> Unpin for ILU0Preconditioner<F>where
F: Unpin,
impl<F> UnsafeUnpin for ILU0Preconditioner<F>
impl<F> UnwindSafe for ILU0Preconditioner<F>where
F: 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more