#[non_exhaustive]pub enum UpdateType {
RankOneUpdate,
RankOneDowndate,
LowRankUpdate,
}Expand description
Classification of Cholesky modification types.
Describes the kind of rank-structured perturbation applied to the original matrix A = L L^T.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RankOneUpdate
Rank-1 update: A’ = A + α u u^T (α > 0).
RankOneDowndate
Rank-1 downdate: A’ = A − α u u^T (α > 0).
LowRankUpdate
Low-rank update: A’ = A + W D W^T where D is diagonal.
Trait Implementations§
Source§impl Clone for UpdateType
impl Clone for UpdateType
Source§fn clone(&self) -> UpdateType
fn clone(&self) -> UpdateType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UpdateType
Source§impl Debug for UpdateType
impl Debug for UpdateType
Source§impl Display for UpdateType
impl Display for UpdateType
impl Eq for UpdateType
Source§impl Hash for UpdateType
impl Hash for UpdateType
Source§impl PartialEq for UpdateType
impl PartialEq for UpdateType
Source§fn eq(&self, other: &UpdateType) -> bool
fn eq(&self, other: &UpdateType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateType
Auto Trait Implementations§
impl Freeze for UpdateType
impl RefUnwindSafe for UpdateType
impl Send for UpdateType
impl Sync for UpdateType
impl Unpin for UpdateType
impl UnsafeUnpin for UpdateType
impl UnwindSafe for UpdateType
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
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> 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