pub struct SolvePrecond<S> { /* private fields */ }Expand description
Adapter exposing a faer factorisation S as a preconditioner.
See the module documentation for the intended use. S is any
factorisation implementing SolveCore (Llt, Ldlt, Lu, Qr, …).
Implementations§
Source§impl<S> SolvePrecond<S>
impl<S> SolvePrecond<S>
Trait Implementations§
Source§impl<T, S> BiLinOp<T> for SolvePrecond<S>
impl<T, S> BiLinOp<T> for SolvePrecond<S>
Source§fn transpose_apply_scratch(&self, _rhs_ncols: usize, _par: Par) -> StackReq
fn transpose_apply_scratch(&self, _rhs_ncols: usize, _par: Par) -> StackReq
computes the workspace layout required to apply the transpose or adjoint
o
self to a matrix with rhs_ncols columnsSource§impl<T, S> BiPrecond<T> for SolvePrecond<S>
impl<T, S> BiPrecond<T> for SolvePrecond<S>
Source§fn transpose_apply_in_place_scratch(
&self,
_rhs_ncols: usize,
_par: Par,
) -> StackReq
fn transpose_apply_in_place_scratch( &self, _rhs_ncols: usize, _par: Par, ) -> StackReq
computes the workspace layout required to apply the transpose or adjoint
of
self to a matrix with rhs_ncols columns in placeSource§impl<S: Clone> Clone for SolvePrecond<S>
impl<S: Clone> Clone for SolvePrecond<S>
Source§fn clone(&self) -> SolvePrecond<S>
fn clone(&self) -> SolvePrecond<S>
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<S: Debug> Debug for SolvePrecond<S>
impl<S: Debug> Debug for SolvePrecond<S>
Source§impl<T, S> LinOp<T> for SolvePrecond<S>
impl<T, S> LinOp<T> for SolvePrecond<S>
Source§fn apply_scratch(&self, _rhs_ncols: usize, _par: Par) -> StackReq
fn apply_scratch(&self, _rhs_ncols: usize, _par: Par) -> StackReq
computes the workspace layout required to apply
self or the conjugate
o self to a matrix with rhs_ncols columnsSource§impl<T, S> Precond<T> for SolvePrecond<S>
impl<T, S> Precond<T> for SolvePrecond<S>
Source§fn apply_in_place_scratch(&self, _rhs_ncols: usize, _par: Par) -> StackReq
fn apply_in_place_scratch(&self, _rhs_ncols: usize, _par: Par) -> StackReq
computes the workspace layout required to apply
self or the conjugate
of self to a matrix with rhs_ncols columns in placeAuto Trait Implementations§
impl<S> Freeze for SolvePrecond<S>where
S: Freeze,
impl<S> RefUnwindSafe for SolvePrecond<S>where
S: RefUnwindSafe,
impl<S> Send for SolvePrecond<S>where
S: Send,
impl<S> Sync for SolvePrecond<S>where
S: Sync,
impl<S> Unpin for SolvePrecond<S>where
S: Unpin,
impl<S> UnsafeUnpin for SolvePrecond<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for SolvePrecond<S>where
S: 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
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