pub struct HistogramResult(/* private fields */);Expand description
The scientific values of one histogram occurrence.
The geometry can be supplied directly to another histogram. A supplied geometry has no implicit sample count or inferred observation membership.
Implementations§
Source§impl HistogramResult
impl HistogramResult
Sourcepub fn geometry(&self) -> &HistogramGeometry
pub fn geometry(&self) -> &HistogramGeometry
Actual bin geometry and optional independent KDE and rug.
Sourcepub fn bins(&self) -> &StatResult
pub fn bins(&self) -> &StatResult
Actual statistical fields of the bin domain.
Sourcepub fn bin_stat(&self) -> HistogramStat
pub fn bin_stat(&self) -> HistogramStat
Meaning of the actual bin heights.
Sourcepub fn denominator(&self) -> Option<&ExactInteger>
pub fn denominator(&self) -> Option<&ExactInteger>
Number of observations used by the generated histogram, if known.
Sourcepub fn kde_bandwidth(&self) -> Option<f64>
pub fn kde_bandwidth(&self) -> Option<f64>
Actual Scott bandwidth of the internally computed KDE, if any.
Sourcepub fn domains(&self) -> &[DataDomainInfo]
pub fn domains(&self) -> &[DataDomainInfo]
Actual independent result domains.
Sourcepub fn members(
&self,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>, Error>
pub fn members( &self, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>, Error>
Read the original contribution relation when the result has a unique domain.
Sourcepub fn members_in(
&self,
domain: &DataDomainRef,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>, Error>
pub fn members_in( &self, domain: &DataDomainRef, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>, Error>
Read the original scientific contribution relation in the given domain.
Trait Implementations§
Source§impl Clone for HistogramResult
impl Clone for HistogramResult
Source§fn clone(&self) -> HistogramResult
fn clone(&self) -> HistogramResult
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 Forget for HistogramResult
impl Freeze for HistogramResultwhere
*const ArcInner<HistogramData> is !null: Freeze,
PhantomData<ArcInner<HistogramData>>: Freeze,
impl Move for HistogramResult
impl RefUnwindSafe for HistogramResult
impl Send for HistogramResult
impl Sync for HistogramResult
impl Unpin for HistogramResult
impl UnsafeUnpin for HistogramResultwhere
*const ArcInner<HistogramData> is !null: UnsafeUnpin,
PhantomData<ArcInner<HistogramData>>: UnsafeUnpin,
impl UnwindSafe for HistogramResultwhere
Arc<HistogramData>: UnwindSafe,
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,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§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 moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.