Trait rv::traits::HasSuffStat
source · pub trait HasSuffStat<X> {
type Stat: SuffStat<X>;
// Required methods
fn empty_suffstat(&self) -> Self::Stat;
fn ln_f_stat(&self, stat: &Self::Stat) -> f64;
}
Expand description
The data for this distribution can be summarized by a statistic
Required Associated Types§
Required Methods§
fn empty_suffstat(&self) -> Self::Stat
Implementors§
source§impl HasSuffStat<&[f64]> for StickBreaking
impl HasSuffStat<&[f64]> for StickBreaking
Implementation of HasSuffStat
for StickBreaking
with stick lengths as input.