#[non_exhaustive]pub enum LocalEigensolverParams {
Lanczos(LanczosParams),
}Expand description
Runtime-selectable local eigensolver for the 2-site DMRG step.
Lanczos is the default; Arpack requires the arpack Cargo
feature.
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.
Lanczos(LanczosParams)
In-tree Lanczos with full reorthogonalization
(crate::krylov::lanczos_smallest).
Trait Implementations§
Source§impl Clone for LocalEigensolverParams
impl Clone for LocalEigensolverParams
Source§fn clone(&self) -> LocalEigensolverParams
fn clone(&self) -> LocalEigensolverParams
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 moreSource§impl Debug for LocalEigensolverParams
impl Debug for LocalEigensolverParams
Source§impl Default for LocalEigensolverParams
impl Default for LocalEigensolverParams
Source§impl From<LanczosParams> for LocalEigensolverParams
impl From<LanczosParams> for LocalEigensolverParams
Source§fn from(p: LanczosParams) -> Self
fn from(p: LanczosParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LocalEigensolverParams
impl RefUnwindSafe for LocalEigensolverParams
impl Send for LocalEigensolverParams
impl Sync for LocalEigensolverParams
impl Unpin for LocalEigensolverParams
impl UnsafeUnpin for LocalEigensolverParams
impl UnwindSafe for LocalEigensolverParams
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§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