pub struct LanczosRitzDecomposition {
pub decomposition: LanczosDecomposition,
pub eigenvalues: Vec<f64>,
pub eigenvectors: Vec<Vec<f64>>,
}Fields§
§decomposition: LanczosDecomposition§eigenvalues: Vec<f64>§eigenvectors: Vec<Vec<f64>>Column-oriented eigenvectors of the real symmetric tridiagonal matrix.
Implementations§
Source§impl LanczosRitzDecomposition
impl LanczosRitzDecomposition
Source§impl LanczosRitzDecomposition
impl LanczosRitzDecomposition
Sourcepub fn project_thermal_observables(
&self,
observables: &[(String, &dyn LinearOperator)],
method: ThermalLanczosMethod,
) -> Result<Vec<ProjectedThermalObservable>>
pub fn project_thermal_observables( &self, observables: &[(String, &dyn LinearOperator)], method: ThermalLanczosMethod, ) -> Result<Vec<ProjectedThermalObservable>>
Apply observables to the stored Krylov basis and return only the projected data required by the selected thermal contraction.
pub fn thermal_observable_iteration( &self, method: ThermalLanczosMethod, observables: &[(String, &dyn LinearOperator)], inverse_temperatures: &[f64], ) -> Result<ThermalObservableIteration>
Trait Implementations§
Source§impl Clone for LanczosRitzDecomposition
impl Clone for LanczosRitzDecomposition
Source§fn clone(&self) -> LanczosRitzDecomposition
fn clone(&self) -> LanczosRitzDecomposition
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 moreAuto Trait Implementations§
impl Freeze for LanczosRitzDecomposition
impl RefUnwindSafe for LanczosRitzDecomposition
impl Send for LanczosRitzDecomposition
impl Sync for LanczosRitzDecomposition
impl Unpin for LanczosRitzDecomposition
impl UnsafeUnpin for LanczosRitzDecomposition
impl UnwindSafe for LanczosRitzDecomposition
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,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.