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: ParShape) -> StackReq
fn transpose_apply_scratch(&self, _rhs_ncols: usize, _par: ParShape) -> StackReq
computes the workspace layout 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: ParShape,
) -> StackReq
fn transpose_apply_in_place_scratch( &self, _rhs_ncols: usize, _par: ParShape, ) -> StackReq
computes the workspace layout 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
impl Copy for IdentityPrecond
Source§impl Debug for IdentityPrecond
impl Debug for IdentityPrecond
impl Eq 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: ParShape) -> StackReq
fn apply_scratch(&self, _rhs_ncols: usize, _par: ParShape) -> StackReq
computes the workspace layout required to apply
self or the conjugate
o self to a matrix with rhs_ncols columnsSource§impl Ord for IdentityPrecond
impl Ord for IdentityPrecond
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum 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: ParShape) -> StackReq
fn apply_in_place_scratch(&self, _rhs_ncols: usize, _par: ParShape) -> StackReq
computes the workspace layout required to apply
self or the conjugate
of self to a matrix with rhs_ncols columns in placeimpl 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 UnsafeUnpin for IdentityPrecond
impl UnwindSafe for IdentityPrecond
Blanket Implementations§
impl<T> Boilerplate for T
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