Struct rv::data::BernoulliSuffStat [−][src]
Fields
n: usize
k: usize
Methods
impl BernoulliSuffStat
[src]
impl BernoulliSuffStat
Trait Implementations
impl Debug for BernoulliSuffStat
[src]
impl Debug for BernoulliSuffStat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BernoulliSuffStat
[src]
impl Clone for BernoulliSuffStat
fn clone(&self) -> BernoulliSuffStat
[src]
fn clone(&self) -> BernoulliSuffStat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Default for BernoulliSuffStat
[src]
impl Default for BernoulliSuffStat
impl SuffStat<bool> for BernoulliSuffStat
[src]
impl SuffStat<bool> for BernoulliSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &bool)
[src]
fn observe(&mut self, x: &bool)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &bool)
[src]
fn forget(&mut self, x: &bool)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
impl SuffStat<u8> for BernoulliSuffStat
[src]
impl SuffStat<u8> for BernoulliSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &u8)
[src]
fn observe(&mut self, x: &u8)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &u8)
[src]
fn forget(&mut self, x: &u8)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
impl SuffStat<u16> for BernoulliSuffStat
[src]
impl SuffStat<u16> for BernoulliSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &u16)
[src]
fn observe(&mut self, x: &u16)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &u16)
[src]
fn forget(&mut self, x: &u16)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
impl SuffStat<u32> for BernoulliSuffStat
[src]
impl SuffStat<u32> for BernoulliSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &u32)
[src]
fn observe(&mut self, x: &u32)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &u32)
[src]
fn forget(&mut self, x: &u32)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
impl SuffStat<u64> for BernoulliSuffStat
[src]
impl SuffStat<u64> for BernoulliSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &u64)
[src]
fn observe(&mut self, x: &u64)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &u64)
[src]
fn forget(&mut self, x: &u64)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
impl SuffStat<usize> for BernoulliSuffStat
[src]
impl SuffStat<usize> for BernoulliSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &usize)
[src]
fn observe(&mut self, x: &usize)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &usize)
[src]
fn forget(&mut self, x: &usize)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
impl SuffStat<i8> for BernoulliSuffStat
[src]
impl SuffStat<i8> for BernoulliSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &i8)
[src]
fn observe(&mut self, x: &i8)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &i8)
[src]
fn forget(&mut self, x: &i8)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
impl SuffStat<i16> for BernoulliSuffStat
[src]
impl SuffStat<i16> for BernoulliSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &i16)
[src]
fn observe(&mut self, x: &i16)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &i16)
[src]
fn forget(&mut self, x: &i16)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
impl SuffStat<i32> for BernoulliSuffStat
[src]
impl SuffStat<i32> for BernoulliSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &i32)
[src]
fn observe(&mut self, x: &i32)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &i32)
[src]
fn forget(&mut self, x: &i32)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
impl SuffStat<i64> for BernoulliSuffStat
[src]
impl SuffStat<i64> for BernoulliSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &i64)
[src]
fn observe(&mut self, x: &i64)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &i64)
[src]
fn forget(&mut self, x: &i64)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
impl SuffStat<isize> for BernoulliSuffStat
[src]
impl SuffStat<isize> for BernoulliSuffStat
fn n(&self) -> usize
[src]
fn n(&self) -> usize
Returns the number of observations
fn observe(&mut self, x: &isize)
[src]
fn observe(&mut self, x: &isize)
Assimilate the datum x
into the statistic
fn forget(&mut self, x: &isize)
[src]
fn forget(&mut self, x: &isize)
Remove the datum x
from the statistic
fn observe_many(&mut self, xs: &[X])
[src]
fn observe_many(&mut self, xs: &[X])
Assimilate several observations
fn forget_many(&mut self, xs: &[X])
[src]
fn forget_many(&mut self, xs: &[X])
Forget several observations
Auto Trait Implementations
impl Send for BernoulliSuffStat
impl Send for BernoulliSuffStat
impl Sync for BernoulliSuffStat
impl Sync for BernoulliSuffStat