pub struct PhysicsResult {
pub fields: Vec<MomentField>,
pub moments: Vec<Vec<f64>>,
pub count: u64,
pub blocks: Vec<MomentBlock>,
}Expand description
Per-disorder moments averaged over measured configurations.
energies is the physical energy per site +H/N, the opposite sign of
super::SweepResult::energies (-H/N).
Fields§
§fields: Vec<MomentField>§moments: Vec<Vec<f64>>§count: u64§blocks: Vec<MomentBlock>Implementations§
Source§impl PhysicsResult
impl PhysicsResult
pub fn values( &self, shape: &[usize], temperatures: &[f64], components: usize, ) -> PhysicsValues
Sourcepub fn aggregate<'a>(
results: impl IntoIterator<Item = &'a Self>,
shape: &[usize],
temperatures: &[f64],
components: usize,
) -> PhysicsValues
pub fn aggregate<'a>( results: impl IntoIterator<Item = &'a Self>, shape: &[usize], temperatures: &[f64], components: usize, ) -> PhysicsValues
Equal disorder weights for raw moments; heat capacities retain thermal centering.
Source§impl PhysicsResult
impl PhysicsResult
Sourcepub fn jackknife_stderr<'a>(
results: impl IntoIterator<Item = &'a Self>,
shape: &[usize],
temperatures: &[f64],
components: usize,
) -> PhysicsValues
pub fn jackknife_stderr<'a>( results: impl IntoIterator<Item = &'a Self>, shape: &[usize], temperatures: &[f64], components: usize, ) -> PhysicsValues
Delete-one-disorder jackknife standard errors of every value of
Self::aggregate. Ratios of disorder averages (Binder parameters,
correlation lengths) have no error bar from the samples’ own ratios; the
jackknife recomputes them with each sample left out. NaN with fewer than two
samples, and wherever a leave-one-out value is undefined.
Trait Implementations§
Source§impl Clone for PhysicsResult
impl Clone for PhysicsResult
Auto Trait Implementations§
impl Forget for PhysicsResult
impl Freeze for PhysicsResult
impl RefUnwindSafe for PhysicsResult
impl Send for PhysicsResult
impl Sync for PhysicsResult
impl Unpin for PhysicsResult
impl UnsafeUnpin for PhysicsResult
impl UnwindSafe for PhysicsResult
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> 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