pub struct IdentityPrecond {
pub dim: usize,
}Expand description
identity preconditioner, no-op for most operations
Fields§
§dim: usizedimension of the preconditioner, equal to the dimension of the solution
Trait Implementations§
Source§impl<T: ComplexField> BiLinOp<T> for IdentityPrecond
impl<T: ComplexField> BiLinOp<T> for IdentityPrecond
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 size and alignment required to apply the transpose or adjoint o
self to a matrix with rhs_ncols columnsSource§impl<T: ComplexField> BiPrecond<T> for IdentityPrecond
impl<T: ComplexField> BiPrecond<T> for IdentityPrecond
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 size and alignment required to apply the transpose or adjoint of
self to a matrix with rhs_ncols columns in placeSource§impl Clone for IdentityPrecond
impl Clone for IdentityPrecond
Source§fn clone(&self) -> IdentityPrecond
fn clone(&self) -> IdentityPrecond
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 moreSource§impl Debug for IdentityPrecond
impl Debug for IdentityPrecond
Source§impl<T: ComplexField> LinOp<T> for IdentityPrecond
impl<T: ComplexField> LinOp<T> for IdentityPrecond
Source§fn apply_scratch(&self, _rhs_ncols: usize, _par: Par) -> StackReq
fn apply_scratch(&self, _rhs_ncols: usize, _par: Par) -> StackReq
computes the workspace size and alignment required to apply
self or the conjugate o
self to a matrix with rhs_ncols columnsSource§impl Ord for IdentityPrecond
impl Ord for IdentityPrecond
Source§fn cmp(&self, other: &IdentityPrecond) -> Ordering
fn cmp(&self, other: &IdentityPrecond) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IdentityPrecond
impl PartialEq for IdentityPrecond
Source§impl PartialOrd for IdentityPrecond
impl PartialOrd for IdentityPrecond
Source§impl<T: ComplexField> Precond<T> for IdentityPrecond
impl<T: ComplexField> Precond<T> for IdentityPrecond
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 size and alignment required to apply
self or the conjugate of
self to a matrix with rhs_ncols columns in placeimpl Copy for IdentityPrecond
impl Eq for IdentityPrecond
impl StructuralPartialEq for IdentityPrecond
Auto Trait Implementations§
impl Freeze for IdentityPrecond
impl RefUnwindSafe for IdentityPrecond
impl Send for IdentityPrecond
impl Sync for IdentityPrecond
impl Unpin for IdentityPrecond
impl UnwindSafe for IdentityPrecond
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,
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