pub struct Anderson {
pub sites: Vec<Site>,
pub energies: Vec<f64>,
}Expand description
Anderson disorder: uniform on-site energies in [−w/2, w/2) times the identity.
Fields§
§sites: Vec<Site>Disordered sites.
energies: Vec<f64>On-site energy of each site, in the order of sites (times the identity in Self::onsite).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Anderson
Auto Trait Implementations§
impl Freeze for Anderson
impl RefUnwindSafe for Anderson
impl Send for Anderson
impl Sync for Anderson
impl Unpin for Anderson
impl UnsafeUnpin for Anderson
impl UnwindSafe for Anderson
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<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