Struct extendr_api::prelude::sparse::linalg::cholesky::LdltRegularization
pub struct LdltRegularization<'a, E>where
E: ComplexField,{
pub dynamic_regularization_signs: Option<&'a [i8]>,
pub dynamic_regularization_delta: <E as ComplexField>::Real,
pub dynamic_regularization_epsilon: <E as ComplexField>::Real,
}
Expand description
Dynamic LDLT 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 [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> Clone for LdltRegularization<'a, E>
impl<'a, E> Clone for LdltRegularization<'a, E>
§fn clone(&self) -> LdltRegularization<'a, E>
fn clone(&self) -> LdltRegularization<'a, E>
Returns a copy 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 more§impl<'a, E> Debug for LdltRegularization<'a, E>
impl<'a, E> Debug for LdltRegularization<'a, E>
§impl<E> Default for LdltRegularization<'_, E>where
E: ComplexField,
impl<E> Default for LdltRegularization<'_, E>where
E: ComplexField,
§fn default() -> LdltRegularization<'_, E>
fn default() -> LdltRegularization<'_, E>
Returns the “default value” for a type. Read more
impl<'a, E> Copy for LdltRegularization<'a, E>
Auto Trait Implementations§
impl<'a, E> Freeze for LdltRegularization<'a, E>
impl<'a, E> RefUnwindSafe for LdltRegularization<'a, E>
impl<'a, E> Send for LdltRegularization<'a, E>
impl<'a, E> Sync for LdltRegularization<'a, E>
impl<'a, E> Unpin for LdltRegularization<'a, E>
impl<'a, E> UnwindSafe for LdltRegularization<'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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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