pub struct Likelihood(/* private fields */);
Expand description
The likelihood of the data given an SFS.
Implementations§
Source§impl Likelihood
impl Likelihood
Sourcepub fn ln(self) -> LogLikelihood
pub fn ln(self) -> LogLikelihood
Returns the log-likelihood.
Trait Implementations§
Source§impl Clone for Likelihood
impl Clone for Likelihood
Source§fn clone(&self) -> Likelihood
fn clone(&self) -> Likelihood
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Likelihood
impl Debug for Likelihood
Source§impl From<Likelihood> for f64
impl From<Likelihood> for f64
Source§fn from(v: Likelihood) -> Self
fn from(v: Likelihood) -> Self
Converts to this type from the input type.
Source§impl From<f64> for Likelihood
impl From<f64> for Likelihood
Source§impl PartialEq for Likelihood
impl PartialEq for Likelihood
Source§impl PartialOrd for Likelihood
impl PartialOrd for Likelihood
impl Copy for Likelihood
impl StructuralPartialEq for Likelihood
Auto Trait Implementations§
impl Freeze for Likelihood
impl RefUnwindSafe for Likelihood
impl Send for Likelihood
impl Sync for Likelihood
impl Unpin for Likelihood
impl UnwindSafe for Likelihood
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