pub struct StandardEm<const PAR: bool = false> { /* private fields */ }
Expand description
A runner of the standard EM algorithm.
Whether to parallelise over the input in the E-step is controlled by the PAR
parameter.
Implementations§
Trait Implementations§
Source§impl<const PAR: bool> Clone for StandardEm<PAR>
impl<const PAR: bool> Clone for StandardEm<PAR>
Source§fn clone(&self) -> StandardEm<PAR>
fn clone(&self) -> StandardEm<PAR>
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<const PAR: bool> Debug for StandardEm<PAR>
impl<const PAR: bool> Debug for StandardEm<PAR>
Source§impl<const PAR: bool> Default for StandardEm<PAR>
impl<const PAR: bool> Default for StandardEm<PAR>
Source§impl<const D: usize, I> Em<D, I> for StandardEm<false>where
for<'a> &'a I: IntoSiteIterator<D>,
impl<const D: usize, I> Em<D, I> for StandardEm<false>where
for<'a> &'a I: IntoSiteIterator<D>,
Source§impl<const D: usize, I> Em<D, I> for StandardEm<true>where
for<'a> &'a I: IntoParallelSiteIterator<D>,
impl<const D: usize, I> Em<D, I> for StandardEm<true>where
for<'a> &'a I: IntoParallelSiteIterator<D>,
Source§impl<const PAR: bool> EmStep for StandardEm<PAR>
impl<const PAR: bool> EmStep for StandardEm<PAR>
Source§impl<const PAR: bool> PartialEq for StandardEm<PAR>
impl<const PAR: bool> PartialEq for StandardEm<PAR>
Source§impl<const D: usize, R> StreamingEm<D, R> for StandardEm<false>
impl<const D: usize, R> StreamingEm<D, R> for StandardEm<false>
impl<const PAR: bool> Eq for StandardEm<PAR>
impl<const PAR: bool> StructuralPartialEq for StandardEm<PAR>
Auto Trait Implementations§
impl<const PAR: bool> Freeze for StandardEm<PAR>
impl<const PAR: bool> RefUnwindSafe for StandardEm<PAR>
impl<const PAR: bool> Send for StandardEm<PAR>
impl<const PAR: bool> Sync for StandardEm<PAR>
impl<const PAR: bool> Unpin for StandardEm<PAR>
impl<const PAR: bool> UnwindSafe for StandardEm<PAR>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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