Struct extendr_api::prelude::sparse::linalg::cholesky::BunchKaufmanRegularization
pub struct BunchKaufmanRegularization<'a, E>where
E: ComplexField,{
pub dynamic_regularization_signs: Option<&'a mut [i8]>,
pub dynamic_regularization_delta: <E as ComplexField>::Real,
pub dynamic_regularization_epsilon: <E as ComplexField>::Real,
}
Expand description
Dynamic Bunch-Kaufman regularization.
Values below epsilon
in absolute value, or with the wrong sign are set to delta
with
their corrected sign.
Fields§
§dynamic_regularization_signs: Option<&'a mut [i8]>
Expected signs for the diagonal at each step of the decomposition.
dynamic_regularization_delta: <E as ComplexField>::Real
Regularized value.
dynamic_regularization_epsilon: <E as ComplexField>::Real
Regularization threshold.
Trait Implementations§
§impl<'a, E> Debug for BunchKaufmanRegularization<'a, E>
impl<'a, E> Debug for BunchKaufmanRegularization<'a, E>
§impl<E> Default for BunchKaufmanRegularization<'_, E>where
E: ComplexField,
impl<E> Default for BunchKaufmanRegularization<'_, E>where
E: ComplexField,
§fn default() -> BunchKaufmanRegularization<'_, E>
fn default() -> BunchKaufmanRegularization<'_, E>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a, E> Freeze for BunchKaufmanRegularization<'a, E>
impl<'a, E> RefUnwindSafe for BunchKaufmanRegularization<'a, E>
impl<'a, E> Send for BunchKaufmanRegularization<'a, E>
impl<'a, E> Sync for BunchKaufmanRegularization<'a, E>
impl<'a, E> Unpin for BunchKaufmanRegularization<'a, E>
impl<'a, E> !UnwindSafe for BunchKaufmanRegularization<'a, E>
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