pub struct JacobiPreconditioner { /* private fields */ }Expand description
Block-Jacobi Schur preconditioner for BA’s inexact reduced-system PCG.
When ArrowSchurSystem::block_offsets is populated (via
ArrowSchurSystem::set_block_offsets) and the largest block has ≤ 256
columns, builds one small dense Schur block per term, factors it with
Cholesky (faer LLT), and applies the preconditioner as per-block
triangular solves. Non-PD blocks fall back to scalar diagonal inversion
for that block only. When block_offsets is empty or the largest block
exceeds 256 columns the preconditioner reduces to pure scalar-diagonal
Jacobi (pre-#283 behaviour), so callers that have not called
set_block_offsets are unaffected.
The block_offsets plumbing is compatible with issue #287 (custom
ParameterBlockSpec families): those callers supply ranges derived from
their own block layout.
Trait Implementations§
Source§impl Clone for JacobiPreconditioner
impl Clone for JacobiPreconditioner
Source§fn clone(&self) -> JacobiPreconditioner
fn clone(&self) -> JacobiPreconditioner
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto 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§
impl<T> Allocation 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.