[][src]Struct rv::data::PoissonSuffStat

pub struct PoissonSuffStat { /* fields omitted */ }

Poisson sufficient statistic.

Holds the number of observarions and their sum.

Methods

impl PoissonSuffStat[src]

pub fn new() -> Self[src]

Create a new empty SuffStat

pub fn n(&self) -> usize[src]

Get the number of observations

pub fn sum(&self) -> f64[src]

Get the sum of all observations

pub fn sum_log_fact(&self) -> f64[src]

Trait Implementations

impl SuffStat<u8> for PoissonSuffStat[src]

impl SuffStat<u16> for PoissonSuffStat[src]

impl SuffStat<u32> for PoissonSuffStat[src]

impl<'a> Into<DataOrSuffStat<'a, u8, Poisson>> for &'a PoissonSuffStat[src]

impl<'a> Into<DataOrSuffStat<'a, u16, Poisson>> for &'a PoissonSuffStat[src]

impl<'a> Into<DataOrSuffStat<'a, u32, Poisson>> for &'a PoissonSuffStat[src]

impl Clone for PoissonSuffStat[src]

impl Default for PoissonSuffStat[src]

impl PartialEq<PoissonSuffStat> for PoissonSuffStat[src]

impl PartialOrd<PoissonSuffStat> for PoissonSuffStat[src]

impl Debug for PoissonSuffStat[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,